mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-09 22:50:54 +00:00
libsysprof-ui: add some helpers to zoom manager
This should be able to help us cleanup some duplicated code in various places so that we keep our timings associated amongst different visualizing widgets.
This commit is contained in:
@ -64,5 +64,11 @@ void sysprof_zoom_manager_set_zoom (SysprofZoomManager *s
|
||||
gdouble zoom);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
gchar *sysprof_zoom_manager_get_zoom_label (SysprofZoomManager *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
gint sysprof_zoom_manager_get_width_for_duration (SysprofZoomManager *self,
|
||||
gint64 duration);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
gint64 sysprof_zoom_manager_get_duration_for_width (SysprofZoomManager *self,
|
||||
gint width);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user