Zrythm
a highly automated and intuitive digital audio workstation
|
Color picker for a channel strip. More...
#include "gtk_wrapper.h"
Go to the source code of this file.
Data Structures | |
struct | ColorAreaWidget |
Macros | |
#define | COLOR_AREA_WIDGET_TYPE (color_area_widget_get_type ()) |
Functions | |
G_DECLARE_FINAL_TYPE (ColorAreaWidget, color_area_widget, Z, COLOR_AREA_WIDGET, GtkWidget) enum class ColorAreaType | |
Type of ColorAreaWidget this is. | |
void | color_area_widget_setup_generic (ColorAreaWidget *self, GdkRGBA *color) |
Creates a generic color widget using the given color pointer. | |
void | color_area_widget_setup_track (ColorAreaWidget *self, Track *track) |
Creates a ColorAreaWidget for use inside TrackWidget implementations. | |
void | color_area_widget_set_color (ColorAreaWidget *widget, GdkRGBA *color) |
Changes the color. | |
Color picker for a channel strip.
Definition in file color_area.h.
#define COLOR_AREA_WIDGET_TYPE (color_area_widget_get_type ()) |
Definition at line 17 of file color_area.h.
void color_area_widget_set_color | ( | ColorAreaWidget * | widget, |
GdkRGBA * | color ) |
void color_area_widget_setup_generic | ( | ColorAreaWidget * | self, |
GdkRGBA * | color ) |
Creates a generic color widget using the given color pointer.
FIXME currently not used, should be used instead of manually changing the color.
G_DECLARE_FINAL_TYPE | ( | ColorAreaWidget | , |
color_area_widget | , | ||
Z | , | ||
COLOR_AREA_WIDGET | , | ||
GtkWidget | ) |
Type of ColorAreaWidget this is.
Generic, only fill with color.
Track, for use in TrackWidget implementations.
It will show an icon and an index inside the color box.
Definition at line 18 of file color_area.h.