Reenable the correct sort column and type when redisplaying regions
[ardour.git] / gtk2_ardour / enums.h
1 /*
2  * Copyright (C) 2005-2013 Paul Davis <paul@linuxaudiosystems.com>
3  * Copyright (C) 2005 Taybin Rutkin <taybin@taybin.com>
4  * Copyright (C) 2007-2011 Carl Hetherington <carl@carlh.net>
5  * Copyright (C) 2009-2011 David Robillard <d@drobilla.net>
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License along
18  * with this program; if not, write to the Free Software Foundation, Inc.,
19  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20  */
21
22 #ifndef __ardour_gtk_enums_h__
23 #define __ardour_gtk_enums_h__
24
25 #include "ardour/types.h"
26
27 enum Width {
28         Wide,
29         Narrow,
30 };
31
32 namespace ArdourCanvas {
33         class Rectangle;
34 }
35
36 enum LayerDisplay {
37         Overlaid,
38         Stacked,
39         Expanded
40 };
41
42 struct SelectionRect {
43     ArdourCanvas::Rectangle *rect;
44     ArdourCanvas::Rectangle *end_trim;
45     ArdourCanvas::Rectangle *start_trim;
46     uint32_t id;
47 };
48
49 enum Height {
50         HeightLargest,
51         HeightLarger,
52         HeightLarge,
53         HeightNormal,
54         HeightSmall
55 };
56
57 extern void setup_gtk_ardour_enums ();
58
59 #endif /* __ardour_gtk_enums_h__ */