10#ifndef __GUI_WIDGETS_CUSTOM_BUTTON_H__
11#define __GUI_WIDGETS_CUSTOM_BUTTON_H__
13#include "gtk_wrapper.h"
21#define CUSTOM_BUTTON_WIDGET_MAX_TRANSITION_FRAMES 9
25 CUSTOM_BUTTON_WIDGET_STATE_NORMAL,
26 CUSTOM_BUTTON_WIDGET_STATE_HOVERED,
27 CUSTOM_BUTTON_WIDGET_STATE_ACTIVE,
28 CUSTOM_BUTTON_WIDGET_STATE_TOGGLED,
34enum class CustomButtonWidgetOwner
36 CUSTOM_BUTTON_WIDGET_OWNER_TRACK,
37 CUSTOM_BUTTON_WIDGET_OWNER_LANE,
38 CUSTOM_BUTTON_WIDGET_OWNER_AT,
145custom_button_widget_draw (
147 GtkSnapshot * snapshot,
158 GtkSnapshot * snapshot,
173 PangoLayout * layout,
175 const char * font_descr);