7 #include <FL/Fl_Menu_Bar.H>
8 #include <FL/Fl_Menu_Item.H>
31 Fl_Widget* menuCbWidget;
35 Option(
const std::string& n,
36 const std::string& tok,
37 const std::string& key,
41 const std::string
name()
const {
return optName; }
43 inline bool val()
const {
return value; }
44 inline operator bool() {
return val(); }
48 return optName<rhs.optName;
63 static void toggleCb( Fl_Widget* w,
void* p );