diff options
author | corvid <corvid@lavabit.com> | 2011-01-06 18:36:36 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2011-01-06 18:36:36 +0000 |
commit | a3777e2c753de7b7587384f14a5b3846bbc9e50a (patch) | |
tree | f1ed4edc439297ae9449f21593616b5f66f0c7b0 /dw/fltkui.cc | |
parent | 64943466de7f3d5f66984d24456e44e049f4c91c (diff) |
RAW_LABEL is SHORTCUT_LABEL
Diffstat (limited to 'dw/fltkui.cc')
-rw-r--r-- | dw/fltkui.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/dw/fltkui.cc b/dw/fltkui.cc index ccccc711..8c8f5aad 100644 --- a/dw/fltkui.cc +++ b/dw/fltkui.cc @@ -260,7 +260,7 @@ FltkLabelButtonResource::~FltkLabelButtonResource () new ::fltk::Button (allocation->x, allocation->y, allocation->width, allocation->ascent + allocation->descent, label); - button->set_flag (::fltk::RAW_LABEL); + button->clear_flag (SHORTCUT_LABEL); button->callback (widgetCallback, this); button->when (FL_WHEN_RELEASE); return button; @@ -720,7 +720,7 @@ FltkCheckButtonResource::~FltkCheckButtonResource () ::fltk::CheckButton *cb = new ::fltk::CheckButton (allocation->x, allocation->y, allocation->width, allocation->ascent + allocation->descent); - cb->set_flag (::fltk::RAW_LABEL); + cb->clear_flag (SHORTCUT_LABEL); return cb; } @@ -833,7 +833,7 @@ void FltkRadioButtonResource::buttonClicked () new ::fltk::RadioButton (allocation->x, allocation->y, allocation->width, allocation->ascent + allocation->descent); - button->set_flag (::fltk::RAW_LABEL); + button->clear_flag (SHORTCUT_LABEL); button->when (FL_WHEN_CHANGED); button->callback (widgetCallback, this); button->type (::fltk::Button::TOGGLE); @@ -864,7 +864,7 @@ template <class I> ::fltk::Item *FltkSelectionResource<I>::Item::createNewWidget (int index) { ::fltk::Item *item = new ::fltk::Item (name); - item->set_flag (::fltk::RAW_LABEL); + item->clear_flag (SHORTCUT_LABEL); item->user_data ((void *) index); return item; } @@ -874,7 +874,7 @@ template <class I> FltkSelectionResource<I>::Item::createNewGroupWidget () { ::fltk::ItemGroup *itemGroup = new ::fltk::ItemGroup (name); - itemGroup->set_flag (::fltk::RAW_LABEL); + itemGroup->clear_flag (SHORTCUT_LABEL); itemGroup->user_data ((void *) -1L); return itemGroup; } @@ -1076,7 +1076,7 @@ FltkOptionMenuResource::~FltkOptionMenuResource () new ::fltk::Choice (allocation->x, allocation->y, allocation->width, allocation->ascent + allocation->descent); - menu->set_flag (::fltk::RAW_LABEL); + menu->clear_flag (SHORTCUT_LABEL); menu->callback(widgetCallback,this); return menu; } @@ -1147,7 +1147,7 @@ FltkListResource::~FltkListResource () allocation->ascent + allocation->descent); if (mode == SELECTION_MULTIPLE) menu->type(::fltk::Browser::MULTI); - menu->set_flag (::fltk::RAW_LABEL); + menu->clear_flag (SHORTCUT_LABEL); menu->callback(widgetCallback,this); menu->when(FL_WHEN_CHANGED); return menu; |