summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBill Spitzak <spitzak@gmail.com>1999-10-15 09:01:48 +0000
committerBill Spitzak <spitzak@gmail.com>1999-10-15 09:01:48 +0000
commita7904da09a890a8b6b2bbfc11a4a32308dc82023 (patch)
treec35977269fbb9eca44f8b65f346aa243db06ceb9 /test
parentb9c69353729de435757ed4d843499c983899092f (diff)
I fixed Fl_Tabs so that child tabs can be added/removed without any
concern if they are selected, it uses the first visible() child to indicate the selected tab. Fixed up rather bogus fix for selecting entire text field when you click on it. This new version does not do it for multi-line and does not mess up the middle-mouse paste action. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@777 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
-rw-r--r--test/shape.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/shape.cxx b/test/shape.cxx
index 8335a2c17..5bab30a4c 100644
--- a/test/shape.cxx
+++ b/test/shape.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: shape.cxx,v 1.5 1999/01/13 15:45:50 mike Exp $"
+// "$Id: shape.cxx,v 1.5.2.1 1999/10/15 09:01:48 bill Exp $"
//
// Tiny OpenGL demo program for the Fast Light Tool Kit (FLTK).
//
@@ -52,7 +52,7 @@ void shape_window::draw() {
if (!valid()) {
valid(1);
glLoadIdentity();
- glViewport(0,0,w(),h());
+ glViewport(0, 0, w(), h());
}
// draw an amazing graphic:
glClear(GL_COLOR_BUFFER_BIT);
@@ -111,5 +111,5 @@ int main(int argc, char **argv) {
}
//
-// End of "$Id: shape.cxx,v 1.5 1999/01/13 15:45:50 mike Exp $".
+// End of "$Id: shape.cxx,v 1.5.2.1 1999/10/15 09:01:48 bill Exp $".
//