Revert "Minor change."
authorSahil Singhal <sahil@sahil-desktop.(none)>
Fri, 11 Jun 2010 21:08:24 +0000 (17:08 -0400)
committerSahil Singhal <sahil@sahil-desktop.(none)>
Fri, 11 Jun 2010 21:08:24 +0000 (17:08 -0400)
This reverts commit 2ba13dbd1b2424359c98da991714f9cacec94a8c.

qcsrc/menu/xonotic/dialog_hudpanel_options.c

index 8f53465575f9ea19ed218a1ecca7984676616123..77655230cfc3b19ca2bd53768f86c736e4ef337d 100644 (file)
@@ -1,7 +1,7 @@
 #ifdef INTERFACE
 CLASS(XonoticHUDOptionsDialog) EXTENDS(XonoticRootDialog)
        METHOD(XonoticHUDOptionsDialog, fill, void(entity))
-       ATTRIB(XonoticHUDOptionsDialog, title, string, "Panel Options")
+       ATTRIB(XonoticHUDOptionsDialog, title, string, "HUD Setup")
        ATTRIB(XonoticHUDOptionsDialog, color, vector, SKINCOLOR_DIALOG_TEAMSELECT)
        ATTRIB(XonoticHUDOptionsDialog, intendedWidth, float, 0.4)
        ATTRIB(XonoticHUDOptionsDialog, rows, float, 15)
@@ -15,17 +15,7 @@ ENDCLASS(XonoticHUDOptionsDialog)
 void fillXonoticHUDOptionsDialog(entity me)
 {
        entity e;
-       float panelID;
        me.TR(me);
        
-       panelID = cvar("_hud_panel_id");
-       if(panelID >= 0) 
-       {
-               me.TR(me);
-                       me.TDempty(me, 0.2);
-                       me.TD(me, 1, 1.2, e = makeNexuizTextLabel(0, "Alpha:"));
-                       me.TD(me, 1, 2.6, e = makeNexuizSlider(0, 1, 0.01, "hud_", HUD_Panel_GetName(panelID), "_bg_alpha"));
-       }
-       
 }
 #endif