Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
4dd76121
Commit
4dd76121
authored
22 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
circumvent fl_group problem recently introduced in fltk 1.1
parent
77fde7ff
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Fltk/GUI.cpp
+6
-4
6 additions, 4 deletions
Fltk/GUI.cpp
with
6 additions
and
4 deletions
Fltk/GUI.cpp
+
6
−
4
View file @
4dd76121
// $Id: GUI.cpp,v 1.1
8
9 2002-08-
07 00:30
:2
5
geuzaine Exp $
// $Id: GUI.cpp,v 1.19
0
2002-08-
12 06:58
:2
1
geuzaine Exp $
//
//
// Copyright (C) 1997 - 2002 C. Geuzaine, J.-F. Remacle
// Copyright (C) 1997 - 2002 C. Geuzaine, J.-F. Remacle
//
//
...
@@ -937,6 +937,11 @@ void GUI::create_graphic_window(int argc, char **argv){
...
@@ -937,6 +937,11 @@ void GUI::create_graphic_window(int argc, char **argv){
g_window
=
new
Fl_Window
(
width
,
height
);
g_window
=
new
Fl_Window
(
width
,
height
);
g_window
->
callback
(
file_quit_cb
);
g_window
->
callback
(
file_quit_cb
);
// dummy box has to be created before the glwindow (stupid, since
// the handle of the Dummy_Box always returns 0, but required by
// fltk 1.1...)
g_window
->
resizable
(
new
Dummy_Box
(
x
,
0
,
width
-
x
,
glheight
));
g_opengl_window
=
new
Opengl_Window
(
0
,
0
,
width
,
glheight
);
g_opengl_window
=
new
Opengl_Window
(
0
,
0
,
width
,
glheight
);
if
(
!
opt_general_double_buffer
(
0
,
GMSH_GET
,
0
)){
if
(
!
opt_general_double_buffer
(
0
,
GMSH_GET
,
0
)){
Msg
(
INFO
,
"Setting OpenGL visual to single buffered"
);
Msg
(
INFO
,
"Setting OpenGL visual to single buffered"
);
...
@@ -1003,9 +1008,6 @@ void GUI::create_graphic_window(int argc, char **argv){
...
@@ -1003,9 +1008,6 @@ void GUI::create_graphic_window(int argc, char **argv){
g_status_butt
[
6
]
->
tooltip
(
"Play/pause animation"
);
g_status_butt
[
6
]
->
tooltip
(
"Play/pause animation"
);
#endif
#endif
g_window
->
resizable
(
new
Dummy_Box
(
x
,
0
,
width
-
x
,
glheight
));
//g_window->resizable(g_opengl_window);
g_window
->
position
(
CTX
.
gl_position
[
0
],
CTX
.
gl_position
[
1
]);
g_window
->
position
(
CTX
.
gl_position
[
0
],
CTX
.
gl_position
[
1
]);
g_window
->
end
();
g_window
->
end
();
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment