mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
make X on track hide button visible; fix signed/unsigned warning
git-svn-id: svn://localhost/ardour2/trunk@1109 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e50a198be9
commit
cc28a5a337
2 changed files with 2 additions and 1 deletions
|
|
@ -749,7 +749,7 @@ AutomationLine::determine_visible_control_points (ALPoints& points)
|
||||||
if (view_index && pi != npoints && /* not the first, not the last */
|
if (view_index && pi != npoints && /* not the first, not the last */
|
||||||
(((this_rx == prev_rx) && (this_ry == prev_ry)) || /* same point */
|
(((this_rx == prev_rx) && (this_ry == prev_ry)) || /* same point */
|
||||||
(((this_rx - prev_rx) < (box_size + 2)) && /* too close horizontally */
|
(((this_rx - prev_rx) < (box_size + 2)) && /* too close horizontally */
|
||||||
((abs ((int)(this_ry - prev_ry)) < (box_size + 2)))))) { /* too close vertically */
|
((abs ((int)(this_ry - prev_ry)) < (int) (box_size + 2)))))) { /* too close vertically */
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -115,6 +115,7 @@ RouteTimeAxisView::RouteTimeAxisView (PublicEditor& ed, Session& sess, boost::sh
|
||||||
hide_button.set_name ("TrackRemoveButton");
|
hide_button.set_name ("TrackRemoveButton");
|
||||||
|
|
||||||
hide_button.add (*(manage (new Image (get_xpm("small_x.xpm")))));
|
hide_button.add (*(manage (new Image (get_xpm("small_x.xpm")))));
|
||||||
|
hide_button.show_all ();
|
||||||
|
|
||||||
edit_group_button.signal_button_release_event().connect (mem_fun(*this, &RouteTimeAxisView::edit_click), false);
|
edit_group_button.signal_button_release_event().connect (mem_fun(*this, &RouteTimeAxisView::edit_click), false);
|
||||||
playlist_button.signal_clicked().connect (mem_fun(*this, &RouteTimeAxisView::playlist_click));
|
playlist_button.signal_clicked().connect (mem_fun(*this, &RouteTimeAxisView::playlist_click));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue