Definition at line 102 of file ruler.h.
◆ action
Dragging playhead or creating range, etc.
Definition at line 121 of file ruler.h.
◆ alt_held
bool RulerWidget::alt_held |
Whether alt is currently held down.
Definition at line 147 of file ruler.h.
◆ cached_cr
cairo_t* RulerWidget::cached_cr |
◆ cached_surface
cairo_surface_t* RulerWidget::cached_surface |
◆ click
GtkGestureClick* RulerWidget::click |
◆ ctrl_held
bool RulerWidget::ctrl_held |
◆ drag
GtkGestureDrag* RulerWidget::drag |
◆ drag_start_pos
◆ dragging
int RulerWidget::dragging |
Set to 1 between drag begin and drag end.
Definition at line 163 of file ruler.h.
◆ hover_x
double RulerWidget::hover_x |
◆ hover_y
double RulerWidget::hover_y |
◆ hovering
bool RulerWidget::hovering |
◆ last_offset_x
double RulerWidget::last_offset_x |
◆ last_offset_y
double RulerWidget::last_offset_y |
◆ last_playhead_px
int RulerWidget::last_playhead_px |
Px the playhead was last drawn at, so we can redraw this and the new px only when the playhead changes position.
Definition at line 154 of file ruler.h.
◆ last_rect
graphene_rect_t RulerWidget::last_rect |
Rectangle in the last call.
Definition at line 189 of file ruler.h.
◆ last_set_pos
Last position the playhead was set to.
This is used for setting the cue point on drag end.
Definition at line 179 of file ruler.h.
◆ layout_normal
PangoLayout* RulerWidget::layout_normal |
◆ marker_layout
PangoLayout* RulerWidget::marker_layout |
◆ monospace_layout_small
PangoLayout* RulerWidget::monospace_layout_small |
◆ parent_instance
GtkWidget RulerWidget::parent_instance |
◆ popover_menu
GtkPopoverMenu* RulerWidget::popover_menu |
Popover to be reused for context menus.
Definition at line 197 of file ruler.h.
◆ px_per_100ms
double RulerWidget::px_per_100ms |
◆ px_per_10sec
double RulerWidget::px_per_10sec |
◆ px_per_bar
double RulerWidget::px_per_bar |
◆ px_per_beat
double RulerWidget::px_per_beat |
◆ px_per_min
double RulerWidget::px_per_min |
◆ px_per_sec
double RulerWidget::px_per_sec |
◆ px_per_sixteenth
double RulerWidget::px_per_sixteenth |
◆ px_per_tick
double RulerWidget::px_per_tick |
◆ range1_first
int RulerWidget::range1_first |
Whether range1 was before range2 at drag start.
Definition at line 160 of file ruler.h.
◆ range1_start_pos
Set on drag begin.
Useful for moving range (or loop range).
Definition at line 170 of file ruler.h.
◆ range2_start_pos
◆ redraw
Set to 1 to redraw.
Definition at line 157 of file ruler.h.
◆ shift_held
int RulerWidget::shift_held |
If shift was held down during the press.
Definition at line 144 of file ruler.h.
◆ start_x
double RulerWidget::start_x |
For dragging.
Definition at line 124 of file ruler.h.
◆ start_y
double RulerWidget::start_y |
◆ target
Target acting upon.
Definition at line 139 of file ruler.h.
◆ total_px
double RulerWidget::total_px |
◆ type
RulerWidgetType RulerWidget::type |
◆ vertical_panning_started
bool RulerWidget::vertical_panning_started |
The documentation for this struct was generated from the following file: