]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/button.c
updated version
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / button.c
index 2112c2c5002ae4020e43903d87fb2c0c57f8f698..cbc7c47c40acbb84a88f39c154b7299428559531 100644 (file)
@@ -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')
        {