#include "gtkmm2ext/gui_thread.h"
-#include "canvas/colors.h"
+#include "gtkmm2ext/colors.h"
#include "canvas/rectangle.h"
#include "canvas/text.h"
using namespace PBD;
using namespace Glib;
using namespace ArdourSurface;
+using namespace Gtkmm2ext;
using namespace ArdourCanvas;
static double unselected_root_alpha = 0.5;
/* background */
- bg = new Rectangle (this);
+ bg = new ArdourCanvas::Rectangle (this);
bg->set (Rect (0, 0, display_width(), display_height()));
bg->set_fill_color (p2.get_color (Push2::DarkBackground));
return;
}
- int root;
+ int root = 0;
switch (n) {
case 1:
return;
}
- int root;
+ int root = 0;
switch (n) {
case 1:
Pango::FontDescription fd ("Sans 10");
uint32_t highlight_text = 0;
- vector<Text*>* none_text_array;
- vector<Text*>* one_text_array;
- Push2::ButtonID bid;
+ vector<Text*>* none_text_array = 0;
+ vector<Text*>* one_text_array = 0;
+ Push2::ButtonID bid = Push2::Upper2; /* keep compilers quiet */
switch (p2.scale_root()) {
case 0:
one_text_array = &upper_text;
bid = Push2::Upper7;
break;
+ default:
+ return;
}
if (none_text_array) {