Author: ianmacarthur
Date: 2010-03-15 02:31:10 -0700 (Mon, 15 Mar 2010)
New Revision: 7269
Log:

Make the GL printer menu in the cube demo look a little but tidier in
winXP (and I hope on X11 etc.) and alos hopefully without breaking it
for OSX and the Fl_Sys_Menu_Bar...



Modified:
   branches/branch-1.3/test/cube.cxx

Modified: branches/branch-1.3/test/cube.cxx
===================================================================
--- branches/branch-1.3/test/cube.cxx   2010-03-14 22:21:43 UTC (rev 7268)
+++ branches/branch-1.3/test/cube.cxx   2010-03-15 09:31:10 UTC (rev 7269)
@@ -38,7 +38,7 @@
 
 #if !HAVE_GL
 class cube_box : public Fl_Box {
-public:        
+public:
   double lasttime;
   int wire;
   double size;
@@ -175,7 +175,7 @@
   printer.end_page();
   printer.end_job();
 }
-// end of printing demo 
+// end of printing demo
 
 int main(int argc, char **argv) {
   makeform(argv[0]);
@@ -188,10 +188,11 @@
     { 0 }
   };
   Fl_Sys_Menu_Bar *menubar_;
-  menubar_ = new Fl_Sys_Menu_Bar(0, 0, 40, 25);
+  menubar_ = new Fl_Sys_Menu_Bar(0, 0, 60, 20);
+  menubar_->box(FL_FLAT_BOX);
   menubar_->menu(items);
   form->end();
-  // end of printing demo 
+  // end of printing demo
   speed->bounds(4,0);
   speed->value(cube->speed = cube2->speed = 1.0);
   size->bounds(4,0.01);

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

Reply via email to