From b19afea9427dde861c990236ab11e23edfeb267c Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 18 Jul 2020 14:49:13 +0200 Subject: Completed ui library tooltip implementation. --- src/ui/font.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/ui/font.h') diff --git a/src/ui/font.h b/src/ui/font.h index b91120e..be08cfd 100644 --- a/src/ui/font.h +++ b/src/ui/font.h @@ -27,10 +27,16 @@ public: return font_size; } + /** + * @brief width of a single character + * */ inline float width() const { return font_size.width(); } + /** + * @height width of a single character + * */ inline float height() const { return font_size.height(); } -- cgit v1.2.3