Browse Source

Class to manage every row in the GUI scrolling, corresponding to a
single property

Luis Ibanez 24 năm trước cách đây
mục cha
commit
63083cf01c
1 tập tin đã thay đổi với 30 bổ sung0 xóa
  1. 30 0
      Source/FLTKDialog/FLTKPropertyItemRow.h

+ 30 - 0
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