mirror of
https://github.com/IllusionMan1212/C2048.git
synced 2026-10-24 02:12:31 +00:00
zephr/ui: dynamically determine color picker buttons' text color and crosshairs selection's color
This commit is contained in:
@@ -56,3 +56,6 @@ void apply_translation(Matrix4x4 *matrix, Vec2f pos);
|
||||
Matrix4x4 orthographic_projection_2d(float left, float right, float bottom, float top);
|
||||
Color mult_color(Color color, float amount);
|
||||
Color hsv2rgb(float h, float s, float v);
|
||||
Color determine_color_contrast(Color *bg);
|
||||
|
||||
#define ColorRGBA(r, g, b, a) (Color){r, g, b, a}
|
||||
|
||||
Reference in New Issue
Block a user