29 #ifndef _PLUGIN_STAT_H_
30 #define _PLUGIN_STAT_H_
35 #define PLUGIN_TYPE HERAIA_PLUGIN_ACTION
37 #define PLUGIN_NAME "stat"
38 #define PLUGIN_VERSION "1.1"
39 #define PLUGIN_SUMMARY "stat"
40 #define PLUGIN_DESCRIPTION N_("Does some stats on the opened file")
41 #define PLUGIN_AUTHOR "Olivier Delhomme <heraia@delhomme.org>"
42 #define PLUGIN_HOMEPAGE "http://heraia.tuxfamily.org/"
60 guint64 histo2D[256][256];
73 extern void quit(
void);
74 extern void run (GtkWidget *, gpointer);
This is the main structure.
gchar * dirname
last openned directory where files were saved
void init(heraia_struct_t *)
The plugin interface functions.
guint nb_val
number of different values
void run(GtkWidget *, gpointer)
To run anything everytime the plugin is called.
heraia_plugin_t * heraia_plugin_init(heraia_plugin_t *)
Initialisation plugin function called when the plugin is loaded (some sort of pre-init) ...
void refresh(heraia_struct_t *, void *)
Called every refresh time (New file & cursor move)
histo_infos_t * infos_1D
stores mathematical datas on the histogram (1D)
GdkPixbuf * pixbuf_1D
Pixbuf to be displayed (1D)
This is the stat structure.
Complete plugin structure.
void quit(void)
When the application exits.
GdkPixbuf * pixbuf_2D
Pixbuf to be displayed (2D)
This file contains all the definitions and includes all other .h files.
histo_infos_t * infos_2D
stores mathematical datas on the histogram (2D)