Sequencer - Buttons to switch info windows
If a segment is selected, one can switch between the track and segment info windows. If a point is selected, one can switch between track, segment and point info windows.
This commit is contained in:
parent
b30e361fd3
commit
49acb73e26
1 changed files with 16 additions and 0 deletions
|
@ -701,6 +701,22 @@ void T_SyncViewImpl_::displayToolbar( ) noexcept
|
||||||
if ( ToolbarButton( ICON_FA_COG , BtSize , "Select tracks automatically." ) ) {
|
if ( ToolbarButton( ICON_FA_COG , BtSize , "Select tracks automatically." ) ) {
|
||||||
autoselectTracks( );
|
autoselectTracks( );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ToolbarSeparator( );
|
||||||
|
if ( ToolbarButton( ICON_FA_MINUS , BtSize , "Show track info." ,
|
||||||
|
selId && sub != SW_TRACK ) ) {
|
||||||
|
sub = SW_TRACK;
|
||||||
|
}
|
||||||
|
SameLine( );
|
||||||
|
if ( ToolbarButton( ICON_FA_ARROWS_H , BtSize , "Show segment info." ,
|
||||||
|
selId && selSegment && sub != SW_SEGMENT ) ) {
|
||||||
|
sub = SW_SEGMENT;
|
||||||
|
}
|
||||||
|
SameLine( );
|
||||||
|
if ( ToolbarButton( ICON_FA_CIRCLE , BtSize , "Show point info." ,
|
||||||
|
selId && selSegment && selPoint && sub != SW_POINT ) ) {
|
||||||
|
sub = SW_POINT;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*------------------------------------------------------------------------------*/
|
/*------------------------------------------------------------------------------*/
|
||||||
|
|
Loading…
Reference in a new issue