From 483bd5dc4e3ecafee54ff608674eb7e6361622b3 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 30 Jul 2011 22:20:59 +0000 Subject: Added UI tiny font, have ui::Bitmap respect its color settings, corrected focus jumping to the next visible sibling when hiding widgets, changed ui::ListItem border appereance. --- src/ui/ui.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/ui/ui.h') diff --git a/src/ui/ui.h b/src/ui/ui.h index fc0ce56..855d6ee 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -76,7 +76,12 @@ public: void load_settings(); /* -- fonts ------------------------------------------------ */ - + + /// default tiny font + inline const Font *font_tiny() const { + return ui_font_tiny; + } + /// default small font inline const Font *font_small() const { return ui_font_small; @@ -117,6 +122,7 @@ private: void draw_pointer(); Palette *ui_palette; + Font *ui_font_tiny; Font *ui_font_small; Font *ui_font_large; -- cgit v1.2.3