Author: matt
Date: 2011-07-28 05:08:46 -0700 (Thu, 28 Jul 2011)
New Revision: 8874
Log:
In Fluid3, added a widget to selct build environment selection.


Added:
   branches/branch-3.0/fluid/pixmaps/flMenuAll.xpm
   branches/branch-3.0/fluid/pixmaps/flMenuMulti.xpm
   branches/branch-3.0/fluid/pixmaps/flMenuNone.xpm
Modified:
   branches/branch-3.0/fluid/Fl_Type.cxx
   branches/branch-3.0/fluid/workspace_panel.cxx
   branches/branch-3.0/fluid/workspace_panel.fl
   branches/branch-3.0/fluid/workspace_panel.h

Modified: branches/branch-3.0/fluid/Fl_Type.cxx
===================================================================
--- branches/branch-3.0/fluid/Fl_Type.cxx       2011-07-28 00:07:41 UTC (rev 
8873)
+++ branches/branch-3.0/fluid/Fl_Type.cxx       2011-07-28 12:08:46 UTC (rev 
8874)
@@ -113,6 +113,9 @@
 #include "pixmaps/flFluidFile.xpm"
 #include "pixmaps/flFolder.xpm"
 #include "pixmaps/flCodeFile.xpm"
+#include "pixmaps/flMenuNone.xpm"
+#include "pixmaps/flMenuMulti.xpm"
+#include "pixmaps/flMenuAll.xpm"
 
 static fltk3::Pixmap   window_pixmap(flWindow_xpm);
 static fltk3::Pixmap   button_pixmap(flButton_xpm);
@@ -169,6 +172,9 @@
 static fltk3::Pixmap   fluid_file_pixmap(flFluidFile_xpm);
 static fltk3::Pixmap   folder_pixmap(flFolder_xpm);
 static fltk3::Pixmap   code_file_pixmap(flCodeFile_xpm);
+fltk3::Pixmap  menu_none_pixmap(flMenuNone_xpm);
+fltk3::Pixmap  menu_multi_pixmap(flMenuMulti_xpm);
+fltk3::Pixmap  menu_all_pixmap(flMenuAll_xpm);
 
 fltk3::Pixmap *pixmap[] = { 0, &window_pixmap, &button_pixmap, 
&checkbutton_pixmap, &roundbutton_pixmap, /* 0..4 */
  &box_pixmap, &group_pixmap, &function_pixmap, &code_pixmap, 
&codeblock_pixmap, &declaration_pixmap, /* 5..10 */ 

Added: branches/branch-3.0/fluid/pixmaps/flMenuAll.xpm
===================================================================
--- branches/branch-3.0/fluid/pixmaps/flMenuAll.xpm                             
(rev 0)
+++ branches/branch-3.0/fluid/pixmaps/flMenuAll.xpm     2011-07-28 12:08:46 UTC 
(rev 8874)
@@ -0,0 +1,29 @@
+/* XPM */
+static const char *flMenuAll_xpm[] = {
+/* width height ncolors chars_per_pixel */
+"16 16 5 1",
+/* colors */
+". c none",
+"a c #000000",
+"b c #c0c0c0",
+"c c #000000",
+"' c #202080",
+/* pixels */
+"................",
+".............cc.",
+".............cc.",
+"............cc..",
+"............cc..",
+"...........cc...",
+"..cc.......cc...",
+"...cc.....cc....",
+"....cc....cc....",
+".....cc..cc.....",
+"......cc.cc.....",
+".......ccc......",
+"........cc......",
+"................",
+"................",
+"................",
+"................",
+};

Added: branches/branch-3.0/fluid/pixmaps/flMenuMulti.xpm
===================================================================
--- branches/branch-3.0/fluid/pixmaps/flMenuMulti.xpm                           
(rev 0)
+++ branches/branch-3.0/fluid/pixmaps/flMenuMulti.xpm   2011-07-28 12:08:46 UTC 
(rev 8874)
@@ -0,0 +1,29 @@
+/* XPM */
+static const char *flMenuMulti_xpm[] = {
+/* width height ncolors chars_per_pixel */
+"16 16 5 1",
+/* colors */
+". c none",
+"a c #000000",
+"b c #c0c0c0",
+"c c #000000",
+"' c #202080",
+/* pixels */
+"................",
+"................",
+"................",
+".....cc.........",
+"....cccc........",
+"...cccccc.......",
+"..cc...ccc...cc.",
+"........cccccc..",
+".........cccc...",
+"..........cc....",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................",
+};

Added: branches/branch-3.0/fluid/pixmaps/flMenuNone.xpm
===================================================================
--- branches/branch-3.0/fluid/pixmaps/flMenuNone.xpm                            
(rev 0)
+++ branches/branch-3.0/fluid/pixmaps/flMenuNone.xpm    2011-07-28 12:08:46 UTC 
(rev 8874)
@@ -0,0 +1,29 @@
+/* XPM */
+static const char *flMenuNone_xpm[] = {
+/* width height ncolors chars_per_pixel */
+"16 16 5 1",
+/* colors */
+". c none",
+"a c #000000",
+"b c #c0c0c0",
+"c c #000000",
+"' c #202080",
+/* pixels */
+"................",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................",
+};

Modified: branches/branch-3.0/fluid/workspace_panel.cxx
===================================================================
--- branches/branch-3.0/fluid/workspace_panel.cxx       2011-07-28 00:07:41 UTC 
(rev 8873)
+++ branches/branch-3.0/fluid/workspace_panel.cxx       2011-07-28 12:08:46 UTC 
(rev 8874)
@@ -27,12 +27,134 @@
 
 #include "workspace_panel.h"
 
+void Fl_Environment_Choice::cb_pMenuAll_i(fltk3::Menu_*, void* v) {
+  // this is what we want to set or clear, pEnv is what we currently have
+unsigned int e = (intptr_t)v;
+// find a good logic for settting, clearing, and partial values
+if ( (pEnv&e)==e ) {
+  // if all bits in the menu are set, toggle the bits off
+  pEnv = pEnv ^ e;
+} else {
+  // some bits don't match, so switch all bits on
+  pEnv = pEnv | e;
+}
+
+// now update all menus
+e = pEnv;
+fltk3::MenuItem *mi = menu_pEnvMenu;
+int level = 0;
+while (mi->label()) {
+  unsigned int me = (intptr_t)mi->user_data();
+  if (me) {
+    fltk3::MultiLabel *ml = (fltk3::MultiLabel*)mi->label();
+    if ( (me&e)==0 ) {
+      ml->labela = (char*)&menu_none_pixmap;
+    } else if ( (me&e)==me ) {
+      ml->labela = (char*)&menu_all_pixmap;
+    } else {
+      ml->labela = (char*)&menu_multi_pixmap;
+    }
+  }
+  if (mi->flags&fltk3::SUBMENU) level++;
+  mi++;
+  while (level && !mi->label()) {
+    level--; 
+    mi++;
+  }
+}
+
+// update the text
+if (pEnv==ENV_ALL) {
+  pEnvList->label("- all -");
+} else if (pEnv==ENV_NONE) {
+  pEnvList->label("- none -");
+} else {
+  char buf[1024]; buf[0] = 0;
+  if (pEnv&ENV_MAKE) strcat(buf, "make, ");
+  if (pEnv&ENV_CMAKE) strcat(buf, "cmake, ");
+  if (pEnv&ENV_VC6) strcat(buf, "VC6, ");
+  if (pEnv&ENV_VC2008) strcat(buf, "VC2008, ");
+  if (pEnv&ENV_VC2010) strcat(buf, "VC2010, ");
+  if (pEnv&ENV_XC3) strcat(buf, "Xcode3, ");
+  if (pEnv&ENV_XC4) strcat(buf, "Xcode4, ");
+  int n = strlen(buf);
+  if (n>2) buf[n-2] = 0;
+  pEnvList->copy_label(buf);
+};
+}
+void Fl_Environment_Choice::cb_pMenuAll(fltk3::Menu_* o, void* v) {
+  ((Fl_Environment_Choice*)(o->parent()))->cb_pMenuAll_i(o,v);
+}
+
+fltk3::MenuItem Fl_Environment_Choice::menu_pEnvMenu[] = {
+ {"All Environments", 0,  
(fltk3::Callback*)Fl_Environment_Choice::cb_pMenuAll, (void*)(ENV_ALL), 128, 
fltk3::NORMAL_LABEL, 0, 12, 0},
+ {"Command Line", 0,  0, 0, 64, fltk3::NORMAL_LABEL, 0, 12, 0},
+ {"All", 0,  (fltk3::Callback*)cb_pMenuAll, (void*)(ENV_ALL_SHELL), 128, 
fltk3::NORMAL_LABEL, 0, 12, 0},
+ {"Makefile (make, gmake)", 0,  (fltk3::Callback*)cb_pMenuAll, 
(void*)(ENV_MAKE), 0, fltk3::NORMAL_LABEL, 0, 12, 0},
+ {"CMake File (cmake)", 0,  (fltk3::Callback*)cb_pMenuAll, (void*)(ENV_CMAKE), 
0, fltk3::NORMAL_LABEL, 0, 12, 0},
+ {0,0,0,0,0,0,0,0,0},
+ {"MS Windows", 0,  0, 0, 64, fltk3::NORMAL_LABEL, 0, 12, 0},
+ {"All", 0,  (fltk3::Callback*)cb_pMenuAll, (void*)(ENV_ALL_VC), 128, 
fltk3::NORMAL_LABEL, 0, 12, 0},
+ {"VisualC 6", 0,  (fltk3::Callback*)cb_pMenuAll, (void*)(ENV_VC6), 0, 
fltk3::NORMAL_LABEL, 0, 12, 0},
+ {"VisualC 2008", 0,  (fltk3::Callback*)cb_pMenuAll, (void*)(ENV_VC2008), 0, 
fltk3::NORMAL_LABEL, 0, 12, 0},
+ {"VisualC 2010", 0,  (fltk3::Callback*)cb_pMenuAll, (void*)(ENV_VC2010), 0, 
fltk3::NORMAL_LABEL, 0, 12, 0},
+ {0,0,0,0,0,0,0,0,0},
+ {"Apple OS X", 0,  0, 0, 64, fltk3::NORMAL_LABEL, 0, 12, 0},
+ {"All", 0,  (fltk3::Callback*)cb_pMenuAll, (void*)(ENV_ALL_XC), 128, 
fltk3::NORMAL_LABEL, 0, 12, 0},
+ {"Xcode 3", 0,  (fltk3::Callback*)cb_pMenuAll, (void*)(ENV_XC3), 0, 
fltk3::NORMAL_LABEL, 0, 12, 0},
+ {"Xcode 4", 0,  (fltk3::Callback*)cb_pMenuAll, (void*)(ENV_XC4), 0, 
fltk3::NORMAL_LABEL, 0, 12, 0},
+ {0,0,0,0,0,0,0,0,0},
+ {0,0,0,0,0,0,0,0,0}
+};
+fltk3::MenuItem* Fl_Environment_Choice::pMenuAll = 
Fl_Environment_Choice::menu_pEnvMenu + 0;
+Fl_Environment_Choice::Fl_Environment_Choice(int X, int Y, int W, int H, const 
char *L)
+  : fltk3::Group(0, 0, W, H, L) {
+this->box(fltk3::FLAT_BOX);
+this->color(fltk3::BACKGROUND_COLOR);
+this->selection_color(fltk3::BACKGROUND_COLOR);
+this->labeltype(fltk3::NO_LABEL);
+this->labelfont(0);
+this->labelsize(14);
+this->labelcolor(fltk3::FOREGROUND_COLOR);
+this->align(fltk3::Align(fltk3::ALIGN_TOP));
+this->when(fltk3::WHEN_RELEASE);
+{ pEnvMenu = new fltk3::MenuButton(0, 0, 170, 20, "Environent");
+  pEnvMenu->labelsize(12);
+  pEnvMenu->menu(menu_pEnvMenu);
+} // fltk3::MenuButton* pEnvMenu
+{ pEnvList = new fltk3::Box(0, 20, 170, 20, "make, cmake, Xcode3 Xcode4, VC6, 
VC2010, VC2008");
+  pEnvList->labelsize(9);
+  pEnvList->align(fltk3::Align(193|fltk3::ALIGN_INSIDE));
+} // fltk3::Box* pEnvList
+fltk3::MenuItem *mi = menu_pEnvMenu;
+int level = 0;
+while (mi->label()) {
+  unsigned int me = (intptr_t)mi->user_data();
+  if (me) {
+    fltk3::MultiLabel *ml = new fltk3::MultiLabel;
+    ml->labela = (char*)&menu_none_pixmap;
+    ml->labelb = mi->text;
+    ml->typea = fltk3::IMAGE_LABEL;
+    ml->typeb = fltk3::NORMAL_LABEL;
+    ml->label( mi );  
+  }
+  if (mi->flags&fltk3::SUBMENU) level++;
+  mi++;
+  while (level && !mi->label()) {
+    level--; 
+    mi++;
+  }
+}
+position(X, Y);
+end();
+}
+
 fltk3::DoubleWindow *workspace_panel=(fltk3::DoubleWindow *)0;
 
 fltk3::DoubleWindow* show_workspace_panel() {
   if (!workspace_panel) {
-    { workspace_panel = new fltk3::DoubleWindow(382, 325);
-      { fltk3::Button* o = new fltk3::Button(260, 285, 95, 25, "OK");
+    { workspace_panel = new fltk3::DoubleWindow(385, 416);
+      { fltk3::Button* o = new fltk3::Button(265, 365, 95, 25, "OK");
         o->labelsize(12);
       } // fltk3::Button* o
       { fltk3::Input* o = new fltk3::Input(85, 15, 213, 25, "Name:");
@@ -92,6 +214,17 @@
         o->down_box(fltk3::DOWN_BOX);
         o->labelsize(12);
       } // fltk3::CheckButton* o
+      { Fl_Environment_Choice* o = new Fl_Environment_Choice(85, 295, 170, 40);
+        o->box(fltk3::FLAT_BOX);
+        o->color(fltk3::LIGHT2);
+        o->selection_color(fltk3::SELECTION_COLOR);
+        o->labeltype(fltk3::NORMAL_LABEL);
+        o->labelfont(0);
+        o->labelsize(14);
+        o->labelcolor(fltk3::FOREGROUND_COLOR);
+        o->align(fltk3::Align(fltk3::ALIGN_CENTER));
+        o->when(fltk3::WHEN_RELEASE_ALWAYS);
+      } // Fl_Environment_Choice* o
       workspace_panel->end();
     } // fltk3::DoubleWindow* workspace_panel
       }

Modified: branches/branch-3.0/fluid/workspace_panel.fl
===================================================================
--- branches/branch-3.0/fluid/workspace_panel.fl        2011-07-28 00:07:41 UTC 
(rev 8873)
+++ branches/branch-3.0/fluid/workspace_panel.fl        2011-07-28 12:08:46 UTC 
(rev 8874)
@@ -29,16 +29,202 @@
 } {in_source in_header
 } 
 
+decl {\#include <fltk3/Pixmap.h>} {public global
+} 
+
+decl {\#include <fltk3/MultiLabel.h>} {public global
+} 
+
+decl {extern fltk3::Pixmap menu_none_pixmap;} {public global
+} 
+
+decl {extern fltk3::Pixmap menu_multi_pixmap;} {public global
+} 
+
+decl {extern fltk3::Pixmap menu_all_pixmap;} {public global
+} 
+
+widget_class Fl_Environment_Choice {open
+  xywh {494 182 170 40} type Double
+  class {fltk3::Group} visible position_relative
+} {
+  decl {unsigned int pEnv;} {protected local
+  }
+  decl {enum { ENV_NONE=0, ENV_ALL=0x007f, ENV_ALL_SHELL=0x0003, 
ENV_MAKE=0x0001, ENV_CMAKE=0x0002, ENV_ALL_VC=0x001c, ENV_VC6=0x0004, 
ENV_VC2008=0x0008, ENV_VC2010=0x0010, ENV_ALL_XC=0x0060, ENV_XC3=0x0020, 
ENV_XC4=0x0040 };} {public local
+  }
+  {fltk3::MenuButton} pEnvMenu {
+    label Environent open
+    xywh {0 0 170 20} labelsize 12
+  } {
+    MenuItem pMenuAll {
+      label {All Environments}
+      user_data ENV_ALL
+      callback {// this is what we want to set or clear, pEnv is what we 
currently have
+unsigned int e = (intptr_t)v;
+// find a good logic for settting, clearing, and partial values
+if ( (pEnv&e)==e ) {
+  // if all bits in the menu are set, toggle the bits off
+  pEnv = pEnv ^ e;
+} else {
+  // some bits don't match, so switch all bits on
+  pEnv = pEnv | e;
+}
+
+// now update all menus
+e = pEnv;
+fltk3::MenuItem *mi = menu_pEnvMenu;
+int level = 0;
+while (mi->label()) {
+  unsigned int me = (intptr_t)mi->user_data();
+  if (me) {
+    fltk3::MultiLabel *ml = (fltk3::MultiLabel*)mi->label();
+    if ( (me&e)==0 ) {
+      ml->labela = (char*)&menu_none_pixmap;
+    } else if ( (me&e)==me ) {
+      ml->labela = (char*)&menu_all_pixmap;
+    } else {
+      ml->labela = (char*)&menu_multi_pixmap;
+    }
+  }
+  if (mi->flags&fltk3::SUBMENU) level++;
+  mi++;
+  while (level && !mi->label()) {
+    level--; 
+    mi++;
+  }
+}
+
+// update the text
+if (pEnv==ENV_ALL) {
+  pEnvList->label("- all -");
+} else if (pEnv==ENV_NONE) {
+  pEnvList->label("- none -");
+} else {
+  char buf[1024]; buf[0] = 0;
+  if (pEnv&ENV_MAKE) strcat(buf, "make, ");
+  if (pEnv&ENV_CMAKE) strcat(buf, "cmake, ");
+  if (pEnv&ENV_VC6) strcat(buf, "VC6, ");
+  if (pEnv&ENV_VC2008) strcat(buf, "VC2008, ");
+  if (pEnv&ENV_VC2010) strcat(buf, "VC2010, ");
+  if (pEnv&ENV_XC3) strcat(buf, "Xcode3, ");
+  if (pEnv&ENV_XC4) strcat(buf, "Xcode4, ");
+  int n = strlen(buf);
+  if (n>2) buf[n-2] = 0;
+  pEnvList->copy_label(buf);
+}} selected
+      xywh {0 0 100 20} labelsize 12 divider
+    }
+    Submenu {} {
+      label {Command Line} open
+      xywh {0 0 100 20} labelsize 12
+    } {
+      MenuItem {} {
+        label All
+        user_data ENV_ALL_SHELL
+        callback cb_pMenuAll
+        xywh {10 10 100 20} labelsize 12 divider
+      }
+      MenuItem {} {
+        label {Makefile (make, gmake)}
+        user_data ENV_MAKE
+        callback cb_pMenuAll
+        xywh {0 0 100 20} labelsize 12
+      }
+      MenuItem {} {
+        label {CMake File (cmake)}
+        user_data ENV_CMAKE
+        callback cb_pMenuAll
+        xywh {0 0 100 20} labelsize 12
+      }
+    }
+    Submenu {} {
+      label {MS Windows} open
+      xywh {0 0 100 20} labelsize 12
+    } {
+      MenuItem {} {
+        label All
+        user_data ENV_ALL_VC
+        callback cb_pMenuAll
+        xywh {0 0 100 20} labelsize 12 divider
+      }
+      MenuItem {} {
+        label {VisualC 6}
+        user_data ENV_VC6
+        callback cb_pMenuAll
+        xywh {0 0 100 20} labelsize 12
+      }
+      MenuItem {} {
+        label {VisualC 2008}
+        user_data ENV_VC2008
+        callback cb_pMenuAll
+        xywh {0 0 100 20} labelsize 12
+      }
+      MenuItem {} {
+        label {VisualC 2010}
+        user_data ENV_VC2010
+        callback cb_pMenuAll
+        xywh {0 0 100 20} labelsize 12
+      }
+    }
+    Submenu {} {
+      label {Apple OS X} open
+      xywh {0 0 100 20} labelsize 12
+    } {
+      MenuItem {} {
+        label All
+        user_data ENV_ALL_XC
+        callback cb_pMenuAll
+        xywh {0 0 100 20} labelsize 12 divider
+      }
+      MenuItem {} {
+        label {Xcode 3}
+        user_data ENV_XC3
+        callback cb_pMenuAll
+        xywh {0 0 100 20} labelsize 12
+      }
+      MenuItem {} {
+        label {Xcode 4}
+        user_data ENV_XC4
+        callback cb_pMenuAll
+        xywh {0 0 100 20} labelsize 12
+      }
+    }
+  }
+  {fltk3::Box} pEnvList {
+    label {make, cmake, Xcode3 Xcode4, VC6, VC2010, VC2008}
+    xywh {0 20 170 20} labelsize 9 align 209
+  }
+  code {fltk3::MenuItem *mi = menu_pEnvMenu;
+int level = 0;
+while (mi->label()) {
+  unsigned int me = (intptr_t)mi->user_data();
+  if (me) {
+    fltk3::MultiLabel *ml = new fltk3::MultiLabel;
+    ml->labela = (char*)&menu_none_pixmap;
+    ml->labelb = mi->text;
+    ml->typea = fltk3::IMAGE_LABEL;
+    ml->typeb = fltk3::NORMAL_LABEL;
+    ml->label( mi );  
+  }
+  if (mi->flags&fltk3::SUBMENU) level++;
+  mi++;
+  while (level && !mi->label()) {
+    level--; 
+    mi++;
+  }
+}} {}
+} 
+
 Function {show_workspace_panel()} {open
 } {
   codeblock {if (!workspace_panel)} {open
   } {
     {fltk3::Window} workspace_panel {open
-      xywh {893 184 382 325} type Double visible
+      xywh {832 211 385 416} type Double visible
     } {
       {fltk3::Button} {} {
         label OK
-        xywh {260 285 95 25} labelsize 12
+        xywh {265 365 95 25} labelsize 12
       }
       {fltk3::Input} {} {
         label {Name:}
@@ -73,7 +259,7 @@
         xywh {85 223 215 20} down_box DOWN_BOX labelsize 12
       }
       {fltk3::CheckButton} {} {
-        label {Xcode 3} selected
+        label {Xcode 3}
         xywh {100 243 215 20} down_box DOWN_BOX labelsize 12 deactivate
       }
       {fltk3::CheckButton} {} {
@@ -85,13 +271,17 @@
         xywh {101 103 215 20} down_box DOWN_BOX labelsize 12
       }
       {fltk3::CheckButton} {} {
-        label {CMake File (cmake)} selected
+        label {CMake File (cmake)}
         xywh {101 123 215 20} down_box DOWN_BOX labelsize 12 deactivate
       }
       {fltk3::CheckButton} {} {
         label {all supported Environments}
         xywh {70 64 215 20} down_box DOWN_BOX labelsize 12
       }
+      {fltk3::MenuButton} {} {open
+        xywh {85 295 170 40} box FLAT_BOX color 52
+        class Fl_Environment_Choice
+      } {}
     }
   }
   code {workspace_panel->show();} {}

Modified: branches/branch-3.0/fluid/workspace_panel.h
===================================================================
--- branches/branch-3.0/fluid/workspace_panel.h 2011-07-28 00:07:41 UTC (rev 
8873)
+++ branches/branch-3.0/fluid/workspace_panel.h 2011-07-28 12:08:46 UTC (rev 
8874)
@@ -28,11 +28,36 @@
 #ifndef workspace_panel_h
 #define workspace_panel_h
 #include <fltk3/run.h>
+#include <fltk3/Pixmap.h>
+#include <fltk3/MultiLabel.h>
+extern fltk3::Pixmap menu_none_pixmap;
+extern fltk3::Pixmap menu_multi_pixmap;
+extern fltk3::Pixmap menu_all_pixmap;
+#include <fltk3/Group.h>
+#include <fltk3/MenuButton.h>
+extern void cb_pMenuAll(fltk3::Menu_*, void*);
+#include <fltk3/Box.h>
+
+class Fl_Environment_Choice : public fltk3::Group {
+public:
+  Fl_Environment_Choice(int X, int Y, int W, int H, const char *L = 0);
+protected:
+  unsigned int pEnv; 
+public:
+  enum { ENV_NONE=0, ENV_ALL=0x007f, ENV_ALL_SHELL=0x0003, ENV_MAKE=0x0001, 
ENV_CMAKE=0x0002, ENV_ALL_VC=0x001c, ENV_VC6=0x0004, ENV_VC2008=0x0008, 
ENV_VC2010=0x0010, ENV_ALL_XC=0x0060, ENV_XC3=0x0020, ENV_XC4=0x0040 }; 
+  fltk3::MenuButton *pEnvMenu;
+  static fltk3::MenuItem menu_pEnvMenu[];
+  static fltk3::MenuItem *pMenuAll;
+private:
+  void cb_pMenuAll_i(fltk3::Menu_*, void*);
+  static void cb_pMenuAll(fltk3::Menu_*, void*);
+public:
+  fltk3::Box *pEnvList;
+};
 #include <fltk3/DoubleWindow.h>
 extern fltk3::DoubleWindow *workspace_panel;
 #include <fltk3/Button.h>
 #include <fltk3/Input.h>
-#include <fltk3/Box.h>
 #include <fltk3/CheckButton.h>
 fltk3::DoubleWindow* show_workspace_panel();
 #include <fltk3/Choice.h>

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to