colourpicker

Simple Colour Picker written in C
git clone anongit@rnpnr.xyz:colourpicker.git
Log | Files | Refs | Feed | Submodules | README | LICENSE

Commit: e09a9af4c87a8965737cb162ccb5b6f6d6f40b40
Parent: c0caa2043cc57cbd163bab98e69b663bcea8d7e1
Author: Randy Palamar
Date:   Wed, 31 Jul 2024 20:18:29 -0600

remove holes in ColourPickerCtx

Diffstat:
Mutil.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/util.c b/util.c @@ -147,6 +147,8 @@ typedef struct { v2 window_pos; v2 mouse_pos; + f32 dt; + Font font; i32 font_size; Color bg, fg; @@ -162,13 +164,11 @@ typedef struct { f32 selection_hover_t[2]; v4 hover_colour; - f32 dt; - + Shader picker_shader; RenderTexture slider_texture; RenderTexture picker_texture; RenderTexture hsv_texture; - Shader picker_shader; i32 mode_id, hsv_id; i32 offset_id, size_id;