Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 256b8b6b19651ff577b85a45c2d0ddbc > files > 47

d4x-debug-2.5.7.1-3mdv2007.1.i586.rpm

/*	WebDownloader for X-Window
 *	Copyright (C) 1999-2002 Koshelev Maxim
 *	This Program is free but not GPL!!! You can't modify it
 *	without agreement with author. You can't distribute modified
 *	program but you can distribute unmodified program.
 *
 *	This program 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.
 */
#ifndef MY_GTK_GRAPH
#define MY_GTK_GRAPH

#include "../meter.h"
#include <gtk/gtk.h>

struct MyGtkGraph{
	GtkWidget widget;
	GdkColor TextColor;
	GdkRgbCmap *cmap;
	tMeter *LocalM,*GlobalM;
	PangoFontDescription *font_desc;
	guchar *rgb_data;
	int show_speed;
	int show_offline;
};

struct MyGtkGraphClass{
	GtkWidgetClass parent_class;
};

extern MyGtkGraph *GLOBAL_GRAPH;
extern MyGtkGraph *D4X_DND_GRAPH;

GtkWidget *my_gtk_graph_new();
void my_gtk_graph_recalc(MyGtkGraph *graph);
void my_gtk_graph_cmap_reinit(MyGtkGraph *graph);

#endif