From 874c68b4235eb459d94af9622f28bad91028b3c9 Mon Sep 17 00:00:00 2001 From: corvid Date: Thu, 22 Jan 2015 08:51:02 +0000 Subject: INPUT placeholder attribute --- test/dw_ui_test.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/dw_ui_test.cc b/test/dw_ui_test.cc index 086a4976..b70349ca 100644 --- a/test/dw_ui_test.cc +++ b/test/dw_ui_test.cc @@ -81,10 +81,11 @@ int main(int argc, char **argv) // First of all, the resources. Later, they are embedded into the // widget tree. EntryResource *entryres1 = - layout->getResourceFactory()->createEntryResource (10, false, NULL); + layout->getResourceFactory()->createEntryResource (10, false, NULL,NULL); entryres1->setText ("Hi!"); EntryResource *entryres2 = - layout->getResourceFactory()->createEntryResource (10, true, NULL); + layout->getResourceFactory()->createEntryResource (10, true, NULL, + "password field!"); MultiLineTextResource *textres = layout->getResourceFactory()->createMultiLineTextResource (15,3); RadioButtonResource *radiores1 = -- cgit v1.2.3