diff options
author | Stijn Buys <ingar@telenet.be> | 2020-07-18 14:49:13 +0200 |
---|---|---|
committer | Stijn Buys <ingar@telenet.be> | 2020-07-18 14:49:13 +0200 |
commit | b19afea9427dde861c990236ab11e23edfeb267c (patch) | |
tree | 6f87e57196649ebe8ba6e2945a82f48bcee1c3d1 /src/ui/font.h | |
parent | 094ac735e16ad94c12bc1d866253f1c1d84a9af6 (diff) |
Completed ui library tooltip implementation.
Diffstat (limited to 'src/ui/font.h')
-rw-r--r-- | src/ui/font.h | 6 |
1 files changed, 6 insertions, 0 deletions
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(); } |