Update laf module (fix #5240)

This commit is contained in:
David Capello 2025-06-23 17:56:38 -03:00
parent f7040190cc
commit 2ee8c68d94
3 changed files with 6 additions and 1 deletions

2
laf

@ -1 +1 @@
Subproject commit 48785005692948ab44c87b8635741476cd346800 Subproject commit 274f57f54869f8e5d12baff902865533d2a34a44

View File

@ -72,6 +72,10 @@ In Debug mode (`_DEBUG`):
* [`TRACEARGS`](https://github.com/aseprite/laf/blob/f3222bdee2d21556e9da55343e73803c730ecd97/base/debug.h#L40): * [`TRACEARGS`](https://github.com/aseprite/laf/blob/f3222bdee2d21556e9da55343e73803c730ecd97/base/debug.h#L40):
in debug mode, it prints in the terminal/console each given argument in debug mode, it prints in the terminal/console each given argument
In release mode you can use a similar function:
* `PRINTARGS` prints in the terminal/console each given argument
# Detect Platform # Detect Platform
You can check the platform using some `laf` macros: You can check the platform using some `laf` macros:

View File

@ -14,6 +14,7 @@
#include "text/font.h" #include "text/font.h"
#include "text/font_mgr.h" #include "text/font_mgr.h"
#include "text/sprite_sheet_font.h" #include "text/sprite_sheet_font.h"
#include "text/typeface.h"
#include "ui/manager.h" #include "ui/manager.h"
#include "ui/scale.h" #include "ui/scale.h"