X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fenums.h;h=aa789a634ce7d98d1dc33943acb109b5fd93938e;hb=6c19a776f43b4a9869780e3312764d039a16cd39;hp=fcb675fd46936e86fc352e54519bd7fc661fab1c;hpb=ef65fd251023378699c3ef3842fc55e93a92d04a;p=ardour.git diff --git a/gtk2_ardour/enums.h b/gtk2_ardour/enums.h index fcb675fd46..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,42 +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 + 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__ */