diff options
author | corvid <devnull@localhost> | 2014-08-10 00:00:47 +0000 |
---|---|---|
committer | corvid <devnull@localhost> | 2014-08-10 00:00:47 +0000 |
commit | c43632b2a5b26a96b84e7d7cd8c5f8ecffe4aa32 (patch) | |
tree | b5f1fce42eebbb7f574970f397719aaac8b5f027 /test/dw_float_test.cc | |
parent | 80e8bbb92e7425f4fec454348e0823039a07fac0 (diff) |
trim spaces
...now that floats and grows are in the repo and I won't be making
Sebastian's life difficult with a bunch of whitespace changes.
Diffstat (limited to 'test/dw_float_test.cc')
-rw-r--r-- | test/dw_float_test.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/dw_float_test.cc b/test/dw_float_test.cc index 57d53340..807002b2 100644 --- a/test/dw_float_test.cc +++ b/test/dw_float_test.cc @@ -26,7 +26,7 @@ static void addTextToFloatTimeout (void *data) firstFloat->addText(fWords[k], wordStyle); firstFloat->addSpace(wordStyle); } - + firstFloat->flush(); Fl::repeat_timeout (2, addTextToFloatTimeout, NULL); @@ -66,7 +66,7 @@ int main(int argc, char **argv) styleAttrs.width = createAbsLength(100); styleAttrs.vloat = FLOAT_LEFT; Style *leftFloatStyle = Style::create (&styleAttrs); - + styleAttrs.width = createAbsLength(80); styleAttrs.vloat = FLOAT_RIGHT; Style *rightFloatStyle = Style::create (&styleAttrs); @@ -98,14 +98,14 @@ int main(int argc, char **argv) for(int j = 0; words[j]; j++) { textblock->addText(words[j], wordStyle); textblock->addSpace(wordStyle); - + if ((i == 3 || i == 5) && j == 8) { textblock->addText("[float]", wordStyle); textblock->addSpace(wordStyle); - + Textblock *vloat = new Textblock (false); textblock->addWidget(vloat, i == 3 ? leftFloatStyle : rightFloatStyle); - + const char *fWords[] = { "This", "is", "a", "float,", "which", "is", "set", "aside", "from", "the", "main", "text.", NULL }; @@ -117,9 +117,9 @@ int main(int argc, char **argv) vloat->addText(fWords[k], wordStyle); vloat->addSpace(wordStyle); } - + vloat->flush (); - + if(i == 3) firstFloat = vloat; } |