diff options
Diffstat (limited to 'libs/widgets/widgets/ardour_icon.h')
-rw-r--r-- | libs/widgets/widgets/ardour_icon.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/libs/widgets/widgets/ardour_icon.h b/libs/widgets/widgets/ardour_icon.h new file mode 100644 index 0000000000..c49c5b833a --- /dev/null +++ b/libs/widgets/widgets/ardour_icon.h @@ -0,0 +1,50 @@ +#ifndef _WIDGETS_ARDOUR_ICON_H_ +#define _WIDGETS_ARDOUR_ICON_H_ + +#include <stdint.h> +#include <cairo.h> + +#include "gtkmm2ext/widget_state.h" +#include "widgets/visibility.h" + +namespace ArdourWidgets { namespace ArdourIcon { + enum Icon { + NoIcon, + RecButton, + RecTapeMode, + CloseCross, + StripWidth, + DinMidi, + TransportStop, + TransportPlay, + TransportLoop, + TransportRange, + TransportStart, + TransportEnd, + TransportPanic, + TransportMetronom, + NudgeLeft, + NudgeRight, + ZoomIn, + ZoomOut, + ZoomFull, + ZoomExpand, + TimeAxisShrink, + TimeAxisExpand, + ToolGrab, + ToolRange, + ToolCut, + ToolStretch, + ToolAudition, + ToolDraw, + ToolContent, + }; + + LIBWIDGETS_API bool render (cairo_t *cr, + const enum Icon icon, + const int width, const int height, + const Gtkmm2ext::ActiveState state, + const uint32_t fg_color); +}; } /* end namespace */ + +#endif |