mirror of
https://github.com/Kapendev/parin.git
synced 2025-04-26 21:19:56 +03:00
Oops...
This commit is contained in:
parent
00e4939fd4
commit
3578950fb0
1 changed files with 4 additions and 0 deletions
|
@ -1408,6 +1408,10 @@ Vec2 measureTextSize(Font font, IStr text, DrawOptions options = DrawOptions())
|
|||
return result;
|
||||
}
|
||||
|
||||
Vec2 measureTextSize(FontId font, IStr text, DrawOptions options = DrawOptions()) {
|
||||
return measureTextSize(font.getOr(), text, options);
|
||||
}
|
||||
|
||||
@trusted
|
||||
bool isPressed(char key) {
|
||||
return rl.IsKeyPressed(toUpper(key));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue