projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add some convenient public editor methods (for lua-bindings)
[ardour.git]
/
gtk2_ardour
/
enums.h
diff --git
a/gtk2_ardour/enums.h
b/gtk2_ardour/enums.h
index d345b30bf8b3ea66593e27de52f9f1c07c115e77..aa789a634ce7d98d1dc33943acb109b5fd93938e 100644
(file)
--- 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
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__
#ifndef __ardour_gtk_enums_h__
#define __ardour_gtk_enums_h__
-#include <ardour/types.h>
-
-enum WaveformShape {
- Traditional,
- Rectified
-};
-
-enum WaveformScale {
- LinearWaveform=0,
- LogWaveform,
-};
-
+#include "ardour/types.h"
enum Width {
Wide,
Narrow,
};
enum Width {
Wide,
Narrow,
};
-namespace Gnome {
- namespace Canvas {
- class SimpleRect;
- }
+namespace ArdourCanvas {
+ class Rectangle;
}
}
+enum LayerDisplay {
+ Overlaid,
+ Stacked,
+ Expanded
+};
+
struct SelectionRect {
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;
};
uint32_t id;
};
+enum Height {
+ HeightLargest,
+ HeightLarger,
+ HeightLarge,
+ HeightNormal,
+ HeightSmall
+};
+
extern void setup_gtk_ardour_enums ();
#endif /* __ardour_gtk_enums_h__ */
extern void setup_gtk_ardour_enums ();
#endif /* __ardour_gtk_enums_h__ */