home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2000 February / Gamestar_15_2000-02_cd1.bin / Patche / BZ2BetaPatch101b.exe / addon / bzshell_multi_scanning.cfg < prev    next >
Text File  |  2000-01-01  |  1KB  |  71 lines

  1. // ================
  2. // BATTLEZONE SHELL
  3. // ================
  4.  
  5. //
  6. // CREATE THE NAME DIALOG
  7. //
  8.  
  9. CreateControl("NetworkScanning", "WINDOW")
  10. {    
  11.     // inherit root window's dimensions
  12.     Geometry("PARENTWIDTH", "PARENTHEIGHT");
  13.  
  14.     ColorGroup("BACKGROUND");
  15.  
  16.     Style("MODAL");
  17.  
  18.     CreateControl("Scanning", "WINDOW")
  19.     {
  20.  
  21.         Geometry("LEFT", "TOP");
  22.         ColorGroup("MAGENTA");
  23.         Position(200, 120);
  24.         Size(200, 70);
  25.         BorderSize(10);
  26.         BevelSize(5);
  27.         TabSize(150, 10);
  28.         Style("OUTLINE");
  29.         Title("Info");
  30.         TitleFont("MEDIUM");
  31.  
  32.         CreateControl("MessageString", "STATIC")
  33.             {
  34.                 ColorGroup("LISTBOX");
  35.                 Style("VSLIDER");
  36.  
  37.                 Geometry("TOP", "LEFT");
  38.                 Position(10, 10);
  39.                 Size(180, 30);
  40.                 BorderSize(5);
  41.                 BevelSize(3);
  42.                 Font("SMALL");
  43.                 Text("Scanning for sessions...");
  44.             }
  45.  
  46.         CreateControl("CancelButton", "BUTTON")
  47.         {
  48.             ColorGroup("BLACKBLUE");
  49.             Geometry("LEFT", "TOP");
  50.             Position(50, 55);
  51.             Size(100, 10);
  52.             BorderSize(3);
  53.             BevelSize(3);
  54.             Style("ROLLOVER", "OUTLINE");
  55.             Cursor("Highlight");
  56.             Font("SMALL");
  57.             Text("Cancel");
  58.             NotifyParent("Button::Press","DoCancel");
  59.         }
  60.          
  61.         OnEvent("DoCancel")
  62.         {
  63.             Cmd("network.session.cancelscanning");
  64.         }
  65.  
  66.  
  67.     }
  68. }
  69.  
  70.  
  71.