X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fbutton.c;h=cbc7c47c40acbb84a88f39c154b7299428559531;hb=4337108fce31bfd194b2e7c01304a4a0cd7fef20;hp=2112c2c5002ae4020e43903d87fb2c0c57f8f698;hpb=b49d3f3ffff847ec761e15fcc6285a736cddcba3;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/button.c b/qcsrc/menu/xonotic/button.c index 2112c2c50..cbc7c47c4 100644 --- a/qcsrc/menu/xonotic/button.c +++ b/qcsrc/menu/xonotic/button.c @@ -10,6 +10,8 @@ CLASS(XonoticButton) EXTENDS(Button) ATTRIB(XonoticButton, colorD, vector, SKINCOLOR_BUTTON_D) ATTRIB(XonoticButton, alpha, float, SKINALPHA_TEXT) ATTRIB(XonoticButton, disabledAlpha, float, SKINALPHA_DISABLED) + ATTRIB(XonoticButton, marginLeft, float, SKINMARGIN_BUTTON) // chars + ATTRIB(XonoticButton, marginRight, float, SKINMARGIN_BUTTON) // chars ENDCLASS(XonoticButton) entity makeXonoticButton(string theText, vector theColor); #endif @@ -23,7 +25,7 @@ entity makeXonoticButton(string theText, vector theColor) return me; } -void configureXonoticButtonXonoticButton(entity me, string theText, vector theColor) +void XonoticButton_configureXonoticButton(entity me, string theText, vector theColor) { if(theColor == '0 0 0') {