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
faa10d3b
Commit
faa10d3b
authored
12 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
tweak
parent
0e79841f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Fltk/FlGui.cpp
+1
-0
1 addition, 0 deletions
Fltk/FlGui.cpp
Fltk/graphicWindow.cpp
+4
-5
4 additions, 5 deletions
Fltk/graphicWindow.cpp
with
5 additions
and
5 deletions
Fltk/FlGui.cpp
+
1
−
0
View file @
faa10d3b
...
@@ -271,6 +271,7 @@ FlGui::FlGui(int argc, char **argv)
...
@@ -271,6 +271,7 @@ FlGui::FlGui(int argc, char **argv)
#endif
#endif
graph
[
0
]
->
win
->
show
(
1
,
argv
);
graph
[
0
]
->
win
->
show
(
1
,
argv
);
if
(
graph
[
0
]
->
menuwin
)
graph
[
0
]
->
menuwin
->
show
();
// graphic window should have the initial focus (so we can e.g. directly loop
// graphic window should have the initial focus (so we can e.g. directly loop
// through time steps with the keyboard)
// through time steps with the keyboard)
...
...
This diff is collapsed.
Click to expand it.
Fltk/graphicWindow.cpp
+
4
−
5
View file @
faa10d3b
...
@@ -2927,7 +2927,6 @@ graphicWindow::graphicWindow(bool main, int numTiles, bool detachedMenu)
...
@@ -2927,7 +2927,6 @@ graphicWindow::graphicWindow(bool main, int numTiles, bool detachedMenu)
menuwin
->
resizable
(
onelab
);
menuwin
->
resizable
(
onelab
);
menuwin
->
size_range
(
onelab
->
getMinWindowWidth
(),
onelab
->
getMinWindowHeight
());
menuwin
->
size_range
(
onelab
->
getMinWindowWidth
(),
onelab
->
getMinWindowHeight
());
menuwin
->
end
();
menuwin
->
end
();
menuwin
->
show
();
}
}
else
{
else
{
menuwin
=
0
;
menuwin
=
0
;
...
@@ -3025,8 +3024,8 @@ void graphicWindow::hideMenu()
...
@@ -3025,8 +3024,8 @@ void graphicWindow::hideMenu()
void
graphicWindow
::
showHideMenu
()
void
graphicWindow
::
showHideMenu
()
{
{
if
(
menuwin
||
!
onelab
)
return
;
if
(
menuwin
||
!
onelab
)
return
;
if
(
onelab
->
w
()
)
hide
Menu
();
if
(
onelab
->
w
()
<
5
)
show
Menu
();
else
show
Menu
();
else
hide
Menu
();
}
}
int
graphicWindow
::
getMenuWidth
()
int
graphicWindow
::
getMenuWidth
()
...
@@ -3202,8 +3201,8 @@ void graphicWindow::hideMessages()
...
@@ -3202,8 +3201,8 @@ void graphicWindow::hideMessages()
void
graphicWindow
::
showHideMessages
()
void
graphicWindow
::
showHideMessages
()
{
{
if
(
!
browser
)
return
;
if
(
!
browser
)
return
;
if
(
browser
->
h
()
)
hide
Messages
();
if
(
browser
->
h
()
<
5
)
show
Messages
();
else
show
Messages
();
else
hide
Messages
();
}
}
int
graphicWindow
::
getMessageHeight
()
int
graphicWindow
::
getMessageHeight
()
...
...
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