]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/item/tab.qc
Merge branch 'terencehill/menu_remove_tab_title' of git://de.git.xonotic.org/xonotic...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / item / tab.qc
index e5f263e45974eea22c4f98c6e482e17d143feede..fbbf77668750c26a27b5e1b1e018e0805d0cb822 100644 (file)
@@ -5,6 +5,8 @@ CLASS(Tab, Dialog)
        ATTRIB(Tab, isTabRoot, float, 0)
        ATTRIB(Tab, closable, float, 0)
        ATTRIB(Tab, rootDialog, float, 0)
+       ATTRIB(Tab, title, string, string_null)
+       ATTRIB(Tab, titleFontSize, float, 0) // pixels
 
        // still to be customized
        ATTRIB(Tab, intendedWidth, float, 0)
@@ -18,6 +20,7 @@ CLASS(Tab, Dialog)
        ATTRIB(Tab, columnSpacing, float, 0) // pixels
        ATTRIB(Tab, rowSpacing, float, 0) // pixels
        ATTRIB(Tab, rowHeight, float, 0) // pixels
+       ATTRIB(Tab, titleHeight, float, 0) // pixels
 
        ATTRIB(Tab, backgroundImage, string, string_null)
 ENDCLASS(Tab)