From de12eddb59bea9ba529230d14cccf3dbef5518e4 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 23 Jan 2016 20:22:50 +0000 Subject: Added OpenGL implementation of fl_vertex calls. Compiling and linking, but functionality untested. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/cube.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/cube.cxx b/test/cube.cxx index 9dea82290..e67136e91 100644 --- a/test/cube.cxx +++ b/test/cube.cxx @@ -147,7 +147,8 @@ void makeform(const char *name) { cube = new cube_box(23,23,344,344, 0); if (Fl::cfg_gfx_opengl) { // try to overlay a button onto an OpenGL window cube->begin(); - /*Fl_Button *test =*/ new Fl_Button(35, 105, 100, 30, "Test"); + Fl_Button *test = new Fl_Button(35, 105, 100, 30, "Test"); + test->box(FL_ROUND_UP_BOX); cube->end(); } cube2 = new cube_box(513,23,344,344, 0); -- cgit v1.2.3