mirror of
https://github.com/Kapendev/parin.git
synced 2025-04-27 13:39:54 +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;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Vec2 measureTextSize(FontId font, IStr text, DrawOptions options = DrawOptions()) {
|
||||||
|
return measureTextSize(font.getOr(), text, options);
|
||||||
|
}
|
||||||
|
|
||||||
@trusted
|
@trusted
|
||||||
bool isPressed(char key) {
|
bool isPressed(char key) {
|
||||||
return rl.IsKeyPressed(toUpper(key));
|
return rl.IsKeyPressed(toUpper(key));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue