mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add font styling options to tables and textlists (#10203)
This commit is contained in:
parent
abfea69e5f
commit
cd0e213a36
3 changed files with 34 additions and 1 deletions
|
@ -123,6 +123,12 @@ public:
|
|||
// 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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue