r3326 - in trunk/data/qcsrc/menu: item nexuiz
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Thu Jan 31 19:21:54 EST 2008
Author: div0
Date: 2008-01-31 19:21:54 -0500 (Thu, 31 Jan 2008)
New Revision: 3326
Modified:
trunk/data/qcsrc/menu/item/dialog.c
trunk/data/qcsrc/menu/nexuiz/tabcontroller.c
Log:
fix some items not getting affected by alpha
Modified: trunk/data/qcsrc/menu/item/dialog.c
===================================================================
--- trunk/data/qcsrc/menu/item/dialog.c 2008-01-31 20:19:09 UTC (rev 3325)
+++ trunk/data/qcsrc/menu/item/dialog.c 2008-02-01 00:21:54 UTC (rev 3326)
@@ -131,6 +131,7 @@
me.frame.configureBorderImage(me.frame, me.title, me.titleFontSize, me.color, me.backgroundImage, me.titleHeight);
me.frame.zoomedOutTitleBarPosition = me.zoomedOutTitleBarPosition;
me.frame.zoomedOutTitleBar = me.zoomedOutTitleBar;
+ me.frame.alpha = me.alpha;
me.addItem(me, me.frame, '0 0 0', '1 1 0', 1);
if not(me.titleFontSize)
Modified: trunk/data/qcsrc/menu/nexuiz/tabcontroller.c
===================================================================
--- trunk/data/qcsrc/menu/nexuiz/tabcontroller.c 2008-01-31 20:19:09 UTC (rev 3325)
+++ trunk/data/qcsrc/menu/nexuiz/tabcontroller.c 2008-02-01 00:21:54 UTC (rev 3326)
@@ -26,9 +26,8 @@
entity b;
if(me.rows != tab.rows)
error("Tab dialog height mismatch!");
- b = spawnButton();
- b.configureButton(b, theTitle, me.fontSize, me.image);
- me.addTab(me, tab, b);
+ b = makeNexuizButton(theTitle, '0 0 0');
+ me.addTab(me, tab, b);
// TODO make this real tab buttons (with color parameters, and different gfx)
return b;
}
More information about the nexuiz-commits
mailing list