Skip to content
Snippets Groups Projects
Commit 64a556c8 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

typos

parent 9087bec8
Branches
Tags
No related merge requests found
/* $Id: Help.h,v 1.4 2000-12-05 18:59:17 geuzaine Exp $ */ /* $Id: Help.h,v 1.5 2000-12-26 08:13:19 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-orthogonalise viewport\n" " (C-middle) orthogonalize display\n"
" (C-right) reset viewport to default\n" " (C-right) reset viewpoint 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) reparse file\n" " (0) reload input file\n"
" (1),(f1) mesh lines\n" " (1), (F1) mesh curves\n"
" (2),(f2) mesh surfaces\n" " (2), (F2) mesh surfaces\n"
" (3),(f3) mesh volumes\n" " (3), (F3) 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 menus\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 processor general options\n" " (S-p) hide/show post-processing general options\n"
" (S-v) hide/show viewport options\n" " (S-v) hide/show viewpoint 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"
; ;
......
/* $Id: Widgets.cpp,v 1.23 2000-12-21 14:53:10 geuzaine Exp $ */ /* $Id: Widgets.cpp,v 1.24 2000-12-26 08:13:19 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, true); i++; XtSetArg(arg[i], XmNshowValue, True); 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, true); i++; XtSetArg(arg[i], XmNshowValue, True); 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, false); i++; XtSetArg(arg[i], XmNshowValue, False); 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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment