aboutsummaryrefslogtreecommitdiff
path: root/dw/fltkui.hh
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2011-01-29 04:48:59 +0000
committercorvid <corvid@lavabit.com>2011-01-29 04:48:59 +0000
commit4058c05576c5d04bcd29fb7989461d444d962e2f (patch)
tree3bbda5605af6e0964437bd6409785815babe23e0 /dw/fltkui.hh
parent8fa799a5b00ac6a4dd5ffc064a1fb5ef776d451e (diff)
width for FltkList as well
Diffstat (limited to 'dw/fltkui.hh')
-rw-r--r--dw/fltkui.hh6
1 files changed, 2 insertions, 4 deletions
diff --git a/dw/fltkui.hh b/dw/fltkui.hh
index ed0618f3..24875161 100644
--- a/dw/fltkui.hh
+++ b/dw/fltkui.hh
@@ -467,9 +467,6 @@ protected:
lout::container::typed::Vector <Item> *items;
virtual bool setSelectedItems() { return false; }
virtual void addItem (const char *str, bool enabled, bool selected) = 0;
-
- int getMaxStringWidth ();
-
public:
FltkSelectionResource (FltkPlatform *platform);
~FltkSelectionResource ();
@@ -485,7 +482,7 @@ protected:
Fl_Widget *createNewWidget (core::Allocation *allocation);
virtual bool setSelectedItems() { return true; }
int getNumberOfItems();
- int getMaxStringWidth ();
+ int getMaxItemWidth ();
private:
static void widgetCallback (Fl_Widget *widget, void *data);
void enlargeMenu();
@@ -508,6 +505,7 @@ protected:
Fl_Widget *createNewWidget (core::Allocation *allocation);
int getNumberOfItems () {return itemsSelected.size();};
+ int getMaxItemWidth ();
private:
static void widgetCallback (Fl_Widget *widget, void *data);