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
d23432f6
Commit
d23432f6
authored
12 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
tweak
parent
c31a51a2
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Fltk/FlGui.cpp
+2
-1
2 additions, 1 deletion
Fltk/FlGui.cpp
Fltk/graphicWindow.cpp
+1
-1
1 addition, 1 deletion
Fltk/graphicWindow.cpp
with
3 additions
and
2 deletions
Fltk/FlGui.cpp
+
2
−
1
View file @
d23432f6
...
@@ -661,7 +661,8 @@ void FlGui::setStatus(const std::string &msg, bool opengl)
...
@@ -661,7 +661,8 @@ void FlGui::setStatus(const std::string &msg, bool opengl)
{
{
if
(
!
opengl
){
if
(
!
opengl
){
static
char
buff
[
1024
];
static
char
buff
[
1024
];
strncpy
(
buff
,
msg
.
c_str
(),
sizeof
(
buff
)
-
1
);
std
::
string
tmp
=
std
::
string
(
" "
)
+
msg
;
strncpy
(
buff
,
tmp
.
c_str
(),
sizeof
(
buff
)
-
1
);
buff
[
sizeof
(
buff
)
-
1
]
=
'\0'
;
buff
[
sizeof
(
buff
)
-
1
]
=
'\0'
;
for
(
unsigned
int
i
=
0
;
i
<
graph
.
size
();
i
++
){
for
(
unsigned
int
i
=
0
;
i
<
graph
.
size
();
i
++
){
graph
[
i
]
->
getProgress
()
->
label
(
buff
);
graph
[
i
]
->
getProgress
()
->
label
(
buff
);
...
...
This diff is collapsed.
Click to expand it.
Fltk/graphicWindow.cpp
+
1
−
1
View file @
d23432f6
...
@@ -2711,7 +2711,7 @@ graphicWindow::graphicWindow(bool main, int numTiles, bool detachedMenu)
...
@@ -2711,7 +2711,7 @@ graphicWindow::graphicWindow(bool main, int numTiles, bool detachedMenu)
_butt
[
i
]
->
align
(
FL_ALIGN_CENTER
|
FL_ALIGN_INSIDE
|
FL_ALIGN_CLIP
);
_butt
[
i
]
->
align
(
FL_ALIGN_CENTER
|
FL_ALIGN_INSIDE
|
FL_ALIGN_CLIP
);
}
}
x
+=
6
;
x
+=
4
;
_label
=
new
Fl_Progress
(
x
,
mh
+
glheight
+
mheight
+
2
,
width
-
x
,
sht
);
_label
=
new
Fl_Progress
(
x
,
mh
+
glheight
+
mheight
+
2
,
width
-
x
,
sht
);
_label
->
box
(
FL_FLAT_BOX
);
_label
->
box
(
FL_FLAT_BOX
);
_label
->
align
(
FL_ALIGN_LEFT
|
FL_ALIGN_INSIDE
|
FL_ALIGN_CLIP
);
_label
->
align
(
FL_ALIGN_LEFT
|
FL_ALIGN_INSIDE
|
FL_ALIGN_CLIP
);
...
...
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