diff options
Diffstat (limited to 'src/cr-style.h')
-rw-r--r-- | src/cr-style.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/cr-style.h b/src/cr-style.h index c265310..c36cad9 100644 --- a/src/cr-style.h +++ b/src/cr-style.h @@ -101,6 +101,20 @@ struct _CRBoxOffset CRNum num ; } ; +enum CRWidthType +{ + WIDTH_DEFINED, + WIDTH_AUTO +} ; + +typedef struct _CRWidth CRWidth ; +struct _CRWidth +{ + enum CRWidthType type ; + CRNum num ; +} ; + + #define BORDER_THIN 2 #define BORDER_MEDIUM 4 #define BORDER_THICK 6 @@ -160,7 +174,7 @@ struct _CRStyle /**the float property*/ enum CRFloatType float_type ; - CRNum width ; + CRWidth width ; CRStyle *parent_style ; } ; |