summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan MacArthur <imacarthur@gmail.com>2010-03-15 09:31:10 +0000
committerIan MacArthur <imacarthur@gmail.com>2010-03-15 09:31:10 +0000
commit41ee53fd3489f2c6738dd38cba9c9545e7bb72c7 (patch)
tree93703f323899940b72612ba9f040865dbf7f5f9c
parent5e214c1e1da075f19347ec780836a641176e7022 (diff)
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
-rw-r--r--test/cube.cxx9
1 files 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);