Ardour
9.0-pre0-582-g084a23a80d
ardour_icon.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2017 Robin Gareus <robin@gareus.org>
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License along
15
* with this program; if not, write to the Free Software Foundation, Inc.,
16
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
*/
18
19
#ifndef _WIDGETS_ARDOUR_ICON_H_
20
#define _WIDGETS_ARDOUR_ICON_H_
21
22
#include <stdint.h>
23
#include <cairo.h>
24
#include <
gtkmm/widget.h
>
25
26
#include "
gtkmm2ext/widget_state.h
"
27
#include "
widgets/visibility.h
"
28
29
namespace
ArdourWidgets
{
namespace
ArdourIcon {
30
enum
Icon
{
31
RecButton
,
32
ZoomIn
,
33
ZoomOut
,
34
ZoomFull
,
35
TransportPanic
,
36
TransportStop
,
37
TransportPlay
,
38
TransportLoop
,
39
TransportRange
,
40
TransportStart
,
41
TransportEnd
,
42
TransportMetronom
,
43
ToolGrab
,
44
ToolGrid
,
45
ToolRange
,
46
ToolCut
,
47
ToolStretch
,
48
ToolAudition
,
49
ToolDraw
,
50
ToolContent
,
51
ZoomExpand
,
52
TimeAxisShrink
,
53
TimeAxisExpand
,
54
StripWidth
,
55
CloseCross
,
56
HideEye
,
57
PlusSign
,
58
ScrollLeft
,
59
ScrollRight
,
60
NudgeLeft
,
61
NudgeRight
,
62
DinMidi
,
63
PsetAdd
,
64
PsetSave
,
65
PsetDelete
,
66
PsetBrowse
,
67
PluginReset
,
68
PluginBypass
,
69
PluginPinout
,
70
LatencyClock
,
71
Config
,
72
ConfigReset
,
73
PowerOnOff
,
74
ShadedPlusSign
,
75
Folder
,
76
Lock
,
77
Mixer
,
78
Meters
,
79
TapeReel
,
80
TrackWaveform
,
81
TailTimeClock
,
82
AttachmentLeft
,
83
AttachmentRight
,
84
AttachmentBottom
,
85
NoIcon
//< Last
86
};
87
88
LIBWIDGETS_API
bool
render
(cairo_t *cr,
89
const
enum
Icon
icon,
90
const
int
width
,
const
int
height
,
91
const
Gtkmm2ext::ActiveState
state,
92
const
uint32_t fg_color);
93
94
LIBWIDGETS_API
bool
expose
(
GdkEventExpose
* ev,
95
Gtk::Widget
* w,
96
const
enum
Icon
icon);
97
98
LIBWIDGETS_API
bool
expose_with_text
(
GdkEventExpose
* ev,
99
Gtk::Widget
* w,
100
const
enum
Icon
icon,
101
std::string
const
&);
102
103
}; }
/* end namespace */
104
105
#endif
Gtk::Widget
Definition:
tk/ytkmm/ytkmm/gtkmm/widget.h:336
ArdourWidgets::ArdourIcon::render
bool render(cairo_t *cr, const enum Icon icon, const int width, const int height, const Gtkmm2ext::ActiveState state, const uint32_t fg_color)
ArdourWidgets::ArdourIcon::expose
bool expose(GdkEventExpose *ev, Gtk::Widget *w, const enum Icon icon)
ArdourWidgets::ArdourIcon::expose_with_text
bool expose_with_text(GdkEventExpose *ev, Gtk::Widget *w, const enum Icon icon, std::string const &)
ArdourWidgets::ArdourIcon::Icon
Icon
Definition:
ardour_icon.h:30
ArdourWidgets::ArdourIcon::ToolRange
@ ToolRange
Definition:
ardour_icon.h:45
ArdourWidgets::ArdourIcon::RecButton
@ RecButton
Definition:
ardour_icon.h:31
ArdourWidgets::ArdourIcon::PluginBypass
@ PluginBypass
Definition:
ardour_icon.h:68
ArdourWidgets::ArdourIcon::PsetDelete
@ PsetDelete
Definition:
ardour_icon.h:65
ArdourWidgets::ArdourIcon::StripWidth
@ StripWidth
Definition:
ardour_icon.h:54
ArdourWidgets::ArdourIcon::PsetBrowse
@ PsetBrowse
Definition:
ardour_icon.h:66
ArdourWidgets::ArdourIcon::DinMidi
@ DinMidi
Definition:
ardour_icon.h:62
ArdourWidgets::ArdourIcon::ToolGrid
@ ToolGrid
Definition:
ardour_icon.h:44
ArdourWidgets::ArdourIcon::TransportLoop
@ TransportLoop
Definition:
ardour_icon.h:38
ArdourWidgets::ArdourIcon::PluginReset
@ PluginReset
Definition:
ardour_icon.h:67
ArdourWidgets::ArdourIcon::CloseCross
@ CloseCross
Definition:
ardour_icon.h:55
ArdourWidgets::ArdourIcon::TapeReel
@ TapeReel
Definition:
ardour_icon.h:79
ArdourWidgets::ArdourIcon::ToolStretch
@ ToolStretch
Definition:
ardour_icon.h:47
ArdourWidgets::ArdourIcon::TransportPlay
@ TransportPlay
Definition:
ardour_icon.h:37
ArdourWidgets::ArdourIcon::Mixer
@ Mixer
Definition:
ardour_icon.h:77
ArdourWidgets::ArdourIcon::TimeAxisShrink
@ TimeAxisShrink
Definition:
ardour_icon.h:52
ArdourWidgets::ArdourIcon::AttachmentBottom
@ AttachmentBottom
Definition:
ardour_icon.h:84
ArdourWidgets::ArdourIcon::PlusSign
@ PlusSign
Definition:
ardour_icon.h:57
ArdourWidgets::ArdourIcon::Config
@ Config
Definition:
ardour_icon.h:71
ArdourWidgets::ArdourIcon::PsetSave
@ PsetSave
Definition:
ardour_icon.h:64
ArdourWidgets::ArdourIcon::ZoomIn
@ ZoomIn
Definition:
ardour_icon.h:32
ArdourWidgets::ArdourIcon::ToolCut
@ ToolCut
Definition:
ardour_icon.h:46
ArdourWidgets::ArdourIcon::TrackWaveform
@ TrackWaveform
Definition:
ardour_icon.h:80
ArdourWidgets::ArdourIcon::ZoomOut
@ ZoomOut
Definition:
ardour_icon.h:33
ArdourWidgets::ArdourIcon::TransportPanic
@ TransportPanic
Definition:
ardour_icon.h:35
ArdourWidgets::ArdourIcon::TransportRange
@ TransportRange
Definition:
ardour_icon.h:39
ArdourWidgets::ArdourIcon::ConfigReset
@ ConfigReset
Definition:
ardour_icon.h:72
ArdourWidgets::ArdourIcon::ToolAudition
@ ToolAudition
Definition:
ardour_icon.h:48
ArdourWidgets::ArdourIcon::NudgeLeft
@ NudgeLeft
Definition:
ardour_icon.h:60
ArdourWidgets::ArdourIcon::AttachmentLeft
@ AttachmentLeft
Definition:
ardour_icon.h:82
ArdourWidgets::ArdourIcon::ShadedPlusSign
@ ShadedPlusSign
Definition:
ardour_icon.h:74
ArdourWidgets::ArdourIcon::PowerOnOff
@ PowerOnOff
Definition:
ardour_icon.h:73
ArdourWidgets::ArdourIcon::ZoomFull
@ ZoomFull
Definition:
ardour_icon.h:34
ArdourWidgets::ArdourIcon::ToolDraw
@ ToolDraw
Definition:
ardour_icon.h:49
ArdourWidgets::ArdourIcon::ScrollLeft
@ ScrollLeft
Definition:
ardour_icon.h:58
ArdourWidgets::ArdourIcon::TransportMetronom
@ TransportMetronom
Definition:
ardour_icon.h:42
ArdourWidgets::ArdourIcon::TailTimeClock
@ TailTimeClock
Definition:
ardour_icon.h:81
ArdourWidgets::ArdourIcon::AttachmentRight
@ AttachmentRight
Definition:
ardour_icon.h:83
ArdourWidgets::ArdourIcon::NoIcon
@ NoIcon
Definition:
ardour_icon.h:85
ArdourWidgets::ArdourIcon::Lock
@ Lock
Definition:
ardour_icon.h:76
ArdourWidgets::ArdourIcon::LatencyClock
@ LatencyClock
Definition:
ardour_icon.h:70
ArdourWidgets::ArdourIcon::PluginPinout
@ PluginPinout
Definition:
ardour_icon.h:69
ArdourWidgets::ArdourIcon::NudgeRight
@ NudgeRight
Definition:
ardour_icon.h:61
ArdourWidgets::ArdourIcon::TransportStart
@ TransportStart
Definition:
ardour_icon.h:40
ArdourWidgets::ArdourIcon::HideEye
@ HideEye
Definition:
ardour_icon.h:56
ArdourWidgets::ArdourIcon::Meters
@ Meters
Definition:
ardour_icon.h:78
ArdourWidgets::ArdourIcon::ToolGrab
@ ToolGrab
Definition:
ardour_icon.h:43
ArdourWidgets::ArdourIcon::TransportEnd
@ TransportEnd
Definition:
ardour_icon.h:41
ArdourWidgets::ArdourIcon::ZoomExpand
@ ZoomExpand
Definition:
ardour_icon.h:51
ArdourWidgets::ArdourIcon::PsetAdd
@ PsetAdd
Definition:
ardour_icon.h:63
ArdourWidgets::ArdourIcon::TimeAxisExpand
@ TimeAxisExpand
Definition:
ardour_icon.h:53
ArdourWidgets::ArdourIcon::Folder
@ Folder
Definition:
ardour_icon.h:75
ArdourWidgets::ArdourIcon::ScrollRight
@ ScrollRight
Definition:
ardour_icon.h:59
ArdourWidgets::ArdourIcon::TransportStop
@ TransportStop
Definition:
ardour_icon.h:36
ArdourWidgets::ArdourIcon::ToolContent
@ ToolContent
Definition:
ardour_icon.h:50
ArdourWidgets
Definition:
ardour_ui.h:192
Gtkmm2ext::ActiveState
ActiveState
Definition:
widget_state.h:30
_GdkEventExpose
Definition:
gdkevents.h:281
widget.h
widget_state.h
visibility.h
LIBWIDGETS_API
#define LIBWIDGETS_API
Definition:
widgets/widgets/visibility.h:39
height
gint height
Definition:
xcursors.h:1
width
gint width
Definition:
xcursors.h:1
libs
widgets
widgets
ardour_icon.h
Generated on Wed Dec 25 2024 05:43:55 for Ardour by
1.9.1