diff options
author | corvid <devnull@localhost> | 2015-01-22 08:51:02 +0000 |
---|---|---|
committer | corvid <devnull@localhost> | 2015-01-22 08:51:02 +0000 |
commit | 874c68b4235eb459d94af9622f28bad91028b3c9 (patch) | |
tree | 7210183ab468b0a7a881b1a6fab4edbecbf6501f /test | |
parent | 9ff7e6783ebe9122a8d15b2891936223bc7f2b87 (diff) |
INPUT placeholder attribute
Diffstat (limited to 'test')
-rw-r--r-- | test/dw_ui_test.cc | 5 |
1 files changed, 3 insertions, 2 deletions
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 = |