]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/gui/guiTable.h
Fix revoke debug privs not reliably turn off stuff (#11409)
[dragonfireclient.git] / src / gui / guiTable.h
index 1893be5c3ab3a61c3735b6e73c9d70d96f9ac774..76a0e94d0d074ba73c060d9a3d370ce1f40a2db5 100644 (file)
@@ -123,6 +123,12 @@ class GUITable : public gui::IGUIElement
        // Autoscroll to make the selected row fully visible
        void setSelected(s32 index);
 
+       //! Sets another skin independent font. If this is set to zero, the button uses the font of the skin.
+       virtual void setOverrideFont(gui::IGUIFont *font = nullptr);
+
+       //! Gets the override font (if any)
+       virtual gui::IGUIFont *getOverrideFont() const;
+
        /* Get selection, scroll position and opened (sub)trees */
        DynamicData getDynamicData() const;
 
@@ -199,7 +205,7 @@ class GUITable : public gui::IGUIElement
        video::SColor m_highlight_text = video::SColor(255, 255, 255, 255);
        s32 m_rowheight = 1;
        gui::IGUIFont *m_font = nullptr;
-       guiScrollBar *m_scrollbar = nullptr;
+       GUIScrollBar *m_scrollbar = nullptr;
 
        // Allocated strings and images
        std::vector<core::stringw> m_strings;