Roxen.git / server / base_server / mainconfig.pike

version» Context lines:

Roxen.git/server/base_server/mainconfig.pike:1:   inherit "config/builders"; - string cvs_version = "$Id: mainconfig.pike,v 1.92 1998/02/05 00:59:16 js Exp $"; + string cvs_version = "$Id: mainconfig.pike,v 1.93 1998/02/05 01:09:55 grubba Exp $";   //inherit "roxenlib"; - import Image; +       inherit "config/draw_things";      import Array;   import Stdio;      string status_row(object node);   string display_tabular_header(object node);   object get_template(string t);   
Roxen.git/server/base_server/mainconfig.pike:31:      #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;      class Node {    inherit "struct/node";    -  import Simulate; -  +     mixed original;    int changed, moredocs;    int bar=time();    function saver;    string|array error;       void change(int i)    {    changed += i;    if(up) up->change(i);
Roxen.git/server/base_server/mainconfig.pike:1122:    case "unselected":    i=draw_unselected_button(value,button_font);    break;    }       if (!i) return 0;       object ct;       if (!(ct=my_colortable[key])) -  ct=my_colortable[key]=colortable(i,256,4,4,4); +  ct=my_colortable[key]=Image.colortable(i,256,4,4,4);   // colortable(4,4,8,   // ({0,0,0}),({255,255,0}),16,   // ({0,0,0}),({170,170,255}),48,   // )    object o = open("roxen-images/"+img_key,"wct"); -  e=GIF.encode(i,ct); +  e=Image.GIF.encode(i,ct);    i=0;    if(o) { o->write(e); o=0; }   #ifdef DEBUG    else {perror("Cannot open file for "+in+"\n");}   #endif    return http_string_answer(e,"image/gif");   }         string remove_font(string t, mapping m, string c)