Makros is available with identical functionality also for PCs with LINUX operating system and for some Unix workstations, only the dialogs have been adapted to X-WINDOW.
For the dialogs Motif is used. The dialogs are to a large extent identical with the shown Windows dialogs in the manual. An exception are drop down lists, here mostly only an editable text window is given, where the required value for the option must be typed in (examples are type ID of elements or coordinate ID of a local coordinate system).
A.2 Resource File
The appearance of the dialogs can in some degrees be altered with some variables, that must be given in a file „Makrosa.res“. The location of the file must be the same as the execution file of makrosa.
The Resource file has the following structure:
Lines beginning with the character # contain only comments.
Definition of variables are given in one line with first the name of the variable followed by the value of the variable, optionally followed by comment beginning with the character #.
Following variables are used:
Variables that define the background color of some dialog elements:
Color values may be given as names as defined in the file „/usr/lib/X11/rgb.txt“ or as rgb values in the form #RRGGBB, for example color „gray95“ has the rgb value #F2F2F2. Following variables for background colors are used:
bgDlgBox: background color of the dialog box,
bgButtonM: background color of menu buttons,
bgButtonH: background color of the button of the active dialog by overlying dialogs in one window,
bgButton: background color of dialog buttons,
bgText: background color of input lines,
Variables that determine the used font with some dialog elements:
Using the X command „xlsfonts“ the names of all installed fonts may be listed and using the command „xfd –fn font name“ the appearance of some fonts may be shown. Following variables for fonts are used:
fontButtonM: font of menu buttons,
fontButton: font of dialog buttons,
fontToggle: font of toggle buttons,
fontLabel: font of labels,
fontLabelBig : font of emphasized labels,
grFont1: font 1 of graphical text with OPENGL,
grFont2: font 2 of graphical text with OPENGL,
grFont3: font 3 of graphical text with OPENGL.
Variable that defines the path of the html help files:
Provided that the html help files are not located in subdirectory „htmlhelp“ of makrosa the full path of these files must be given using the variable „helpPath“ .
Default values of the Resources:
For the resources the following default values are used if the file „makosa.res“ is not found or no values for the variables are given:
A.3 Showing help information
Clicking help button in the dialog Netscape is invoked with the title of the corresponding html file as argument. First invocation of Netscape requires some time, do not terminate Netscape after first invocation, only iconify if, because if Netscape is invoked again, the argument “-remote” is used, that requires that Netscape is still running.
The content of the html help files are identical with the corresponding chapters of this manual. The files are generated out of the doc files using Word for Windows. Because of this, some formats are not correctly shown by Netscape.