aboutsummaryrefslogtreecommitdiff
path: root/dw/fltkui.hh
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-10-05 21:04:58 +0200
committerjcid <devnull@localhost>2008-10-05 21:04:58 +0200
commit8c96f970b882cd9509539d393ec0a7c2259a87ea (patch)
treec429482d8b15a667b5eebe19646770541cfb1120 /dw/fltkui.hh
parent08d630de498346b85ab160742ace332692e3dd73 (diff)
- Improvement for the radio/check buttons size patch.
Diffstat (limited to 'dw/fltkui.hh')
-rw-r--r--dw/fltkui.hh5
1 files changed, 0 insertions, 5 deletions
diff --git a/dw/fltkui.hh b/dw/fltkui.hh
index a027a41b..4de99d27 100644
--- a/dw/fltkui.hh
+++ b/dw/fltkui.hh
@@ -350,8 +350,6 @@ private:
protected:
virtual ::fltk::Button *createNewButton (core::Allocation *allocation) = 0;
- // TODO: maybe getFont() is not the best way to do it...
- virtual FltkFont *getFont() = 0;
::fltk::Widget *createNewWidget (core::Allocation *allocation);
public:
@@ -369,8 +367,6 @@ public:
class FltkCheckButtonResource:
public FltkToggleButtonResource <dw::core::ui::CheckButtonResource>
{
-private:
- FltkFont *getFont() {return style ? (FltkFont *)style->font : NULL;}
protected:
::fltk::Button *createNewButton (core::Allocation *allocation);
@@ -431,7 +427,6 @@ private:
Group *group;
static void widgetCallback (::fltk::Widget *widget, void *data);
- FltkFont *getFont() {return style ? (FltkFont *)style->font : NULL;}
void buttonClicked ();
protected: