diff options
| author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2010-05-03 09:27:26 -0300 | 
|---|---|---|
| committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2010-05-03 21:08:06 -0300 | 
| commit | 9273c075a2f993c5154614b70233d8f74515c851 (patch) | |
| tree | eb72a8c58e6bc8f4ca3b739d28fbecc269c0052d /hardinfo2/includes/loadgraph.h | |
| parent | 9a50155ec3e27aa6cedf3f118196f1947c769a29 (diff) | |
Move files from hardinfo2 to root.
Diffstat (limited to 'hardinfo2/includes/loadgraph.h')
| -rw-r--r-- | hardinfo2/includes/loadgraph.h | 69 | 
1 files changed, 0 insertions, 69 deletions
diff --git a/hardinfo2/includes/loadgraph.h b/hardinfo2/includes/loadgraph.h deleted file mode 100644 index 3a53f793..00000000 --- a/hardinfo2/includes/loadgraph.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Simple Load Graph - * Copyright (C) 2006 Leandro A. F. Pereira <leandro@hardinfo.org> - * - * The Simple Load Graph is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License, version 2.1, as published by the Free Software Foundation. - * - * The Simple Load Graph is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with the Simple Load Graph; if not, write to the Free - * Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - * 02111-1307 USA.  - */ - - -#ifndef __LOADGRAPH_H__ -#define __LOADGRAPH_H__ - -#include <stdlib.h> -#include <gtk/gtk.h> -#include <math.h> - -typedef struct _LoadGraph LoadGraph; - -typedef enum { -    LG_COLOR_GREEN = 0x4FB05A, -    LG_COLOR_BLUE  = 0x4F58B0, -    LG_COLOR_RED   = 0xB04F4F -} LoadGraphColor; - -struct _LoadGraph { -    GdkPixmap     *buf; -    GtkWidget     *area; - -    GdkGC         *grid; -    GdkGC         *trace; -    GdkGC	  *fill; - -    gint     	  *data; -    gfloat         scale; - -    gint	   size; -    gint	   width, height; -    LoadGraphColor color;     -     -    gint	   max_value, remax_count; -     -    PangoLayout   *layout; -    gchar	  *suffix; -}; - -LoadGraph 	*load_graph_new(gint size); -void 		 load_graph_destroy(LoadGraph *lg); -void		 load_graph_configure_expose(LoadGraph *lg); -GtkWidget 	*load_graph_get_framed(LoadGraph *lg); - -void		 load_graph_update(LoadGraph *lg, gint value); -void		 load_graph_set_color(LoadGraph *lg, LoadGraphColor color); -void		 load_graph_clear(LoadGraph *lg); - -void		 load_graph_set_data_suffix(LoadGraph *lg, gchar *suffix); -gchar 		*load_graph_get_data_suffix(LoadGraph *lg); - -#endif	/* __LOADGRAPH_H__ */  | 
