The TrackWidget is split into 3 parts.
More...
#include <gui/widgets/track.h>
The TrackWidget is split into 3 parts.
- 1. Top part contains the "main" view.
- 2. Lane part contains each lane.
- 3. Automation tracklist part contains each automation track.
Definition at line 106 of file track.h.
◆ bg_hovered
| bool TrackWidget::bg_hovered |
Set between enter-leave signals.
This is because hover can continue to send signals when hovering over other overlayed widgets (buttons, etc.).
Definition at line 138 of file track.h.
◆ bot_buttons
◆ button_pressed
| int TrackWidget::button_pressed |
Used when mouse button is held down to mark buttons as clicked.
Definition at line 213 of file track.h.
◆ cached_cr
| cairo_t* TrackWidget::cached_cr |
Cairo caches.
Definition at line 259 of file track.h.
◆ cached_surface
| cairo_surface_t* TrackWidget::cached_surface |
◆ canvas
◆ click
| GtkGestureClick* TrackWidget::click |
◆ clicked_am
Currently clicked automation mode button.
Definition at line 219 of file track.h.
◆ clicked_button
Currently clicked button.
Definition at line 216 of file track.h.
◆ color_area_hovered
| bool TrackWidget::color_area_hovered |
Whether color area is currently hoverred.
This is not mutually exclusive with TrackWidget::bg_hovered. The color area is considered part of the BG.
Definition at line 147 of file track.h.
◆ ctrl_held_at_start
| int TrackWidget::ctrl_held_at_start |
Control held down on drag begin.
Definition at line 180 of file track.h.
◆ drag
| GtkGestureDrag* TrackWidget::drag |
◆ dragged
If drag update was called at least once.
Definition at line 124 of file track.h.
◆ fader_buttons_for_popover
◆ group_colors_box
| GtkBox* TrackWidget::group_colors_box |
Group colors.
Definition at line 115 of file track.h.
◆ highlight_bot_box
| GtkBox* TrackWidget::highlight_bot_box |
◆ highlight_loc
Highlight location.
Eg, whether to highlight inside the track (eg, when dragging inside foldable tracks).
Definition at line 192 of file track.h.
◆ highlight_top_box
| GtkBox* TrackWidget::highlight_top_box |
Used for highlighting.
Definition at line 183 of file track.h.
◆ icon_hovered
| bool TrackWidget::icon_hovered |
Whether the icon in the color area is currently hoverred.
This is not mutually exclusive with TrackWidget::color_area_hovered. The icon is considered part of the color area.
Definition at line 157 of file track.h.
◆ last_hovered_btn
Last hovered button.
Definition at line 209 of file track.h.
◆ last_midi_out_trigger_time
| gint64 TrackWidget::last_midi_out_trigger_time |
Last MIDI event trigger time, for MIDI ports.
Definition at line 249 of file track.h.
◆ last_offset_y
| double TrackWidget::last_offset_y |
◆ last_x
| double TrackWidget::last_x |
Used during hovering to remember the last known cursor position.
Definition at line 205 of file track.h.
◆ last_y
| double TrackWidget::last_y |
◆ main_box
| GtkBox* TrackWidget::main_box |
Main box containing the drawing area and the meters on the right.
Definition at line 112 of file track.h.
◆ meter_l
◆ meter_r
◆ n_press
Number of clicks, used when selecting/moving/ dragging channels.
Definition at line 128 of file track.h.
◆ num_bot_buttons
| int TrackWidget::num_bot_buttons |
◆ num_top_buttons
| int TrackWidget::num_top_buttons |
◆ parent_instance
| GtkWidget TrackWidget::parent_instance |
◆ popover_menu
| GtkPopoverMenu* TrackWidget::popover_menu |
Popover to be reused for context menus.
Definition at line 263 of file track.h.
◆ redraw
Set to 1 to redraw.
Definition at line 252 of file track.h.
◆ resize
Set when the drag should resize instead of dnd.
This is used to determine if we should resize on drag begin.
Definition at line 165 of file track.h.
◆ resize_target
| void* TrackWidget::resize_target |
The object to resize.
Definition at line 174 of file track.h.
◆ resize_target_type
Resize target type (track/at/lane).
Definition at line 171 of file track.h.
◆ resizing
| int TrackWidget::resizing |
Set during the whole resizing action.
Definition at line 168 of file track.h.
◆ right_click
| GtkGestureClick* TrackWidget::right_click |
Right-click gesture.
Definition at line 121 of file track.h.
◆ selected_in_dnd
| int TrackWidget::selected_in_dnd |
The track selection processing was done in the dnd callbacks, so no need to do it in drag_end.
Definition at line 197 of file track.h.
◆ start_x
| double TrackWidget::start_x |
For drag actions.
Definition at line 200 of file track.h.
◆ start_y
| double TrackWidget::start_y |
◆ tooltip_text
| char* TrackWidget::tooltip_text |
Current tooltip text.
Definition at line 245 of file track.h.
◆ top_buttons
Signal handler IDs for tracks that have them.
This is more convenient instead of having them in each widget. Buttons to be drawin in order.
Definition at line 234 of file track.h.
◆ track
| Track* TrackWidget::track |
◆ track_name_popover
| GtkPopover* TrackWidget::track_name_popover |
Popover for changing the track name.
Definition at line 266 of file track.h.
◆ was_armed
| bool TrackWidget::was_armed |
Whether the track was armed for recording at the start of the current action.
Definition at line 256 of file track.h.
The documentation for this struct was generated from the following file: