From 41ee53fd3489f2c6738dd38cba9c9545e7bb72c7 Mon Sep 17 00:00:00 2001 From: Ian MacArthur Date: Mon, 15 Mar 2010 09:31:10 +0000 Subject: 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... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7269 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/cube.cxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/test/cube.cxx b/test/cube.cxx index b7bf82614..74e7306de 100644 --- a/test/cube.cxx +++ b/test/cube.cxx @@ -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 @@ void print_cb(Fl_Widget *w, void *data) 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 @@ int main(int argc, char **argv) { { 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); -- cgit v1.2.3