diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/dw_anchors_test.cc | 2 | ||||
-rw-r--r-- | test/dw_border_test.cc | 4 | ||||
-rw-r--r-- | test/dw_example.cc | 2 | ||||
-rw-r--r-- | test/dw_find_test.cc | 4 | ||||
-rw-r--r-- | test/dw_images_scaled.cc | 2 | ||||
-rw-r--r-- | test/dw_images_scaled2.cc | 2 | ||||
-rw-r--r-- | test/dw_images_simple.cc | 2 | ||||
-rw-r--r-- | test/dw_links.cc | 2 | ||||
-rw-r--r-- | test/dw_links2.cc | 2 | ||||
-rw-r--r-- | test/dw_lists.cc | 4 | ||||
-rw-r--r-- | test/dw_resource_test.cc | 2 | ||||
-rw-r--r-- | test/dw_table.cc | 2 | ||||
-rw-r--r-- | test/dw_table_aligned.cc | 2 | ||||
-rw-r--r-- | test/dw_ui_test.cc | 14 |
14 files changed, 23 insertions, 23 deletions
diff --git a/test/dw_anchors_test.cc b/test/dw_anchors_test.cc index cb839f40..74a2be86 100644 --- a/test/dw_anchors_test.cc +++ b/test/dw_anchors_test.cc @@ -55,7 +55,7 @@ static void anchorCallback (Fl_Widget *widget, void *data) static void textTimeout (void *data) { Textblock *oldTop = topTextblock; - topTextblock = new Textblock (false); + topTextblock = new Textblock (false, 100); if (oldTop) { oldTop->addLinebreak (wordStyle); diff --git a/test/dw_border_test.cc b/test/dw_border_test.cc index 988abc33..f523750b 100644 --- a/test/dw_border_test.cc +++ b/test/dw_border_test.cc @@ -76,7 +76,7 @@ int main(int argc, char **argv) Style *widgetStyle2 = Style::create (layout, &styleAttrs); - Textblock *textblock1 = new Textblock (false); + Textblock *textblock1 = new Textblock (false, 100); textblock1->setStyle (widgetStyle1); layout->setWidget (textblock1); @@ -101,7 +101,7 @@ int main(int argc, char **argv) for(int i = 0; i < 1; i++) { textblock1->addParbreak(0, wordStyle); - Textblock *textblock2 = new Textblock (false); + Textblock *textblock2 = new Textblock (false, 100); textblock1->addWidget (textblock2, widgetStyle2); for(int j = 0; words2[j]; j++) { diff --git a/test/dw_example.cc b/test/dw_example.cc index 52aa2440..7879dfd8 100644 --- a/test/dw_example.cc +++ b/test/dw_example.cc @@ -62,7 +62,7 @@ int main(int argc, char **argv) dw::core::style::Style *widgetStyle = dw::core::style::Style::create (layout, &styleAttrs); - dw::Textblock *textblock = new dw::Textblock (false); + dw::Textblock *textblock = new dw::Textblock (false, 100); textblock->setStyle (widgetStyle); layout->setWidget (textblock); diff --git a/test/dw_find_test.cc b/test/dw_find_test.cc index e5c79fd3..27817664 100644 --- a/test/dw_find_test.cc +++ b/test/dw_find_test.cc @@ -117,7 +117,7 @@ int main(int argc, char **argv) styleAttrs.margin.left = 0; Style *wordStyle = Style::create (layout, &styleAttrs); - Textblock *textblock = new Textblock (false); + Textblock *textblock = new Textblock (false, 100); textblock->setStyle (topWidgetStyle); layout->setWidget (textblock); @@ -128,7 +128,7 @@ int main(int argc, char **argv) for(int j = 0; j < 10; j++) { Textblock *current; if(j < 5) { - current = new Textblock (false); + current = new Textblock (false, 100); stack->getTop()->addWidget (current, widgetStyle); stack->push (current); } else { diff --git a/test/dw_images_scaled.cc b/test/dw_images_scaled.cc index 2f8896e6..415a727d 100644 --- a/test/dw_images_scaled.cc +++ b/test/dw_images_scaled.cc @@ -122,7 +122,7 @@ int main(int argc, char **argv) Style *widgetStyle = Style::create (layout, &styleAttrs); - Textblock *textblock = new Textblock (false); + Textblock *textblock = new Textblock (false, 100); textblock->setStyle (widgetStyle); layout->setWidget (textblock); diff --git a/test/dw_images_scaled2.cc b/test/dw_images_scaled2.cc index 2adb1770..211d997d 100644 --- a/test/dw_images_scaled2.cc +++ b/test/dw_images_scaled2.cc @@ -97,7 +97,7 @@ int main(int argc, char **argv) Style *widgetStyle = Style::create (layout, &styleAttrs); - Textblock *textblock = new Textblock (false); + Textblock *textblock = new Textblock (false, 100); textblock->setStyle (widgetStyle); layout->setWidget (textblock); diff --git a/test/dw_images_simple.cc b/test/dw_images_simple.cc index 8f00f847..33e370a6 100644 --- a/test/dw_images_simple.cc +++ b/test/dw_images_simple.cc @@ -121,7 +121,7 @@ int main(int argc, char **argv) Style *widgetStyle = Style::create (layout, &styleAttrs); - Textblock *textblock = new Textblock (false); + Textblock *textblock = new Textblock (false, 100); textblock->setStyle (widgetStyle); layout->setWidget (textblock); diff --git a/test/dw_links.cc b/test/dw_links.cc index 5622cbd5..633fa73b 100644 --- a/test/dw_links.cc +++ b/test/dw_links.cc @@ -101,7 +101,7 @@ int main(int argc, char **argv) Style *widgetStyle = Style::create (layout, &styleAttrs); - Textblock *textblock = new Textblock (false); + Textblock *textblock = new Textblock (false, 100); textblock->setStyle (widgetStyle); layout->setWidget (textblock); diff --git a/test/dw_links2.cc b/test/dw_links2.cc index b8e8c55b..2ec10d0d 100644 --- a/test/dw_links2.cc +++ b/test/dw_links2.cc @@ -130,7 +130,7 @@ int main(int argc, char **argv) Style *widgetStyle = Style::create (layout, &styleAttrs); - Textblock *textblock = new Textblock (false); + Textblock *textblock = new Textblock (false, 100); textblock->setStyle (widgetStyle); layout->setWidget (textblock); diff --git a/test/dw_lists.cc b/test/dw_lists.cc index 12fa1627..64b66828 100644 --- a/test/dw_lists.cc +++ b/test/dw_lists.cc @@ -63,7 +63,7 @@ int main(int argc, char **argv) Style *widgetStyle = Style::create (layout, &styleAttrs); - Textblock *textblock = new Textblock (false); + Textblock *textblock = new Textblock (false, 100); textblock->setStyle (widgetStyle); layout->setWidget (textblock); @@ -103,7 +103,7 @@ int main(int argc, char **argv) ListItem *refItem = NULL; for(int i = 1; i <= 100; i++) { - ListItem *listItem = new ListItem (refItem, false); + ListItem *listItem = new ListItem (refItem, false, 100); refItem = listItem; textblock->addWidget (listItem, itemStyle); diff --git a/test/dw_resource_test.cc b/test/dw_resource_test.cc index a2a26c62..0b817dcb 100644 --- a/test/dw_resource_test.cc +++ b/test/dw_resource_test.cc @@ -64,7 +64,7 @@ int main(int argc, char **argv) Style *widgetStyle = Style::create (layout, &styleAttrs); - Textblock *textblock = new Textblock (false); + Textblock *textblock = new Textblock (false, 100); textblock->setStyle (widgetStyle); layout->setWidget (textblock); diff --git a/test/dw_table.cc b/test/dw_table.cc index 75842e60..ef1572a6 100644 --- a/test/dw_table.cc +++ b/test/dw_table.cc @@ -92,7 +92,7 @@ int main(int argc, char **argv) table->addRow (wordStyle); for (int j = 0; j < 4; j++) { - Textblock *cell = new Textblock (false); + Textblock *cell = new Textblock (false, 100); cell->setStyle (cellStyle); table->addCell (cell, 1, 1); diff --git a/test/dw_table_aligned.cc b/test/dw_table_aligned.cc index 022e7026..927c397e 100644 --- a/test/dw_table_aligned.cc +++ b/test/dw_table_aligned.cc @@ -90,7 +90,7 @@ int main(int argc, char **argv) TableCell *ref = NULL; for(int i = 0; i < 10; i++) { //for(int i = 0; i < 1; i++) { - TableCell *cell = new TableCell (ref, false); + TableCell *cell = new TableCell (ref, false, 100); cell->setStyle (cellStyle); ref = cell; table->addRow (wordStyle); diff --git a/test/dw_ui_test.cc b/test/dw_ui_test.cc index 60893f06..ee024acc 100644 --- a/test/dw_ui_test.cc +++ b/test/dw_ui_test.cc @@ -104,7 +104,7 @@ int main(int argc, char **argv) // Note on complex buttons: before any operations on the widget, which // need a layout, the complex button resource should be created, since // then, a layout and a platform are instantiated. - Textblock *cbuttontext = new Textblock(false); + Textblock *cbuttontext = new Textblock(false, 100); ComplexButtonResource *cbuttonres = layout->getResourceFactory()->createComplexButtonResource (cbuttontext, true); @@ -131,7 +131,7 @@ int main(int argc, char **argv) // Create the widgets. table->addRow (cellStyle); - Textblock *label1 = new Textblock(false); + Textblock *label1 = new Textblock(false, 100); label1->setStyle (cellStyle); table->addCell (label1, 1, 1); label1->addText ("val1 = ", cellStyle); @@ -143,7 +143,7 @@ int main(int argc, char **argv) table->addRow (cellStyle); - Textblock *label2 = new Textblock(false); + Textblock *label2 = new Textblock(false, 100); label2->setStyle (cellStyle); table->addCell (label2, 1, 1); label2->addText ("val2 = ", cellStyle); @@ -155,7 +155,7 @@ int main(int argc, char **argv) table->addRow (cellStyle); - Textblock *label = new Textblock(false); + Textblock *label = new Textblock(false, 100); label->setStyle (cellStyle); table->addCell (label, 1, 1); label->addText ("text = ", cellStyle); @@ -168,7 +168,7 @@ int main(int argc, char **argv) table->addRow (cellStyle); - Textblock *radiolabel1 = new Textblock(false); + Textblock *radiolabel1 = new Textblock(false, 100); radiolabel1->setStyle (cellStyle); table->addCell (radiolabel1, 2, 1); Embed *radio1 = new Embed (radiores1); @@ -177,7 +177,7 @@ int main(int argc, char **argv) radiolabel1->flush (); table->addRow (cellStyle); - Textblock *radiolabel2 = new Textblock(false); + Textblock *radiolabel2 = new Textblock(false, 100); radiolabel2->setStyle (cellStyle); table->addCell (radiolabel2, 2, 1); Embed *radio2 = new Embed (radiores2); @@ -186,7 +186,7 @@ int main(int argc, char **argv) radiolabel2->flush (); table->addRow (cellStyle); - Textblock *checklabel = new Textblock(false); + Textblock *checklabel = new Textblock(false, 100); checklabel->setStyle (cellStyle); table->addCell (checklabel, 2, 1); Embed *check = new Embed (checkres); |