From b8177be16c4b69bfabf722e4c2904f0d5bea468c Mon Sep 17 00:00:00 2001 From: corvid Date: Sat, 8 Jan 2011 03:23:21 +0000 Subject: a bit of fltkui --- dw/fltkui.cc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'dw/fltkui.cc') diff --git a/dw/fltkui.cc b/dw/fltkui.cc index 2984c4bf..0a4df83c 100644 --- a/dw/fltkui.cc +++ b/dw/fltkui.cc @@ -25,6 +25,13 @@ #include "../lout/msg.h" #include "../lout/misc.hh" +#include +#include +#include +#include +#include +#include + #include namespace dw { @@ -462,7 +469,7 @@ Fl_Widget *FltkEntryResource::createNewWidget (core::Allocation new Fl_Input (allocation->x, allocation->y, allocation->width, allocation->ascent + allocation->descent); if (password) - input->type(Fl_Input::SECRET); + input->type(FL_SECRET_INPUT); input->callback (widgetCallback, this); input->when (FL_WHEN_ENTER_KEY_ALWAYS); @@ -817,7 +824,7 @@ Fl_Button *FltkRadioButtonResource::createNewButton (core::Allocation button->clear_flag (SHORTCUT_LABEL); button->when (FL_WHEN_CHANGED); button->callback (widgetCallback, this); - button->type (Fl_Button::TOGGLE); + button->type (FL_TOGGLE_BUTTON); return button; } -- cgit v1.2.3