aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/dw_anchors_test.cc2
-rw-r--r--test/dw_border_test.cc4
-rw-r--r--test/dw_example.cc2
-rw-r--r--test/dw_find_test.cc4
-rw-r--r--test/dw_images_scaled.cc2
-rw-r--r--test/dw_images_scaled2.cc2
-rw-r--r--test/dw_images_simple.cc2
-rw-r--r--test/dw_links.cc2
-rw-r--r--test/dw_links2.cc2
-rw-r--r--test/dw_lists.cc4
-rw-r--r--test/dw_resource_test.cc2
-rw-r--r--test/dw_table.cc2
-rw-r--r--test/dw_table_aligned.cc2
-rw-r--r--test/dw_ui_test.cc14
14 files changed, 23 insertions, 23 deletions
diff --git a/test/dw_anchors_test.cc b/test/dw_anchors_test.cc
index 74a2be86..cb839f40 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, 100);
+ topTextblock = new Textblock (false);
if (oldTop) {
oldTop->addLinebreak (wordStyle);
diff --git a/test/dw_border_test.cc b/test/dw_border_test.cc
index f523750b..988abc33 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, 100);
+ Textblock *textblock1 = new Textblock (false);
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, 100);
+ Textblock *textblock2 = new Textblock (false);
textblock1->addWidget (textblock2, widgetStyle2);
for(int j = 0; words2[j]; j++) {
diff --git a/test/dw_example.cc b/test/dw_example.cc
index 7879dfd8..52aa2440 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, 100);
+ dw::Textblock *textblock = new dw::Textblock (false);
textblock->setStyle (widgetStyle);
layout->setWidget (textblock);
diff --git a/test/dw_find_test.cc b/test/dw_find_test.cc
index 27817664..e5c79fd3 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, 100);
+ Textblock *textblock = new Textblock (false);
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, 100);
+ current = new Textblock (false);
stack->getTop()->addWidget (current, widgetStyle);
stack->push (current);
} else {
diff --git a/test/dw_images_scaled.cc b/test/dw_images_scaled.cc
index 415a727d..2f8896e6 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, 100);
+ Textblock *textblock = new Textblock (false);
textblock->setStyle (widgetStyle);
layout->setWidget (textblock);
diff --git a/test/dw_images_scaled2.cc b/test/dw_images_scaled2.cc
index 211d997d..2adb1770 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, 100);
+ Textblock *textblock = new Textblock (false);
textblock->setStyle (widgetStyle);
layout->setWidget (textblock);
diff --git a/test/dw_images_simple.cc b/test/dw_images_simple.cc
index 33e370a6..8f00f847 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, 100);
+ Textblock *textblock = new Textblock (false);
textblock->setStyle (widgetStyle);
layout->setWidget (textblock);
diff --git a/test/dw_links.cc b/test/dw_links.cc
index 633fa73b..5622cbd5 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, 100);
+ Textblock *textblock = new Textblock (false);
textblock->setStyle (widgetStyle);
layout->setWidget (textblock);
diff --git a/test/dw_links2.cc b/test/dw_links2.cc
index 2ec10d0d..b8e8c55b 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, 100);
+ Textblock *textblock = new Textblock (false);
textblock->setStyle (widgetStyle);
layout->setWidget (textblock);
diff --git a/test/dw_lists.cc b/test/dw_lists.cc
index 64b66828..12fa1627 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, 100);
+ Textblock *textblock = new Textblock (false);
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, 100);
+ ListItem *listItem = new ListItem (refItem, false);
refItem = listItem;
textblock->addWidget (listItem, itemStyle);
diff --git a/test/dw_resource_test.cc b/test/dw_resource_test.cc
index 0b817dcb..a2a26c62 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, 100);
+ Textblock *textblock = new Textblock (false);
textblock->setStyle (widgetStyle);
layout->setWidget (textblock);
diff --git a/test/dw_table.cc b/test/dw_table.cc
index ef1572a6..75842e60 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, 100);
+ Textblock *cell = new Textblock (false);
cell->setStyle (cellStyle);
table->addCell (cell, 1, 1);
diff --git a/test/dw_table_aligned.cc b/test/dw_table_aligned.cc
index 927c397e..022e7026 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, 100);
+ TableCell *cell = new TableCell (ref, false);
cell->setStyle (cellStyle);
ref = cell;
table->addRow (wordStyle);
diff --git a/test/dw_ui_test.cc b/test/dw_ui_test.cc
index ee024acc..60893f06 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, 100);
+ Textblock *cbuttontext = new Textblock(false);
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, 100);
+ Textblock *label1 = new Textblock(false);
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, 100);
+ Textblock *label2 = new Textblock(false);
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, 100);
+ Textblock *label = new Textblock(false);
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, 100);
+ Textblock *radiolabel1 = new Textblock(false);
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, 100);
+ Textblock *radiolabel2 = new Textblock(false);
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, 100);
+ Textblock *checklabel = new Textblock(false);
checklabel->setStyle (cellStyle);
table->addCell (checklabel, 2, 1);
Embed *check = new Embed (checkres);