aboutsummaryrefslogtreecommitdiff
path: root/src/hyper/initx.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/hyper/initx.pamphlet')
-rw-r--r--src/hyper/initx.pamphlet66
1 files changed, 33 insertions, 33 deletions
diff --git a/src/hyper/initx.pamphlet b/src/hyper/initx.pamphlet
index fd369705..1efef762 100644
--- a/src/hyper/initx.pamphlet
+++ b/src/hyper/initx.pamphlet
@@ -267,8 +267,8 @@ open_form_window(void)
char userdefaults[50], progdefaults[50];
strcpy(progdefaults, "=950x450+0+0");
- if (XrmGetResource(rDB, "Axiom.hyperdoc.FormGeometry",
- "Axiom.hyperdoc.FormGeometry", str_type, &value) == True)
+ if (XrmGetResource(rDB, "OpenAxiom.hyperdoc.FormGeometry",
+ "OpenAxiom.hyperdoc.FormGeometry", str_type, &value) == True)
{
strncpy(userdefaults, value.addr, (int) value.size);
userSpecified = 1;
@@ -409,7 +409,7 @@ get_border_properties(void)
bw = atoi(bwidth);
if (bw < 1) {
fprintf(stderr,
- "%s: The line width value must be greater than zero\n", "Axiom.hyperdoc");
+ "%s: The line width value must be greater than zero\n", "OpenAxiom.hyperdoc");
bw = 1;
}
}
@@ -444,8 +444,8 @@ open_window(Window w)
char userdefaults[50], progdefaults[50];
strcpy(progdefaults, "=700x450+0+0");
- if (XrmGetResource(rDB, "Axiom.hyperdoc.Geometry",
- "Axiom.hyperdoc.Geometry", str_type, &value) == True)
+ if (XrmGetResource(rDB, "OpenAxiom.hyperdoc.Geometry",
+ "OpenAxiom.hyperdoc.Geometry", str_type, &value) == True)
{
strncpy(userdefaults, value.addr, (int) value.size);
}
@@ -538,7 +538,7 @@ set_size_hints(Window w)
else {
/* this is the first window, so lets try to find a nice spot for it */
- if (XrmGetResource(rDB, "Axiom.hyperdoc.Geometry", "Axiom.hyperdoc.Geometry",
+ if (XrmGetResource(rDB, "OpenAxiom.hyperdoc.Geometry", "OpenAxiom.hyperdoc.Geometry",
str_type, &value) == True)
{
strncpy(userdefaults, value.addr, (int) value.size);
@@ -649,15 +649,15 @@ load_font(XFontStruct **font_info, char *fontname)
* This routine initializes all the colors and fonts that the user wishes to
* use. It checks for all the following properties in $HOME/.Xdefaults.
*
- * Axiom.hyperdoc.ActiveColor:
- * Axiom.hyperdoc.Background:
- * Axiom.hyperdoc.EmphasizeColor:
- * Axiom.hyperdoc.EmphasizeFont:
- * Axiom.hyperdoc.Foreground:
- * Axiom.hyperdoc.InputBackground:
- * Axiom.hyperdoc.InputForeground:
- * Axiom.hyperdoc.SpadColor:
- * Axiom.hyperdoc.SpadFont:
+ * OpenAxiom.hyperdoc.ActiveColor:
+ * OpenAxiom.hyperdoc.Background:
+ * OpenAxiom.hyperdoc.EmphasizeColor:
+ * OpenAxiom.hyperdoc.EmphasizeFont:
+ * OpenAxiom.hyperdoc.Foreground:
+ * OpenAxiom.hyperdoc.InputBackground:
+ * OpenAxiom.hyperdoc.InputForeground:
+ * OpenAxiom.hyperdoc.SpadColor:
+ * OpenAxiom.hyperdoc.SpadFont:
*/
static void
@@ -686,8 +686,8 @@ ingItColors_and_fonts(void)
mergeDatabases();
/* fprintf(stderr,"initx:ingItColors_and_fonts:XrmGetResource\n");*/
- if (XrmGetResource(rDB, "Axiom.hyperdoc.RmFont",
- "Axiom.hyperdoc.Font", str_type, &value) == True)
+ if (XrmGetResource(rDB, "OpenAxiom.hyperdoc.RmFont",
+ "OpenAxiom.hyperdoc.Font", str_type, &value) == True)
(void) strncpy(prop, value.addr, (int) value.size);
else
(void) strcpy(prop, RmFontDefault);
@@ -699,8 +699,8 @@ ingItColors_and_fonts(void)
/* fprintf(stderr,"initx:ingItColors_and_fonts:XrmGetResource 2\n");*/
- if (XrmGetResource(rDB, "Axiom.hyperdoc.TtFont",
- "Axiom.hyperdoc.Font", str_type, &value) == True)
+ if (XrmGetResource(rDB, "OpenAxiom.hyperdoc.TtFont",
+ "OpenAxiom.hyperdoc.Font", str_type, &value) == True)
(void) strncpy(prop, value.addr, (int) value.size);
else
(void) strcpy(prop, TtFontDefault);
@@ -711,8 +711,8 @@ ingItColors_and_fonts(void)
gTtFontIs850=is_it_850(gTtFont);
/* fprintf(stderr,"initx:ingItColors_and_fonts:XrmGetResource 5\n");*/
- if (XrmGetResource(rDB, "Axiom.hyperdoc.ActiveFont",
- "Axiom.hyperdoc.Font", str_type, &value) == True)
+ if (XrmGetResource(rDB, "OpenAxiom.hyperdoc.ActiveFont",
+ "OpenAxiom.hyperdoc.Font", str_type, &value) == True)
(void) strncpy(prop, value.addr, (int) value.size);
else
(void) strcpy(prop, ActiveFontDefault);
@@ -723,12 +723,12 @@ ingItColors_and_fonts(void)
/* maintain backwards compatibility */
/* fprintf(stderr,"initx:ingItColors_and_fonts:XrmGetResource 6\n");*/
- if (XrmGetResource(rDB, "Axiom.hyperdoc.AxiomFont",
- "Axiom.hyperdoc.Font", str_type, &value) == True)
+ if (XrmGetResource(rDB, "OpenAxiom.hyperdoc.AxiomFont",
+ "OpenAxiom.hyperdoc.Font", str_type, &value) == True)
(void) strncpy(prop, value.addr, (int) value.size);
else {
- if (XrmGetResource(rDB, "Axiom.hyperdoc.SpadFont",
- "Axiom.hyperdoc.Font", str_type, &value) == True)
+ if (XrmGetResource(rDB, "OpenAxiom.hyperdoc.SpadFont",
+ "OpenAxiom.hyperdoc.Font", str_type, &value) == True)
{
(void) strncpy(prop, value.addr, (int) value.size);
}
@@ -741,8 +741,8 @@ ingItColors_and_fonts(void)
load_font(&gAxiomFont, prop);
/* fprintf(stderr,"initx:ingItColors_and_fonts:XrmGetResource 7\n");*/
- if (XrmGetResource(rDB, "Axiom.hyperdoc.EmphasizeFont",
- "Axiom.hyperdoc.Font", str_type, &value) == True)
+ if (XrmGetResource(rDB, "OpenAxiom.hyperdoc.EmphasizeFont",
+ "OpenAxiom.hyperdoc.Font", str_type, &value) == True)
{
(void) strncpy(prop, value.addr, (int) value.size);
}
@@ -753,8 +753,8 @@ ingItColors_and_fonts(void)
load_font(&gEmFont, prop);
/* fprintf(stderr,"initx:ingItColors_and_fonts:XrmGetResource 8\n");*/
- if (XrmGetResource(rDB, "Axiom.hyperdoc.BoldFont",
- "Axiom.hyperdoc.Font", str_type, &value) == True)
+ if (XrmGetResource(rDB, "OpenAxiom.hyperdoc.BoldFont",
+ "OpenAxiom.hyperdoc.Font", str_type, &value) == True)
{
(void) strncpy(prop, value.addr, (int) value.size);
}
@@ -821,7 +821,7 @@ ingItColors_and_fonts(void)
/* maintain backwards compatibility */
/* fprintf(stderr,"initx:ingItColors_and_fonts:get_color 6\n");*/
- gAxiomColor = get_color("AxiomColor", "Foreground", 0, &cmap);
+ gAxiomColor = get_color("OpenAxiomColor", "Foreground", 0, &cmap);
/* fprintf(stderr,"initx:ingItColors_and_fonts:get_color 7\n");*/
if (gAxiomColor == 0)
gAxiomColor = get_color("SpadColor", "Foreground",
@@ -897,9 +897,9 @@ get_color(char *name, char *class, int def, Colormap *map)
printf("get_color: %s %s %d -> ", name, class, def);
#endif
- strcpy(fullname, "Axiom.hyperdoc.");
+ strcpy(fullname, "OpenAxiom.hyperdoc.");
strcat(fullname, name);
- strcpy(fullclass,"Axiom.hyperdoc.");
+ strcpy(fullclass,"OpenAxiom.hyperdoc.");
strcat(fullclass,class);
if (XrmGetResource(rDB, fullname, fullclass, str_type, &value) == True) {
@@ -936,7 +936,7 @@ mergeDatabases(void)
XrmDatabase homeDB, serverDB, applicationDB;
char filenamebuf[1024];
char *filename = &filenamebuf[0];
- char *classname = "Axiom";
+ char *classname = "OpenAxiom";
char name[255];
/* fprintf(stderr,"initx:mergeDatabases:entered\n");*/