Learning_GTK4_tree/demos/gtk-demo/hsla.h

16 lines
415 B
C
Raw Permalink Normal View History

2023-12-12 11:36:42 +01:00
#pragma once
typedef struct _GdkHSLA GdkHSLA;
struct _GdkHSLA {
float hue;
float saturation;
float lightness;
float alpha;
};
void _gdk_hsla_init_from_rgba (GdkHSLA *hsla,
const GdkRGBA *rgba);
void _gdk_rgba_init_from_hsla (GdkRGBA *rgba,
const GdkHSLA *hsla);