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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
08981ae8
Commit
08981ae8
authored
17 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
*** empty log message ***
parent
c8fefb99
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Fltk/GUI.cpp
+6
-8
6 additions, 8 deletions
Fltk/GUI.cpp
with
6 additions
and
8 deletions
Fltk/GUI.cpp
+
6
−
8
View file @
08981ae8
// $Id: GUI.cpp,v 1.67
4
2008-04-13 11:
07:5
8 geuzaine Exp $
// $Id: GUI.cpp,v 1.67
5
2008-04-13 11:
34:3
8 geuzaine Exp $
//
//
// Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
// Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
//
//
...
@@ -929,7 +929,7 @@ GUI::GUI(int argc, char **argv)
...
@@ -929,7 +929,7 @@ GUI::GUI(int argc, char **argv)
create_graphic_window
();
create_graphic_window
();
#if defined(WIN32)
#if defined(WIN32)
m
_window
->
icon
((
char
*
)
LoadImage
(
fl_display
,
MAKEINTRESOURCE
(
IDI_ICON
),
g
_window
->
icon
((
char
*
)
LoadImage
(
fl_display
,
MAKEINTRESOURCE
(
IDI_ICON
),
IMAGE_ICON
,
16
,
16
,
LR_DEFAULTCOLOR
));
IMAGE_ICON
,
16
,
16
,
LR_DEFAULTCOLOR
));
#elif defined(__APPLE__)
#elif defined(__APPLE__)
// Nothing to do here
// Nothing to do here
...
@@ -953,12 +953,9 @@ GUI::GUI(int argc, char **argv)
...
@@ -953,12 +953,9 @@ GUI::GUI(int argc, char **argv)
gmsh32x32
,
32
,
32
));
gmsh32x32
,
32
,
32
));
#endif
#endif
// we must show() m_window first (at least on Win32, since the icon
// open graphics window first for correct non-modal behaviour on windows
// is associated with m_window); and besides, it's probably better
// to have the initial focus on g_window so that we can directly
// process graphical shortcuts (e.g. for time step selection)
m_window
->
show
(
1
,
argv
);
g_window
->
show
(
1
,
argv
);
g_window
->
show
(
1
,
argv
);
m_window
->
show
();
g_opengl_window
->
take_focus
();
g_opengl_window
->
take_focus
();
create_option_window
();
create_option_window
();
...
@@ -1450,6 +1447,7 @@ void GUI::create_graphic_window()
...
@@ -1450,6 +1447,7 @@ void GUI::create_graphic_window()
int
height
=
glheight
+
sh
;
int
height
=
glheight
+
sh
;
g_window
=
new
Main_Window
(
width
,
height
,
false
);
g_window
=
new
Main_Window
(
width
,
height
,
false
);
//g_window = new Main_Window(width, height, CTX.non_modal_windows);
g_window
->
callback
(
file_quit_cb
);
g_window
->
callback
(
file_quit_cb
);
// bottom button bar
// bottom button bar
...
...
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