Added min and max functions for floats and modified the text rendering code
This commit is contained in:
1 parent
d429262aaa
commit
ad88083f53
4 files changed
+13
-21
No files matched your search
@@ -78,8 +78,9 @@ void render_texture_asset(AssetID id, RenderRect *src, RenderRect *dest);
|
||||
void modulate_texture_color(AssetID id, SDL_Color color);
|
||||
void modulate_texture_alpha(AssetID id, u8 alpha);
|
||||
TextSize get_text_size_from_font_asset(AssetID id, const char *text);
|
||||
void render_text_with_font_asset(AssetID id, const char *text, RenderRect dest,
|
||||
SDL_Color color, const RenderRect *clip);
|
||||
void render_text_with_font_asset(AssetID id, const char *text,
|
||||
const RenderRect *src, RenderRect dest,
|
||||
SDL_Color color);
|
||||
void set_font_asset_size(AssetID id, u32 size);
|
||||
i32 set_font_direction(AssetID id, FontDirection direction);
|
||||
i32 set_font_script_name(AssetID id, const char *script);
|
||||
|
||||
Reference in new issue
Block a user