6#ifndef __GUI_WIDGETS_COLOR_AREA_H__
7#define __GUI_WIDGETS_COLOR_AREA_H__
15#include "gtk_wrapper.h"
17#define COLOR_AREA_WIDGET_TYPE (color_area_widget_get_type ())
27enum class ColorAreaType
30 COLOR_AREA_TYPE_GENERIC,
38 COLOR_AREA_TYPE_TRACK,
43typedef struct _ColorAreaWidget
45 GtkWidget parent_instance;
61 GdkTexture * track_icon;
62 char * last_track_icon_name;
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_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.
void color_area_widget_setup_generic(ColorAreaWidget *self, GdkRGBA *color)
Creates a generic color widget using the given color pointer.
Track to be inserted into the Project's Tracklist.