fix scaling issues
This commit is contained in:
@@ -42,6 +42,9 @@ Clay_RenderCommandArray ui_end_frame(UI_Context *ctx);
|
||||
|
||||
void ui_set_measure_text_fn(UI_Context *ctx, UI_MeasureTextFn fn, void *user_data);
|
||||
|
||||
// Measure text using the registered callback (available after ui_begin_frame)
|
||||
Vec2F32 ui_measure_text(const char *text, S32 length, F32 font_size);
|
||||
|
||||
////////////////////////////////
|
||||
// Theme colors (convenience - 0-255 Clay_Color)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user