diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2011-10-06 20:40:43 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2011-10-06 20:40:43 +0200 |
commit | f4bffc0a8a3c3b02359d41b7357267e4c883de17 (patch) | |
tree | b4035b07795a02302b7e141d43e34025dcd425a6 /dw/types.hh | |
parent | 5ba40db6e4f45bb735fd4fc028b13439cba02d33 (diff) |
rework line breaking and fix white-space:nowrap handling
Diffstat (limited to 'dw/types.hh')
-rw-r--r-- | dw/types.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dw/types.hh b/dw/types.hh index a8c244c7..eac834ff 100644 --- a/dw/types.hh +++ b/dw/types.hh @@ -194,11 +194,16 @@ struct Content REAL_CONTENT = 0xff ^ (START | END), SELECTION_CONTENT = TEXT | WIDGET | BREAK }; + enum BreakType { + BREAK_NO, + BREAK_OK + }; /* Content is embedded in struct Word therefore we * try to be space efficient. */ short type; bool space; + unsigned char breakType; union { const char *text; Widget *widget; |