[Illumination-commit] SF.net SVN: illumination:[4120] trunk/Demos/src/PropertiesDialog.cpp
Status: Beta
Brought to you by:
tteuling
|
From: <tte...@us...> - 2011-03-01 14:31:20
|
Revision: 4120
http://illumination.svn.sourceforge.net/illumination/?rev=4120&view=rev
Author: tteuling
Date: 2011-03-01 14:31:14 +0000 (Tue, 01 Mar 2011)
Log Message:
-----------
Updated Properties example to current illumination code.
Modified Paths:
--------------
trunk/Demos/src/PropertiesDialog.cpp
Modified: trunk/Demos/src/PropertiesDialog.cpp
===================================================================
--- trunk/Demos/src/PropertiesDialog.cpp 2011-03-01 14:30:40 UTC (rev 4119)
+++ trunk/Demos/src/PropertiesDialog.cpp 2011-03-01 14:31:14 UTC (rev 4120)
@@ -47,9 +47,9 @@
props->Boolean(Lum::Def::Boolean(Lum::Def::Desc(L"Boolean"),boolean));
props->Number(Lum::Def::Number(Lum::Def::Desc(L"Int"), numberRange));
props->Number(Lum::Def::Number(Lum::Def::Desc(L"size_t"), number));
- props->Interval(Lum::Def::Desc(L"Int interval"),
- Lum::Def::Number(Lum::Def::Desc(L"start"),intervalStart),
- Lum::Def::Number(Lum::Def::Desc(L"end"),intervalEnd));
+ props->Interval(Lum::Def::Interval(Lum::Def::Desc(L"Int interval"),
+ intervalStart,
+ intervalEnd));
props=props->End();
props=props->Group(L"Group 2");
props->OneOfN(Lum::Def::OneOfN(Lum::Def::Desc(L"OneOfN"), oneOfN)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|