Go to the source code of this file.
Macros | |
#define | FL_TYPE_SCROLLING_MANAGER fl_scrolling_manager_get_type() |
Functions | |
G_DECLARE_FINAL_TYPE (FlScrollingManager, fl_scrolling_manager, FL, SCROLLING_MANAGER, GObject) | |
FlScrollingManager * | fl_scrolling_manager_new (FlScrollingViewDelegate *view_delegate) |
void | fl_scrolling_manager_set_last_mouse_position (FlScrollingManager *manager, gdouble x, gdouble y) |
void | fl_scrolling_manager_handle_scroll_event (FlScrollingManager *manager, GdkEventScroll *event, gint scale_factor) |
void | fl_scrolling_manager_handle_rotation_begin (FlScrollingManager *manager) |
void | fl_scrolling_manager_handle_rotation_update (FlScrollingManager *manager, gdouble rotation) |
void | fl_scrolling_manager_handle_rotation_end (FlScrollingManager *manager) |
void | fl_scrolling_manager_handle_zoom_begin (FlScrollingManager *manager) |
void | fl_scrolling_manager_handle_zoom_update (FlScrollingManager *manager, gdouble scale) |
void | fl_scrolling_manager_handle_zoom_end (FlScrollingManager *manager) |
#define FL_TYPE_SCROLLING_MANAGER fl_scrolling_manager_get_type() |
Definition at line 14 of file fl_scrolling_manager.h.
void fl_scrolling_manager_handle_rotation_begin | ( | FlScrollingManager * | manager | ) |
fl_scrolling_manager_handle_rotation_begin: @manager: an #FlScrollingManager.
Inform the scrolling manager that a rotation gesture has begun.
Definition at line 151 of file fl_scrolling_manager.cc.
References fl_scrolling_view_delegate_send_pointer_pan_zoom_event(), and TRUE.
Referenced by gesture_rotation_begin_cb().
void fl_scrolling_manager_handle_rotation_end | ( | FlScrollingManager * | manager | ) |
fl_scrolling_manager_handle_rotation_end: @manager: an #FlScrollingManager.
Inform the scrolling manager that a rotation gesture has ended.
Definition at line 174 of file fl_scrolling_manager.cc.
References fl_scrolling_view_delegate_send_pointer_pan_zoom_event().
Referenced by gesture_rotation_end_cb().
void fl_scrolling_manager_handle_rotation_update | ( | FlScrollingManager * | manager, |
gdouble | rotation | ||
) |
fl_scrolling_manager_handle_rotation_update: @manager: an #FlScrollingManager. @rotation: the rotation angle, in radians.
Inform the scrolling manager that a rotation gesture has updated.
Definition at line 164 of file fl_scrolling_manager.cc.
References fl_scrolling_view_delegate_send_pointer_pan_zoom_event().
Referenced by gesture_rotation_update_cb().
void fl_scrolling_manager_handle_scroll_event | ( | FlScrollingManager * | manager, |
GdkEventScroll * | event, | ||
gint | scale_factor | ||
) |
fl_scrolling_manager_handle_scroll_event: @manager: an #FlScrollingManager. @event: the scroll event. @scale_factor: the GTK scaling factor of the window.
Inform the scrolling manager of a scroll event.
Definition at line 74 of file fl_scrolling_manager.cc.
References event, fl_scrolling_view_delegate_send_mouse_pointer_event(), fl_scrolling_view_delegate_send_pointer_pan_zoom_event(), kMicrosecondsPerMillisecond, and TRUE.
Referenced by scroll_event_cb().
void fl_scrolling_manager_handle_zoom_begin | ( | FlScrollingManager * | manager | ) |
fl_scrolling_manager_handle_zoom_begin: @manager: an #FlScrollingManager.
Inform the scrolling manager that a zoom gesture has begun.
Definition at line 185 of file fl_scrolling_manager.cc.
References fl_scrolling_view_delegate_send_pointer_pan_zoom_event(), and TRUE.
Referenced by gesture_zoom_begin_cb().
void fl_scrolling_manager_handle_zoom_end | ( | FlScrollingManager * | manager | ) |
fl_scrolling_manager_handle_zoom_end: @manager: an #FlScrollingManager.
Inform the scrolling manager that a zoom gesture has ended.
Definition at line 208 of file fl_scrolling_manager.cc.
References fl_scrolling_view_delegate_send_pointer_pan_zoom_event().
Referenced by gesture_zoom_end_cb().
void fl_scrolling_manager_handle_zoom_update | ( | FlScrollingManager * | manager, |
gdouble | scale | ||
) |
fl_scrolling_manager_handle_zoom_update: @manager: an #FlScrollingManager. @scale: the zoom scale.
Inform the scrolling manager that a zoom gesture has updated.
Definition at line 198 of file fl_scrolling_manager.cc.
References fl_scrolling_view_delegate_send_pointer_pan_zoom_event().
Referenced by gesture_zoom_update_cb().
FlScrollingManager* fl_scrolling_manager_new | ( | FlScrollingViewDelegate * | view_delegate | ) |
fl_scrolling_manager_new: @view_delegate: An interface that the manager requires to communicate with the platform. Usually implemented by FlView.
Create a new #FlScrollingManager.
Returns: a new #FlScrollingManager.
Definition at line 47 of file fl_scrolling_manager.cc.
Referenced by init_scrolling().
void fl_scrolling_manager_set_last_mouse_position | ( | FlScrollingManager * | manager, |
gdouble | x, | ||
gdouble | y | ||
) |
fl_scrolling_manager_set_last_mouse_position: @manager: an #FlScrollingManager. @x: the mouse x-position, in window coordinates. @y: the mouse y-position, in window coordinates.
Inform the scrolling manager of the mouse position. This position will be used when sending scroll pointer events.
Definition at line 66 of file fl_scrolling_manager.cc.
Referenced by send_pointer_button_event().
G_DECLARE_FINAL_TYPE | ( | FlScrollingManager | , |
fl_scrolling_manager | , | ||
FL | , | ||
SCROLLING_MANAGER | , | ||
GObject | |||
) |