summaryrefslogtreecommitdiff
path: root/test/scroll.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-10-24 12:53:41 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-10-24 12:53:41 +0000
commit9e0efc1e888217d07cd1ac07e27f0f3d1ac1e52a (patch)
tree4a31227368e8936afc2a03269954ee8dc654ffb7 /test/scroll.cxx
parente001b30f18c6a46318d28d6a2446ab9e46a1455b (diff)
First fixes for 1.1.2 - Fl_Scrollbar shouldn't take keyboard focus,
move Fl_Slider focus stuff to main handle() method, use Fl_Light_Button in scroll demo. Bump version numbers to 1.1.2. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2690 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/scroll.cxx')
-rw-r--r--test/scroll.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/scroll.cxx b/test/scroll.cxx
index 49b137ff8..0606797b5 100644
--- a/test/scroll.cxx
+++ b/test/scroll.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: scroll.cxx,v 1.4.2.3.2.1 2002/01/01 15:11:33 easysw Exp $"
+// "$Id: scroll.cxx,v 1.4.2.3.2.2 2002/10/24 12:53:41 easysw Exp $"
//
// Fl_Scroll test program for the Fast Light Tool Kit (FLTK).
//
@@ -26,7 +26,7 @@
#include <FL/Fl.H>
#include <FL/Fl_Double_Window.H>
#include <FL/Fl_Scroll.H>
-#include <FL/Fl_Toggle_Button.H>
+#include <FL/Fl_Light_Button.H>
#include <FL/Fl_Choice.H>
#include <FL/Fl_Box.H>
#include <string.h>
@@ -116,7 +116,7 @@ int main(int argc, char** argv) {
Fl_Box box(0,300,5*75,window.h()-300); // gray area below the scroll
box.box(FL_FLAT_BOX);
- Fl_Toggle_Button but1(150, 310, 200, 25, "box");
+ Fl_Light_Button but1(150, 310, 200, 25, "box");
but1.callback(box_cb);
Fl_Choice choice(150, 335, 200, 25, "type():");
@@ -137,5 +137,5 @@ int main(int argc, char** argv) {
}
//
-// End of "$Id: scroll.cxx,v 1.4.2.3.2.1 2002/01/01 15:11:33 easysw Exp $".
+// End of "$Id: scroll.cxx,v 1.4.2.3.2.2 2002/10/24 12:53:41 easysw Exp $".
//