From 4979bb6cbbbe39eb44c32530cd13f86bf44e5d77 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Mon, 19 Jun 2017 14:38:48 -0500 Subject: Import Upstream version 0.5c --- shell.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'shell.h') diff --git a/shell.h b/shell.h index 5446d6c2..56b7765f 100644 --- a/shell.h +++ b/shell.h @@ -1,6 +1,6 @@ /* * HardInfo - Displays System Information - * Copyright (C) 2003-2007 Leandro A. F. Pereira + * Copyright (C) 2003-2007 Leandro A. F. Pereira * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -48,6 +48,7 @@ typedef enum { SHELL_VIEW_DUAL, SHELL_VIEW_LOAD_GRAPH, SHELL_VIEW_PROGRESS, + SHELL_VIEW_PROGRESS_DUAL, SHELL_VIEW_N_VIEWS } ShellViewType; @@ -65,6 +66,8 @@ typedef enum { INFO_TREE_COL_DATA, INFO_TREE_COL_PBUF, INFO_TREE_COL_PROGRESS, + INFO_TREE_COL_EXTRA1, + INFO_TREE_COL_EXTRA2, INFO_TREE_NCOL } ShellInfoTreeColumns; @@ -84,6 +87,7 @@ struct _Shell { GtkUIManager *ui_manager; ShellViewType view_type; + gboolean normalize_percentage; gint _pulses; ShellOrderType _order_type; @@ -104,7 +108,7 @@ struct _ShellInfoTree { GtkTreeModel *model; GtkTreeSelection *selection; - GtkTreeViewColumn *col_progress, *col_value; + GtkTreeViewColumn *col_progress, *col_value, *col_extra1, *col_extra2, *col_textvalue; }; struct _ShellNote { @@ -124,7 +128,7 @@ struct _ShellModule { struct _ShellModuleMethod { gchar *name; - gchar *(*function) (void); + gpointer function; }; struct _ShellModuleEntry { -- cgit v1.2.3