diff options
author | Victor Kareh <[email protected]> | 2019-07-11 00:23:18 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-09-13 14:41:47 +0200 |
commit | 3df54a27e70b5fe33be90779f319a627c0773df6 (patch) | |
tree | 68c4b8bf263d8d556f2e7ae734c18d7cbc73f185 /src/procman.h | |
parent | 819b1861ebec1d492029a5e50db2ff79b057c14a (diff) | |
download | mate-system-monitor-3df54a27e70b5fe33be90779f319a627c0773df6.tar.bz2 mate-system-monitor-3df54a27e70b5fe33be90779f319a627c0773df6.tar.xz |
Render icons as cairo surfaces for HiDPI support
back ported from:
https://github.com/mate-desktop/mate-system-monitor/commit/bc190e7
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 d7f1ce9..d00f828 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> @@ -182,17 +183,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 |