diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-08-01 21:59:33 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2011-08-01 21:59:33 +0200 |
commit | 394b051daacb63c661dba0a8c57ec04ad1ae73cf (patch) | |
tree | 091c0c160a0d0f38dac3b99082ea7024ba24a921 /src/stylesheet.h | |
parent | 962b028162a652fc829046061e3a9295d30e74af (diff) |
Finish plumbing
Diffstat (limited to 'src/stylesheet.h')
-rw-r--r-- | src/stylesheet.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/stylesheet.h b/src/stylesheet.h index 8886283..b2640a7 100644 --- a/src/stylesheet.h +++ b/src/stylesheet.h @@ -39,17 +39,17 @@ struct text_style enum justify { - J_LEFT, - J_CENTER, - J_RIGHT, + J_LEFT = 0, + J_CENTER = 1, + J_RIGHT = 2, }; enum vert_pos { - V_TOP, - V_CENTER, - V_BOTTOM, + V_TOP = 0, + V_CENTER = 1, + V_BOTTOM = 2, }; @@ -62,6 +62,8 @@ struct layout_element double margin_right; double margin_top; double margin_bottom; + double max_width; + int use_max_width; enum justify halign; enum vert_pos valign; |