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
64a556c8
Commit
64a556c8
authored
24 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
typos
parent
9087bec8
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
Unix/Help.h
+64
-63
64 additions, 63 deletions
Unix/Help.h
Unix/Widgets.cpp
+6
-6
6 additions, 6 deletions
Unix/Widgets.cpp
with
70 additions
and
69 deletions
Unix/Help.h
+
64
−
63
View file @
64a556c8
/* $Id: Help.h,v 1.
4
2000-12-
05 18:59
:1
7
geuzaine Exp $ */
/* $Id: Help.h,v 1.
5
2000-12-
26 08:13
:1
9
geuzaine Exp $ */
#ifndef _HELP_H_
#ifndef _HELP_H_
#define _HELP_H_
#define _HELP_H_
static
char
txt_help
[]
=
static
char
txt_help
[]
=
"
\n
"
"
\n
"
" (x) stands for
\"
press x
\"\n
"
" (x) stands for
\"
press x
\"\n
"
" (x-y) stands for
\"
press x and, keeping it down, press y
\"\n
"
" (x-y) stands for
\"
press x and, keeping it down, press y
\"\n
"
" C, M and S stand for Control, Meta (or Alt) and Shift
\n
"
" (x-y-z) stands for
\"
press x and, keeping it down, press y and z
\"\n
"
" C, M and S stand for Control, Meta (or Alt) and Shift
\n
"
"
\n
"
"
\n
"
"MOUSE:
\n
"
"MOUSE:
\n
"
"
\n
"
"
\n
"
" move when passing over the entity, highlight it and
\n
"
" move . highlight the elementary geometrical entity
\n
"
" display its properties on the bottom line
\n
"
" currently under the mouse pointer and display
\n
"
" size a rubber zoom started with (C-left)
\n
"
" its properties in the status bar
\n
"
" . size a rubber zoom started with (C-left)
\n
"
"
\n
"
"
\n
"
" (left) apply rotation
\n
"
" (left) . rotate
\n
"
" accept a rubber zoom started by (C-left)
\n
"
" . accept a rubber zoom started by (C-left)
\n
"
" (middle) zoom
\n
"
" (middle) . zoom (isotropic)
\n
"
" cancel a rubber zoom
\n
"
" . cancel a rubber zoom
\n
"
" (right) pan X (horizontal move)
\n
"
" (right) . pan
\n
"
" pan Y (vertical move)
\n
"
" . cancel a rubber zoom
\n
"
" cancel a rubber zoom
\n
"
" . pop up menu on module name
\n
"
" popup menu on module name
\n
"
" . pop up menu on post-processing view button
\n
"
" popup menu on post processor toggle buttons
\n
"
"
\n
"
"
\n
"
" (C-left) start
a
rubber zoom
\n
"
" (C-left)
start
(anisotropic)
rubber zoom
\n
"
" (C-middle)
re-
orthogonali
s
e
viewport
\n
"
" (C-middle)
orthogonali
z
e
display
\n
"
" (C-right) reset viewpo
r
t to default
\n
"
" (C-right)
reset viewpo
in
t to default
\n
"
"
\n
"
"
\n
"
"KEYBOARD:
\n
"
"KEYBOARD:
\n
"
"
\n
"
"
\n
"
"No modifier: basic module interaction
\n
"
"No modifier: basic module interaction
\n
"
"
\n
"
"
\n
"
" (0) re
parse
file
\n
"
" (0)
re
load input
file
\n
"
" (1),
(f
1) mesh
lin
es
\n
"
" (1),
(F
1) mesh
curv
es
\n
"
" (2),
(f
2) mesh surfaces
\n
"
" (2),
(F
2) mesh surfaces
\n
"
" (3),
(f
3) mesh volumes
\n
"
" (3),
(F
3) mesh volumes
\n
"
" (g) go to geometry module
\n
"
" (g)
go to geometry module
\n
"
" (m) go to mesh module
\n
"
" (m)
go to mesh module
\n
"
" (p) go to post processor module
\n
"
" (p)
go to post processor module
\n
"
"
\n
"
"
\n
"
"Control modifier:
popup
file menu
s
\n
"
"Control modifier: file menu
\n
"
"
\n
"
"
\n
"
" (C-a),(C-c) abort mesh thread
\n
"
" (C-q) quit
\n
"
" (C-q) quit
\n
"
" (C-o) hide/show open file dialog
\n
"
" (C-o) hide/show open file dialog
\n
"
" (C-p) hide/show save/print dialog
\n
"
" (C-p) hide/show print dialog
\n
"
" (C-m) hide/show merge file dialog
\n
"
" (C-m) hide/show merge file dialog
\n
"
" (C-s) quick mesh save
\n
"
" (C-s) quick mesh save
\n
"
" (C-S-s) hide/show save mesh dialog
\n
"
"
\n
"
"
\n
"
"Shift modifier: popup option menus
\n
"
"Shift modifier: pop
up option menus
\n
"
"
\n
"
"
\n
"
" (S-g) hide/show geometry options
\n
"
" (S-g)
hide/show geometry options
\n
"
" (S-i) hide/show statistics window
\n
"
" (S-i)
hide/show statistics window
\n
"
" (S-m) hide/show mesh options
\n
"
" (S-m)
hide/show mesh options
\n
"
" (S-o) hide/show miscellaneous options
\n
"
" (S-o)
hide/show miscellaneous options
\n
"
" (S-p) hide/show post
process
or
general options
\n
"
" (S-p)
hide/show post
-
process
ing
general options
\n
"
" (S-v) hide/show viewpo
r
t options
\n
"
" (S-v)
hide/show viewpo
in
t options
\n
"
"
\n
"
"
\n
"
"Meta (Alt) modifier: quick shortcuts (no popup)
\n
"
"Meta (Alt) modifier: quick shortcuts (no pop
up)
\n
"
"
\n
"
"
\n
"
" (M-a) hide/show 2D axes
\n
"
" (M-a) hide/show small axes
\n
"
" (M-S-a) hide/show 3D axes
\n
"
" (M-S-a) hide/show big moving axes
\n
"
" (M-b) hide/show all post processing scales
\n
"
" (M-b) hide/show all post processing scales
\n
"
" (M-c) alternate between predefined color modes
\n
"
" (M-c) alternate between predefined color schemes
\n
"
" (M-d) alternate between mesh wireframe, hidden lines and shading modes
\n
"
" (M-d) alternate between mesh wire frame, hidden lines
\n
"
" (M-f) toggle redraw mode (fast/display all)
\n
"
" and shading modes
\n
"
" (M-h) toggle highlight mode
\n
"
" (M-f) toggle redraw mode (fast/full)
\n
"
" (M-l) hide/show geometry lines
\n
"
" (M-h) toggle highlight mode
\n
"
" (M-S-l) hide/show mesh lines
\n
"
" (M-l) hide/show geometry lines
\n
"
" (M-m) toggle all mesh entities visibility
\n
"
" (M-S-l) hide/show mesh lines
\n
"
" (M-o) change projection mode
\n
"
" (M-m) toggle all mesh entities visibility
\n
"
" (M-p) hide/show geometry points
\n
"
" (M-o) change projection mode
\n
"
" (M-S-p) hide/show mesh points
\n
"
" (M-p) hide/show geometry points
\n
"
" (M-s) hide/show geometry surfaces
\n
"
" (M-S-p) hide/show mesh points
\n
"
" (M-S-s) hide/show mesh surfaces
\n
"
" (M-s) hide/show geometry surfaces
\n
"
" (M-v) hide/show geometry volumes
\n
"
" (M-S-s) hide/show mesh surfaces
\n
"
" (M-S-v) hide/show mesh volumes
\n
"
" (M-t) alternate intervals mode for all post-processing
\n
"
" (M-x) set X view
\n
"
" views
\n
"
" (M-y) set Y view
\n
"
" (M-v) hide/show geometry volumes
\n
"
" (M-z) set Z view
\n
"
" (M-S-v) hide/show mesh volumes
\n
"
" (M-t) alternate intervals mode in post-processing
\n
"
" (M-x) set X view
\n
"
" (M-y) set Y view
\n
"
" (M-z) set Z view
\n
"
"
\n
"
"
\n
"
;
;
...
...
This diff is collapsed.
Click to expand it.
Unix/Widgets.cpp
+
6
−
6
View file @
64a556c8
/* $Id: Widgets.cpp,v 1.2
3
2000-12-2
1 14:5
3:1
0
geuzaine Exp $ */
/* $Id: Widgets.cpp,v 1.2
4
2000-12-2
6 08:1
3:1
9
geuzaine Exp $ */
#include
"Gmsh.h"
#include
"Gmsh.h"
#include
"GmshUI.h"
#include
"GmshUI.h"
...
@@ -239,7 +239,7 @@ void CreateWidgets_M(Widgets_T *w){
...
@@ -239,7 +239,7 @@ void CreateWidgets_M(Widgets_T *w){
XtManageChild
(
w
->
M
.
helpSep
[
0
]);
XtManageChild
(
w
->
M
.
helpSep
[
0
]);
i
=
0
;
i
=
0
;
XtSetArg
(
arg
[
i
],
XmNlabelString
,
XmStringCreateSimple
(
"About
Gmsh
..."
));
i
++
;
XtSetArg
(
arg
[
i
],
XmNlabelString
,
XmStringCreateSimple
(
"About..."
));
i
++
;
w
->
M
.
helpButt
[
1
]
=
XmCreatePushButton
(
w
->
M
.
helpPane
,
"MhelpButt1"
,
arg
,
i
);
w
->
M
.
helpButt
[
1
]
=
XmCreatePushButton
(
w
->
M
.
helpPane
,
"MhelpButt1"
,
arg
,
i
);
XtManageChild
(
w
->
M
.
helpButt
[
1
]);
XtManageChild
(
w
->
M
.
helpButt
[
1
]);
...
@@ -1228,7 +1228,7 @@ void CreateWidgets_OD(Widgets_T *w){
...
@@ -1228,7 +1228,7 @@ void CreateWidgets_OD(Widgets_T *w){
XtSetArg
(
arg
[
i
],
XmNminimum
,
0
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNminimum
,
0
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNmaximum
,
100
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNmaximum
,
100
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNdecimalPoints
,
1
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNdecimalPoints
,
1
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNshowValue
,
t
rue
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNshowValue
,
T
rue
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNvalue
,
CTX
.
post
.
anim_delay
/
1.e5
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNvalue
,
CTX
.
post
.
anim_delay
/
1.e5
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNorientation
,
XmHORIZONTAL
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNorientation
,
XmHORIZONTAL
);
i
++
;
w
->
OD
.
postAnimScale
=
XmCreateScale
(
w
->
OD
.
postAnimFrameRowCol
,
"ODpostAnimScale"
,
arg
,
i
);
w
->
OD
.
postAnimScale
=
XmCreateScale
(
w
->
OD
.
postAnimFrameRowCol
,
"ODpostAnimScale"
,
arg
,
i
);
...
@@ -1321,7 +1321,7 @@ void CreateWidgets_OD(Widgets_T *w){
...
@@ -1321,7 +1321,7 @@ void CreateWidgets_OD(Widgets_T *w){
XtSetArg
(
arg
[
i
],
XmNminimum
,
0
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNminimum
,
0
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNmaximum
,
2
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNmaximum
,
2
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNdecimalPoints
,
0
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNdecimalPoints
,
0
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNshowValue
,
t
rue
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNshowValue
,
T
rue
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNvalue
,
CTX
.
color
.
id
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNvalue
,
CTX
.
color
.
id
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNorientation
,
XmHORIZONTAL
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNorientation
,
XmHORIZONTAL
);
i
++
;
w
->
OD
.
miscColorSchemeScale
=
XmCreateScale
(
w
->
OD
.
miscColorSchemeFrameRowCol
,
"ODmiscColorSchemeScale"
,
arg
,
i
);
w
->
OD
.
miscColorSchemeScale
=
XmCreateScale
(
w
->
OD
.
miscColorSchemeFrameRowCol
,
"ODmiscColorSchemeScale"
,
arg
,
i
);
...
@@ -1402,7 +1402,7 @@ void CreateWidgets_OD(Widgets_T *w){
...
@@ -1402,7 +1402,7 @@ void CreateWidgets_OD(Widgets_T *w){
XtSetArg
(
arg
[
i
],
XmNminimum
,
0
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNminimum
,
0
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNmaximum
,
25
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNmaximum
,
25
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNdecimalPoints
,
0
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNdecimalPoints
,
0
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNshowValue
,
f
alse
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNshowValue
,
F
alse
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNvalue
,
(
int
)
25
*
CTX
.
shine
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNvalue
,
(
int
)
25
*
CTX
.
shine
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNorientation
,
XmHORIZONTAL
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNorientation
,
XmHORIZONTAL
);
i
++
;
w
->
OD
.
miscShineScale
=
XmCreateScale
(
w
->
OD
.
miscShineFrameRowCol
,
"ODmiscShineScale"
,
arg
,
i
);
w
->
OD
.
miscShineScale
=
XmCreateScale
(
w
->
OD
.
miscShineFrameRowCol
,
"ODmiscShineScale"
,
arg
,
i
);
...
@@ -1724,7 +1724,7 @@ void CreateWidgets_HD(Widgets_T *w){
...
@@ -1724,7 +1724,7 @@ void CreateWidgets_HD(Widgets_T *w){
/* about */
/* about */
i
=
0
;
i
=
0
;
XtSetArg
(
arg
[
i
],
XmNdialogTitle
,
XmStringCreateSimple
(
"About Gmsh
...
"
));
i
++
;
XtSetArg
(
arg
[
i
],
XmNdialogTitle
,
XmStringCreateSimple
(
"About Gmsh"
));
i
++
;
XtSetArg
(
arg
[
i
],
XmNautoUnmanage
,
True
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNautoUnmanage
,
True
);
i
++
;
XtSetArg
(
arg
[
i
],
XmNmessageString
,
XmStringCreateLtoR
(
TextAbout
,
XmFONTLIST_DEFAULT_TAG
));
i
++
;
XtSetArg
(
arg
[
i
],
XmNmessageString
,
XmStringCreateLtoR
(
TextAbout
,
XmFONTLIST_DEFAULT_TAG
));
i
++
;
w
->
HD
.
aboutDialog
=
XmCreateInformationDialog
(
w
->
M
.
shell
,
"HDaboutDialog"
,
arg
,
i
);
w
->
HD
.
aboutDialog
=
XmCreateInformationDialog
(
w
->
M
.
shell
,
"HDaboutDialog"
,
arg
,
i
);
...
...
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