7 #include <FL/Fl_Menu_Bar.H> 8 #include <FL/Fl_Menu_Item.H> 35 Option(
const std::string& n,
36 const std::string& tok,
37 const std::string& key,
44 inline operator bool() {
return val(); }
63 static void toggleCb( Fl_Widget* w,
void* p );
The Stage library uses its own namespace.
friend bool compare(const Option *lhs, const Option *rhs)
static void toggleCb(Fl_Widget *w, void *p)
void Save(Worldfile *wf, int section)
void createMenuItem(Fl_Menu_Bar *menu, std::string path)
const std::string name() const
bool operator<(const Option &rhs) const
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)