00001
00002
00003
00004
00005 #ifndef __IMAGER_APP_H
00006 #define __IMAGER_APP_H
00007
00008 #include "defs.h"
00009
00010
00011
00012
00013
00014 gboolean watchdog (gpointer data);
00015 void app_init();
00016 void app_exit ();
00017 void clickstack_add (int x, int y, int z);
00018 void set_display_title (char* filename);
00019 void gtk_adjustment_init_val (GtkAdjustment *adjustment, float curval,
00020 float lowbnd, float upbnd);
00021 void open_file (char* filename);
00022 int save_file (char* filename, GdkImlibImage* my_im);
00023 int internal_file_read (char* filename, image_type* img);
00024 void file_read (char* filename);
00025 void prepare_display_window (char* filename);
00026 void re_aspect (char incdec);
00027 void close_file ();
00028 void redraw (int must_apply);
00029 void make_imlib_buffer_from_main_image (int slice);
00030 void make_minmax (image_type* img);
00031 void undo_nexus (image_type* img);
00032 void undo_stack_invalidate ();
00033 void do_undo ();
00034
00035
00036 void statusbar_display (const char* text);
00037 void zslice_spin_register (gpointer func);
00038 void zslice_spin_unregister ();
00039 void new_zslice (int z);
00040 void init_scrollbars();
00041 void about_window ();
00042 void display_license ();
00043 int start_help ();
00044
00045
00046
00047 void clickhandler (int mousex, int mousey);
00048 void pixelpeek (int x, int y);
00049 void view_profile_xyz (image_type* img, int x1, int y1, int z1, int x2, int y2, int z2);
00050 void view_profile();
00051 void view_linesum_x(image_type* img, int z);
00052 void view_linesum_y(image_type* img, int z);
00053 void view_zslab();
00054 void imginfo (image_type* img);
00055
00056 #endif