Paul Davis
b08d13706f
git-svn-id: svn://localhost/ardour2/branches/3.0@11466 d708f5d6-7413-0410-9779-e7cbd77b26cf
27 lines
473 B
C++
27 lines
473 B
C++
#ifndef __gtkmm2ext_widget_state_h__
|
|
#define __gtkmm2ext_widget_state_h__
|
|
|
|
namespace Gtkmm2ext {
|
|
|
|
/* widget states: unlike GTK, visual states like "Selected" or "Prelight"
|
|
are orthogonal to active states.
|
|
*/
|
|
|
|
enum ActiveState {
|
|
Off,
|
|
ExplicitActive,
|
|
ImplicitActive,
|
|
};
|
|
|
|
enum VisualState {
|
|
/* these can be OR-ed together */
|
|
NoVisualState = 0x0,
|
|
Selected = 0x1,
|
|
Prelight = 0x2,
|
|
Insensitive = 0x4,
|
|
};
|
|
|
|
};
|
|
|
|
#endif /* __gtkmm2ext_widget_state_h__ */
|