mirror of
https://github.com/fltk/fltk.git
synced 2026-06-06 16:46:52 +08:00
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
This commit is contained in:
+3
-3
@@ -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 $".
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user