Lumiera
0.pre.03
»edit your freedom«
|
Definition at line 51 of file timeline-zoom-scale.hpp.
Public Member Functions | |
TimelineZoomScale () | |
void | set_value (double val) |
sigc::signal< void, double > | signal_zoom () |
void | wireTimelineState (shared_ptr< TimelineState > currentState) |
Private Member Functions | |
TimelineViewWindow & | getViewWindow () |
access current timeline state | |
void | on_timeline_state_changed (shared_ptr< TimelineState > newState) |
Update the slider position when the timeline state is changed. | |
void | on_zoom () |
Event handler for when the adjustment value is changed. | |
void | on_zoom_in_clicked () |
Event handler for when the zoomIn Button is clicked. | |
void | on_zoom_out_clicked () |
Event handler for when the zoomIn Button is clicked. | |
Private Attributes | |
Glib::RefPtr< Gtk::Adjustment > | adjustment |
const double | button_step_size |
Gtk::HScale | slider |
shared_ptr< TimelineState > | timelineState |
MiniButton | zoomIn |
MiniButton | zoomOut |
sigc::signal< void, double > | zoomSignal |
TimelineViewWindow::get_time_scale() is currently a public method, but will soon be private. Maybe TimelineViewWindow can have a zoom_adjustment that gets passed to this widget's Constructor?
Definition at line 69 of file timeline-zoom-scale.cpp.
References TimelineZoomScale::on_timeline_state_changed(), TimelineZoomScale::on_zoom(), TimelineZoomScale::on_zoom_in_clicked(), and TimelineZoomScale::on_zoom_out_clicked().