add simulation to UI
Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
typedef struct
|
||||
{
|
||||
@@ -16,7 +17,9 @@ typedef struct
|
||||
uint8_t v;
|
||||
} hsv_t;
|
||||
|
||||
__BEGIN_DECLS
|
||||
rgb_t interpolate_color_rgb(rgb_t start, rgb_t end, float factor);
|
||||
rgb_t interpolate_color_hsv(rgb_t start, rgb_t end, float factor);
|
||||
hsv_t rgb_to_hsv(rgb_t rgb);
|
||||
rgb_t hsv_to_rgb(hsv_t hsv);
|
||||
__END_DECLS
|
||||
|
Reference in New Issue
Block a user