- fixed thinko in selectable
- fixed incorrect virtual method signature in fft_graph
git-svn-id: svn://localhost/ardour2/trunk@665
d708f5d6-7413-0410-9779-
e7cbd77b26cf
yoff = atoi(geometry->property("y_off")->value());
}
- set_geometry_hints (vpacker, g, Gdk::HINT_BASE_SIZE);
set_default_size (g.base_width, g.base_height);
move (x, y);
}
void
-FFTGraph::on_size_allocate(Gtk::Allocation alloc)
+FFTGraph::on_size_allocate(Gtk::Allocation & alloc)
{
width = alloc.get_width();
height = alloc.get_height();
bool on_expose_event (GdkEventExpose* event);
void on_size_request(Gtk::Requisition* requisition);
- void on_size_allocate(Gtk::Allocation alloc);
+ void on_size_allocate(Gtk::Allocation & alloc);
FFTResult *prepareResult(Gdk::Color color, std::string trackname);
private:
virtual void set_selected (bool yn) {
if (yn != _selected) {
- _selected = true;
+ _selected = yn;
Selected (_selected); /* EMIT_SIGNAL */
}
}