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
ce2f9bd4
Commit
ce2f9bd4
authored
18 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
*** empty log message ***
parent
746311af
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Common/GmshUI.h
+0
-2
0 additions, 2 deletions
Common/GmshUI.h
Fltk/GUI.cpp
+4
-69
4 additions, 69 deletions
Fltk/GUI.cpp
Fltk/GUI_Extras.cpp
+1
-9
1 addition, 9 deletions
Fltk/GUI_Extras.cpp
with
5 additions
and
80 deletions
Common/GmshUI.h
+
0
−
2
View file @
ce2f9bd4
...
...
@@ -39,8 +39,6 @@
# include <GL/glu.h>
# endif
# define GMSH_WINDOW_BOX FL_FLAT_BOX
// fixes the antialiasing problem with default box type (FL_NO_BOX)
# define GMSH_CHECK_BUTTON_BOX FL_FLAT_BOX
#endif
#endif
This diff is collapsed.
Click to expand it.
Fltk/GUI.cpp
+
4
−
69
View file @
ce2f9bd4
This diff is collapsed.
Click to expand it.
Fltk/GUI_Extras.cpp
+
1
−
9
View file @
ce2f9bd4
// $Id: GUI_Extras.cpp,v 1.2
5
2006-09-23 15:
39:13
geuzaine Exp $
// $Id: GUI_Extras.cpp,v 1.2
6
2006-09-23 15:
54:20
geuzaine Exp $
//
// Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
//
...
...
@@ -254,7 +254,6 @@ int jpeg_dialog(char *name)
dialog
->
s
[
1
]
->
step
(
1
);
dialog
->
b
=
new
Fl_Check_Button
(
WB
,
y
,
2
*
BB
+
WB
,
BH
,
"Print text strings"
);
y
+=
BH
;
dialog
->
b
->
type
(
FL_TOGGLE_BUTTON
);
dialog
->
b
->
box
(
GMSH_CHECK_BUTTON_BOX
);
dialog
->
ok
=
new
Fl_Return_Button
(
WB
,
y
+
WB
,
BB
,
BH
,
"OK"
);
dialog
->
cancel
=
new
Fl_Button
(
2
*
WB
+
BB
,
y
+
WB
,
BB
,
BH
,
"Cancel"
);
dialog
->
window
->
set_modal
();
...
...
@@ -312,7 +311,6 @@ int generic_bitmap_dialog(char *name, char *title, int format)
dialog
->
window
->
box
(
GMSH_WINDOW_BOX
);
dialog
->
b
=
new
Fl_Check_Button
(
WB
,
y
,
2
*
BB
+
WB
,
BH
,
"Print text strings"
);
y
+=
BH
;
dialog
->
b
->
type
(
FL_TOGGLE_BUTTON
);
dialog
->
b
->
box
(
GMSH_CHECK_BUTTON_BOX
);
dialog
->
ok
=
new
Fl_Return_Button
(
WB
,
y
+
WB
,
BB
,
BH
,
"OK"
);
dialog
->
cancel
=
new
Fl_Button
(
2
*
WB
+
BB
,
y
+
WB
,
BB
,
BH
,
"Cancel"
);
dialog
->
window
->
set_modal
();
...
...
@@ -372,7 +370,6 @@ int gif_dialog(char *name)
dialog
->
b
[
4
]
=
new
Fl_Check_Button
(
WB
,
y
,
2
*
BB
+
WB
,
BH
,
"Print text strings"
);
y
+=
BH
;
for
(
int
i
=
0
;
i
<
5
;
i
++
){
dialog
->
b
[
i
]
->
type
(
FL_TOGGLE_BUTTON
);
dialog
->
b
[
i
]
->
box
(
GMSH_CHECK_BUTTON_BOX
);
}
dialog
->
ok
=
new
Fl_Return_Button
(
WB
,
y
+
WB
,
BB
,
BH
,
"OK"
);
dialog
->
cancel
=
new
Fl_Button
(
2
*
WB
+
BB
,
y
+
WB
,
BB
,
BH
,
"Cancel"
);
...
...
@@ -489,7 +486,6 @@ int gl2ps_dialog(char *name, char *title, int format)
dialog
->
b
[
5
]
=
new
Fl_Check_Button
(
WB
,
y
,
2
*
BB
+
WB
,
BH
,
"Print text strings"
);
y
+=
BH
;
for
(
int
i
=
0
;
i
<
6
;
i
++
){
dialog
->
b
[
i
]
->
type
(
FL_TOGGLE_BUTTON
);
dialog
->
b
[
i
]
->
box
(
GMSH_CHECK_BUTTON_BOX
);
}
dialog
->
ok
=
new
Fl_Return_Button
(
WB
,
y
+
WB
,
BB
,
BH
,
"OK"
);
dialog
->
cancel
=
new
Fl_Button
(
2
*
WB
+
BB
,
y
+
WB
,
BB
,
BH
,
"Cancel"
);
...
...
@@ -565,11 +561,9 @@ int options_dialog(char *name)
dialog
->
b
[
0
]
=
new
Fl_Check_Button
(
WB
,
y
,
2
*
BB
+
WB
,
BH
,
"Save only modified options"
);
y
+=
BH
;
dialog
->
b
[
0
]
->
value
(
1
);
dialog
->
b
[
0
]
->
type
(
FL_TOGGLE_BUTTON
);
dialog
->
b
[
0
]
->
box
(
GMSH_CHECK_BUTTON_BOX
);
dialog
->
b
[
1
]
=
new
Fl_Check_Button
(
WB
,
y
,
2
*
BB
+
WB
,
BH
,
"Print help strings"
);
y
+=
BH
;
dialog
->
b
[
1
]
->
value
(
1
);
dialog
->
b
[
1
]
->
type
(
FL_TOGGLE_BUTTON
);
dialog
->
b
[
1
]
->
box
(
GMSH_CHECK_BUTTON_BOX
);
dialog
->
ok
=
new
Fl_Return_Button
(
WB
,
y
+
WB
,
BB
,
BH
,
"OK"
);
dialog
->
cancel
=
new
Fl_Button
(
2
*
WB
+
BB
,
y
+
WB
,
BB
,
BH
,
"Cancel"
);
dialog
->
window
->
set_modal
();
...
...
@@ -632,7 +626,6 @@ int msh_dialog(char *name)
dialog
->
c
->
align
(
FL_ALIGN_RIGHT
);
dialog
->
b
=
new
Fl_Check_Button
(
WB
,
y
,
2
*
BB
+
WB
,
BH
,
"Save all (ignore physicals)"
);
y
+=
BH
;
dialog
->
b
->
type
(
FL_TOGGLE_BUTTON
);
dialog
->
b
->
box
(
GMSH_CHECK_BUTTON_BOX
);
dialog
->
ok
=
new
Fl_Return_Button
(
WB
,
y
+
WB
,
BB
,
BH
,
"OK"
);
dialog
->
cancel
=
new
Fl_Button
(
2
*
WB
+
BB
,
y
+
WB
,
BB
,
BH
,
"Cancel"
);
dialog
->
window
->
set_modal
();
...
...
@@ -692,7 +685,6 @@ int unv_dialog(char *name)
dialog
->
window
->
box
(
GMSH_WINDOW_BOX
);
dialog
->
b
=
new
Fl_Check_Button
(
WB
,
y
,
2
*
BB
+
WB
,
BH
,
"Save all (ignore physicals)"
);
y
+=
BH
;
dialog
->
b
->
type
(
FL_TOGGLE_BUTTON
);
dialog
->
b
->
box
(
GMSH_CHECK_BUTTON_BOX
);
dialog
->
ok
=
new
Fl_Return_Button
(
WB
,
y
+
WB
,
BB
,
BH
,
"OK"
);
dialog
->
cancel
=
new
Fl_Button
(
2
*
WB
+
BB
,
y
+
WB
,
BB
,
BH
,
"Cancel"
);
dialog
->
window
->
set_modal
();
...
...
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