From 63083cf01cdd4d32cfbbea6974127f5c04cc0f09 Mon Sep 17 00:00:00 2001 From: Luis Ibanez Date: Sun, 10 Jun 2001 18:23:54 -0400 Subject: [PATCH] Class to manage every row in the GUI scrolling, corresponding to a single property --- Source/FLTKDialog/FLTKPropertyItemRow.h | 30 +++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Source/FLTKDialog/FLTKPropertyItemRow.h diff --git a/Source/FLTKDialog/FLTKPropertyItemRow.h b/Source/FLTKDialog/FLTKPropertyItemRow.h new file mode 100644 index 000000000..09a169220 --- /dev/null +++ b/Source/FLTKDialog/FLTKPropertyItemRow.h @@ -0,0 +1,30 @@ +#include "FLTKPropertyList.h" + +#include +#include + +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