Roxen.git
/
server
/
base_server
/
mainconfig.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/base_server/mainconfig.pike:1:
inherit "config/builders";
-
string cvs_version = "$Id: mainconfig.pike,v 1.
116
1998
/
11
/
18
04
:
53
:
47
per
Exp $";
+
string cvs_version = "$Id: mainconfig.pike,v 1.
117
1999
/
01
/
15
12
:
34
:
59
neotron
Exp $";
//inherit "roxenlib"; inherit "config/draw_things"; // import Array; // import Stdio; string status_row(object node); string display_tabular_header(object node); object get_template(string t); /* Work-around for Simulate.perror */ #define perror roxen_perror #include <roxen.h> #include <confignode.h> #include <module.h> #define LOCALE LOW_LOCALE->config_interface
-
#define dR
"ff"
-
#define dG
"ff"
-
#define dB
"ff"
+
#define dR
0xff
+
#define dG
0xff
+
#define dB
0xff
-
#define bdR
"00"
-
#define bdG
"50"
-
#define bdB
"90"
+
#define bdR
0x00
+
#define bdG
0x50
+
#define bdB
0x90
#define BODY "<body bgcolor=white text=black link=darkblue vlink=black alink=red>" #define TABLEP(x, y) (id->supports->tables ? x : y) #define PUSH(X) do{res+=({(X)});}while(0) int bar=time(1); multiset changed_port_servers;
Roxen.git/server/base_server/mainconfig.pike:1102:
} object module_font = get_font("base_server/config/font",0,0,0,"left",1.0,1.0); object button_font = get_font("base_server/config/button_font",0,0,0,"left",1.0,1.0); mapping(string:object) my_colortable = ([]); mapping auto_image(string in, object id) { string key, value;
-
array trans = ({
(int)("0x"+dR)
,
(int)("0x"+dG)
,
(int)("0x"+dB)
});
+
array trans = ({
dR
,
dG
,
dB
});
mapping r; mixed e; object i; string img_key = "auto/"+replace(in,"/","_")+".gif"-" "; if(e=file_image(img_key)) return e; if(!sscanf(in, "%s/%s", key, value)) key=in;