Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

visual_progress.h File Reference


Detailed Description

Displaying the visual progress of downloading graphically.

Author:
Hans de Graaff
Date:
2003-3004

#include "gui.h"
#include "if/core/fileinfo.h"

Go to the source code of this file.

Functions

void vp_gui_init (void)
 Initialize the use of visual progress.

void vp_gui_shutdown (void)
 Undo everything set up in vp_gui_init.

void vp_draw_fi_progress (gboolean valid, gnet_fi_t fih)
 External function for drawing information in supplied pixmap.

void on_drawingarea_fi_progress_realize (GtkWidget *widget, gpointer user_data)
 Callback for the fileinfo pane GtkDrawingArea.

gboolean on_drawingarea_fi_progress_configure_event (GtkWidget *widget, GdkEventConfigure *event, gpointer user_data)
gboolean on_drawingarea_fi_progress_expose_event (GtkWidget *widget, GdkEventExpose *event, gpointer user_data)
 Callback for the fileinfo pane GtkDrawingArea.


Function Documentation

gboolean on_drawingarea_fi_progress_configure_event GtkWidget *  widget,
GdkEventConfigure *  event,
gpointer  user_data
 

gboolean on_drawingarea_fi_progress_expose_event GtkWidget *  widget,
GdkEventExpose *  event,
gpointer  user_data
 

Callback for the fileinfo pane GtkDrawingArea.

void on_drawingarea_fi_progress_realize GtkWidget *  widget,
gpointer  user_data
 

Callback for the fileinfo pane GtkDrawingArea.

void vp_draw_fi_progress gboolean  valid,
gnet_fi_t  fih
 

External function for drawing information in supplied pixmap.

fih is expected to be a valid fih. Depending on the value of valid the area will be drawn or cleared.

void vp_gui_init void   ) 
 

Initialize the use of visual progress.

Register listeners into the fileinfo structure so that we are notified of fileinfo events, and get a permanent handle to the drawing area for later reuse.

void vp_gui_shutdown void   ) 
 

Undo everything set up in vp_gui_init.


Generated on Sun Feb 12 10:50:10 2006 for Gtk-Gnutella by doxygen 1.3.6