diff options
author | Victor Kareh <[email protected]> | 2019-07-11 00:23:18 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-07-13 11:13:14 +0200 |
commit | bc190e7b657f715c5dc21eda1d910d1d3c52664f (patch) | |
tree | 3b476660c96d32af2fa867d8b84156f191be6332 /src/procman.h | |
parent | 53ea0436414263d0be7e5e2ae5c6dcfc7b9047dc (diff) | |
download | mate-system-monitor-bc190e7b657f715c5dc21eda1d910d1d3c52664f.tar.bz2 mate-system-monitor-bc190e7b657f715c5dc21eda1d910d1d3c52664f.tar.xz |
Render icons as cairo surfaces for HiDPI support
Diffstat (limited to 'src/procman.h')
-rw-r--r-- | src/procman.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/procman.h b/src/procman.h index 44ef2bc..ca58cbf 100644 --- a/src/procman.h +++ b/src/procman.h @@ -21,6 +21,7 @@ #include <glibmm/refptr.h> +#include <cairo-gobject.h> #include <gdk-pixbuf/gdk-pixbuf.h> #include <glib.h> #include <gio/gio.h> @@ -190,17 +191,16 @@ class ProcInfo void set_user(guint uid); std::string lookup_user(guint uid); - GtkTreeIter node; - Glib::RefPtr<Gdk::Pixbuf> pixbuf; - gchar *tooltip; - gchar *name; - gchar *arguments; + GtkTreeIter node; + cairo_surface_t *surface; + gchar *tooltip; + gchar *name; + gchar *arguments; + gchar *security_context; - gchar *security_context; - - const pid_t pid; - pid_t ppid; - guint uid; + const pid_t pid; + pid_t ppid; + guint uid; // private: // tracks cpu time per process keeps growing because if a |