Ignore:
Timestamp:
Mar 16, 2008, 2:41:59 PM (11 years ago)
Author:
Sam Hocevar
Message:
  • Got rid of all the remaining occurrences of WINDOW_FRAME_*.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/netcfg.cpp

    r111 r113  
    169169{
    170170  ifield *ilist=NULL;
    171   int x=WINDOW_FRAME_LEFT,y=WINDOW_FRAME_TOP;
     171  int x=0,y=0;
    172172 
    173   jwindow *sv=wm->new_window(50,80,-1,-1,new button(WINDOW_FRAME_LEFT,WINDOW_FRAME_TOP,NET_SERVER,symbol_str("server"),
    174                                      new button(WINDOW_FRAME_LEFT,WINDOW_FRAME_TOP+wm->font()->height()*2,NET_CLIENT,symbol_str("client"),
    175                                      new button(WINDOW_FRAME_LEFT,WINDOW_FRAME_TOP+wm->font()->height()*4,NET_SINGLE,symbol_str("single_play"),
    176                                      new button(WINDOW_FRAME_LEFT,WINDOW_FRAME_TOP+wm->font()->height()*6,NET_CANCEL,symbol_str("cancel_net"),
     173  jwindow *sv=wm->new_window(50,80,-1,-1,new button(0,0,NET_SERVER,symbol_str("server"),
     174                                     new button(0,wm->font()->height()*2,NET_CLIENT,symbol_str("client"),
     175                                     new button(0,wm->font()->height()*4,NET_SINGLE,symbol_str("single_play"),
     176                                     new button(0,wm->font()->height()*6,NET_CANCEL,symbol_str("cancel_net"),
    177177                                                NULL)))),symbol_str("Networking"));
    178178
Note: See TracChangeset for help on using the changeset viewer.