aboutsummaryrefslogtreecommitdiff
path: root/dw/style.hh
diff options
context:
space:
mode:
Diffstat (limited to 'dw/style.hh')
-rw-r--r--dw/style.hh17
1 files changed, 16 insertions, 1 deletions
diff --git a/dw/style.hh b/dw/style.hh
index 492efd30..a96a3471 100644
--- a/dw/style.hh
+++ b/dw/style.hh
@@ -256,7 +256,6 @@ enum DisplayType {
DISPLAY_LAST
};
-
enum ListStyleType {
LIST_STYLE_TYPE_DISC,
LIST_STYLE_TYPE_CIRCLE,
@@ -301,6 +300,19 @@ enum WhiteSpace {
WHITE_SPACE_NOWRAP
};
+enum FloatType {
+ FLOAT_LEFT,
+ FLOAT_RIGHT,
+ FLOAT_NONE
+};
+
+enum ClearType {
+ CLEAR_LEFT,
+ CLEAR_RIGHT,
+ CLEAR_BOTH,
+ CLEAR_NONE
+};
+
/**
* \brief Type for representing all lengths within dw::core::style.
*
@@ -417,6 +429,9 @@ public:
TextAlignType textAlign;
VAlignType valign;
char textAlignChar; /* In future, strings will be supported. */
+
+ FloatType vloat; /* "float" is a keyword. */
+ ClearType clear;
int hBorderSpacing, vBorderSpacing;
Length width, height;