3e873f303be778f4628f5a4f162c1789872d13bb
[ardour.git] / libs / gtkmm2ext / gtkmm2ext / widget_state.h
1 #ifndef __gtkmm2ext_widget_state_h__
2 #define __gtkmm2ext_widget_state_h__
3
4 #include "gtkmm2ext/visibility.h"
5
6 namespace Gtkmm2ext {
7
8         /* widget states: unlike GTK, visual states like "Selected" or "Prelight"
9            are orthogonal to active states.
10         */
11
12         enum LIBGTKMM2EXT_API ActiveState {
13                 Off,
14                 ExplicitActive,
15                 ImplicitActive,
16         };
17         
18         enum LIBGTKMM2EXT_API VisualState {
19                 /* these can be OR-ed together */
20                 NoVisualState = 0x0,
21                 Selected = 0x1,
22                 Prelight = 0x2,
23                 Insensitive = 0x4,
24         };
25
26 };
27
28 #endif /*  __gtkmm2ext_widget_state_h__ */