Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/ui/ui.h
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2011-07-30 22:20:59 +0000
committerStijn Buys <ingar@osirion.org>2011-07-30 22:20:59 +0000
commit483bd5dc4e3ecafee54ff608674eb7e6361622b3 (patch)
tree2bb413e0f67fae1ce076a2c18783c7df568cbb84 /src/ui/ui.h
parent9651df184a3fb433411fe233d9e1cfe3a1960c48 (diff)
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.
Diffstat (limited to 'src/ui/ui.h')
-rw-r--r--src/ui/ui.h8
1 files changed, 7 insertions, 1 deletions
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;