diff options
author | Robin Gareus <robin@gareus.org> | 2017-07-17 04:55:52 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-07-17 21:06:04 +0200 |
commit | f9e5e4360e54f5ff5327b4384ee451d86f8dec91 (patch) | |
tree | 6ae86878b9d7db86c101df33559ffec913d9ed19 /libs/widgets/widgets/ardour_icon.h | |
parent | b5e9451bc7be12acc5d81c55cdaa6545837f3181 (diff) |
Move more Gtkmm2ext widgets into libwidget
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 |