X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fenums.h;h=aa789a634ce7d98d1dc33943acb109b5fd93938e;hb=b9185d2c07c77eccf3679ac99f6b69f8fdd79c48;hp=d345b30bf8b3ea66593e27de52f9f1c07c115e77;hpb=87726495c30f90554b5204b5385d17274a8fe93e;p=ardour.git diff --git a/gtk2_ardour/enums.h b/gtk2_ardour/enums.h index d345b30bf8..aa789a634c 100644 --- a/gtk2_ardour/enums.h +++ b/gtk2_ardour/enums.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2000-2007 Paul Davis + Copyright (C) 2000-2007 Paul Davis 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 @@ -20,37 +20,38 @@ #ifndef __ardour_gtk_enums_h__ #define __ardour_gtk_enums_h__ -#include - -enum WaveformShape { - Traditional, - Rectified -}; - -enum WaveformScale { - LinearWaveform=0, - LogWaveform, -}; - +#include "ardour/types.h" enum Width { Wide, Narrow, }; -namespace Gnome { - namespace Canvas { - class SimpleRect; - } +namespace ArdourCanvas { + class Rectangle; } +enum LayerDisplay { + Overlaid, + Stacked, + Expanded +}; + struct SelectionRect { - Gnome::Canvas::SimpleRect *rect; - Gnome::Canvas::SimpleRect *end_trim; - Gnome::Canvas::SimpleRect *start_trim; + ArdourCanvas::Rectangle *rect; + ArdourCanvas::Rectangle *end_trim; + ArdourCanvas::Rectangle *start_trim; uint32_t id; }; +enum Height { + HeightLargest, + HeightLarger, + HeightLarge, + HeightNormal, + HeightSmall +}; + extern void setup_gtk_ardour_enums (); #endif /* __ardour_gtk_enums_h__ */