summaryrefslogtreecommitdiffstats
path: root/Source/FLTKDialog
diff options
context:
space:
mode:
authorLuis Ibanez <luis.ibanez@kitware.com>2001-06-10 22:23:54 (GMT)
committerLuis Ibanez <luis.ibanez@kitware.com>2001-06-10 22:23:54 (GMT)
commit63083cf01cdd4d32cfbbea6974127f5c04cc0f09 (patch)
tree75e169638136b5462b275d23a17b59bda74bc6b4 /Source/FLTKDialog
parent5d6817622e43e22c12f08c83a54422b53f7b567e (diff)
downloadCMake-63083cf01cdd4d32cfbbea6974127f5c04cc0f09.zip
CMake-63083cf01cdd4d32cfbbea6974127f5c04cc0f09.tar.gz
CMake-63083cf01cdd4d32cfbbea6974127f5c04cc0f09.tar.bz2
Class to manage every row in the GUI scrolling, corresponding to a
single property
Diffstat (limited to 'Source/FLTKDialog')
-rw-r--r--Source/FLTKDialog/FLTKPropertyItemRow.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/Source/FLTKDialog/FLTKPropertyItemRow.h b/Source/FLTKDialog/FLTKPropertyItemRow.h
new file mode 100644
index 0000000..09a1692
--- /dev/null
+++ b/Source/FLTKDialog/FLTKPropertyItemRow.h
@@ -0,0 +1,30 @@
+#include "FLTKPropertyList.h"
+
+#include <Fl/Fl_Widget.H>
+#include <Fl/Fl_Input.H>
+
+namespace fltk {
+
+class PropertyItemRow
+{
+ struct ItemValue
+ {
+ PropertyItem * m_PropertyItem;
+ Fl_Input * m_InputText;
+ };
+
+ public:
+ PropertyItemRow( PropertyItem * );
+ ~PropertyItemRow();
+ private:
+ PropertyItem * m_PropertyItem;
+ ItemValue * m_ItemValue;
+
+ static void CheckButtonCallback( Fl_Widget *, void *);
+ static void NameClickCallback( Fl_Widget *, void *);
+ static void InputTextCallback( Fl_Widget *, void *);
+ static void BrowsePathCallback( Fl_Widget *, void *);
+};
+
+
+} // end namespace fltk