X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fenums.h;h=00b7a6e56c28dd383f973c3a8354a194a20e4a22;hb=162c48b84381335ff90fe64b5324467693dee736;hp=3c868d67a599fe812bd243a2e13d2608ff6ca32c;hpb=14d43ca9fe28a8309b4a52fa85e2b0c64a92248b;p=ardour.git diff --git a/gtk2_ardour/enums.h b/gtk2_ardour/enums.h index 3c868d67a5..00b7a6e56c 100644 --- a/gtk2_ardour/enums.h +++ b/gtk2_ardour/enums.h @@ -1,26 +1,50 @@ -#ifndef __ardour_gtk_enums_h__ -#define __ardour_gtk_enums_h__ +/* + Copyright (C) 2000-2007 Paul Davis -#include + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. -enum WaveformShape { - Traditional, - Rectified -}; + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +#ifndef __ardour_gtk_enums_h__ +#define __ardour_gtk_enums_h__ + +#include "ardour/types.h" enum Width { Wide, Narrow, }; -#include +namespace Gnome { + namespace Canvas { + class SimpleRect; + } +} + +enum LayerDisplay { + Overlaid, + Stacked +}; struct SelectionRect { - GnomeCanvasItem *rect; - GnomeCanvasItem *end_trim; - GnomeCanvasItem *start_trim; + Gnome::Canvas::SimpleRect *rect; + Gnome::Canvas::SimpleRect *end_trim; + Gnome::Canvas::SimpleRect *start_trim; uint32_t id; }; +extern void setup_gtk_ardour_enums (); + #endif /* __ardour_gtk_enums_h__ */