mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
libsysprof-ui: land new UI design
This comprises a massive rewrite of the UI for browsing captures. We use the SysprofAid class to scan capture files for content and then auto- matically add visualizers and details pages. To avoid breaking things incrementally, we just land this as a very large commit. Not necessarily ideal, but given the amount of stuff that could break, this is easier. As part of this process, we're removing a lot of the surface API so that we can limit how much we need to maintain in terms of ABI.
This commit is contained in:
@ -20,14 +20,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#if !defined (SYSPROF_UI_INSIDE) && !defined (SYSPROF_UI_COMPILATION)
|
||||
# error "Only <sysprof-ui.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "sysprof-version-macros.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define SYSPROF_TYPE_CELL_RENDERER_PERCENT (sysprof_cell_renderer_percent_get_type())
|
||||
@ -50,16 +44,13 @@ struct _SysprofCellRendererPercentClass
|
||||
{
|
||||
GtkCellRendererProgressClass parent_class;
|
||||
|
||||
gpointer padding[4];
|
||||
/*< private >*/
|
||||
gpointer _reserved[4];
|
||||
};
|
||||
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
GType sysprof_cell_renderer_percent_get_type (void);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
GtkCellRenderer *sysprof_cell_renderer_percent_new (void);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
gdouble sysprof_cell_renderer_percent_get_percent (SysprofCellRendererPercent *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_cell_renderer_percent_set_percent (SysprofCellRendererPercent *self,
|
||||
gdouble percent);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user