mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-gtk: make timelabel available
Realistically, we're going to drop this library anyway and bring it into sysprof binary itself, so no big deal.
This commit is contained in:
@ -15,6 +15,7 @@ libsysprof_gtk_public_sources = [
|
||||
'sysprof-session-model.c',
|
||||
'sysprof-session-model-item.c',
|
||||
'sysprof-split-layer.c',
|
||||
'sysprof-time-label.c',
|
||||
'sysprof-time-ruler.c',
|
||||
'sysprof-time-span-layer.c',
|
||||
'sysprof-time-series.c',
|
||||
@ -48,6 +49,7 @@ libsysprof_gtk_public_headers = [
|
||||
'sysprof-session-model.h',
|
||||
'sysprof-session-model-item.h',
|
||||
'sysprof-split-layer.h',
|
||||
'sysprof-time-label.h',
|
||||
'sysprof-time-ruler.h',
|
||||
'sysprof-time-series.h',
|
||||
'sysprof-time-series-item.h',
|
||||
@ -70,7 +72,6 @@ libsysprof_gtk_private_sources = [
|
||||
'sysprof-progress-cell.c',
|
||||
'sysprof-session-discover.c',
|
||||
'sysprof-symbol-label.c',
|
||||
'sysprof-time-label.c',
|
||||
]
|
||||
|
||||
libsysprof_gtk_deps = [
|
||||
|
||||
@ -41,6 +41,7 @@ G_BEGIN_DECLS
|
||||
# include "sysprof-session-model.h"
|
||||
# include "sysprof-session-model-item.h"
|
||||
# include "sysprof-split-layer.h"
|
||||
# include "sysprof-time-label.h"
|
||||
# include "sysprof-time-ruler.h"
|
||||
# include "sysprof-time-series.h"
|
||||
# include "sysprof-time-series-item.h"
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
|
||||
#include "sysprof-css-private.h"
|
||||
#include "sysprof-mark-table.h"
|
||||
#include "sysprof-time-label-private.h"
|
||||
#include "sysprof-time-label.h"
|
||||
|
||||
#include "libsysprof-gtk-resources.h"
|
||||
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
|
||||
#include <sysprof-capture.h>
|
||||
|
||||
#include "sysprof-time-label-private.h"
|
||||
#include "sysprof-time-label.h"
|
||||
|
||||
struct _SysprofTimeLabel
|
||||
{
|
||||
|
||||
@ -26,16 +26,24 @@ G_BEGIN_DECLS
|
||||
|
||||
#define SYSPROF_TYPE_TIME_LABEL (sysprof_time_label_get_type())
|
||||
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
G_DECLARE_FINAL_TYPE (SysprofTimeLabel, sysprof_time_label, SYSPROF, TIME_LABEL, GtkWidget)
|
||||
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
GtkWidget *sysprof_time_label_new (void);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
gboolean sysprof_time_label_get_show_zero (SysprofTimeLabel *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_time_label_set_show_zero (SysprofTimeLabel *self,
|
||||
gboolean show_zero);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
gint64 sysprof_time_label_get_duration (SysprofTimeLabel *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_time_label_set_duration (SysprofTimeLabel *self,
|
||||
gint64 duration);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
gint64 sysprof_time_label_get_time_offset (SysprofTimeLabel *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_time_label_set_time_offset (SysprofTimeLabel *self,
|
||||
gint64 time_offset);
|
||||
|
||||
Reference in New Issue
Block a user