mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-ui: simplify sizing of positioning in visualizers
This simplifies the visualizer sizing by avoiding the expanding sizes when there is more space available. Doing so allows us to treat all the sizing uniformly. We can also make the ticks area a visualizer for more code re-use.
This commit is contained in:
@ -67,6 +67,12 @@ gint64 sysprof_visualizer_get_begin_time (SysprofVisualizer
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
gint64 sysprof_visualizer_get_end_time (SysprofVisualizer *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_visualizer_set_time_range (SysprofVisualizer *self,
|
||||
gint64 begin_time,
|
||||
gint64 end_time);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
gint64 sysprof_visualizer_get_duration (SysprofVisualizer *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_visualizer_set_reader (SysprofVisualizer *self,
|
||||
SysprofCaptureReader *reader);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
|
||||
Reference in New Issue
Block a user