10 const std::string& tok,
11 const std::string& key,
28 const Fl_Menu_Item* mArr = menu->menu();
29 return const_cast<Fl_Menu_Item*
>( &mArr[ i ] );
65 FL_MENU_TOGGLE | (
value ? FL_MENU_VALUE : 0 ) );
74 value ? item->set() : item->clear();
79 if( wg == NULL )
return;
Canvas * GetCanvas(void) const
The Stage library uses its own namespace.
static void toggleCb(Fl_Widget *w, void *p)
void Save(Worldfile *wf, int section)
void WriteInt(int entity, const char *name, int value)
void createMenuItem(Fl_Menu_Bar *menu, std::string path)
void menuCallback(Fl_Callback *cb, Fl_Widget *w)
Option(const std::string &n, const std::string &tok, const std::string &key, bool v, World *world)
void Load(Worldfile *wf, int section)
int ReadInt(int entity, const char *name, int value)
Fl_Menu_Item * getMenuItem(Fl_Menu_ *menu, int i)