home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2002 April / pcpro0402.iso / essentials / graphics / Gimp / gimp-src-20001226.exe / src / gimp / plug-ins / FractalExplorer / Globals.c < prev    next >
Encoding:
C/C++ Source or Header  |  2000-08-24  |  2.8 KB  |  128 lines

  1. #include "FractalExplorer.h"
  2.  
  3. /**********************************************************************
  4.   Global variables  
  5.  *********************************************************************/
  6.  
  7. double              xmin = -2,
  8.                     xmax = 1,
  9.                     ymin = -1.5,
  10.                     ymax = 1.5;
  11. double              xbild,
  12.                     ybild,
  13.                     xdiff,
  14.                     ydiff;
  15. double              x_press = -1.0,
  16.                     y_press = -1.0;
  17. double              x_release = -1.0,
  18.                     y_release = -1.0;
  19. float               cx = -0.75;
  20. float               cy = -0.2;
  21. GimpDrawable          *drawable;
  22. gint                tile_width,
  23.                     tile_height;
  24. gint                img_width,
  25.                     img_height,
  26.                     img_bpp;
  27. gint                sel_x1,
  28.                     sel_y1,
  29.                     sel_x2,
  30.                     sel_y2;
  31. gint                sel_width,
  32.                     sel_height;
  33. gint                preview_width,
  34.                     preview_height;
  35. GimpTile              *the_tile = NULL;
  36. double              cen_x,
  37.                     cen_y;
  38. double              xpos,
  39.                     ypos,
  40.                     oldxpos = -1,
  41.                     oldypos = -1;
  42. GtkWidget          *maindlg;
  43. GtkWidget          *logodlg;
  44. GtkWidget          *cmap_preview;
  45. GtkWidget          *delete_frame_to_freeze;
  46. GtkWidget          *fractalexplorer_gtk_list;
  47. GtkWidget          *save_menu_item;
  48. GtkWidget          *fractalexplorer_op_menu;
  49. GdkCursor          *MyCursor;
  50. int                 ready_now = FALSE;
  51. explorer_vals_t     zooms[100];
  52. DialogElements     *elements = NULL;
  53. int                 zoomindex = 1;
  54. int                 zoommax = 1;
  55. gdouble            *gg;
  56. int                 line_no;
  57. gchar              *filename;
  58. clrmap              colormap;
  59. GList           *fractalexplorer_path_list = NULL;
  60. GList           *fractalexplorer_list = NULL;
  61. GList           *gradient_list = NULL;
  62. gchar            *tpath = NULL;
  63. fractalexplorerOBJ *fractalexplorer_obj_for_menu;
  64. GList              *rescan_list = NULL;
  65.  
  66.  
  67. explorer_interface_t wint =
  68. {
  69.     NULL,            /* preview */
  70.     NULL,            /* wimage */
  71.     FALSE            /* run */
  72. };                /* wint */
  73.  
  74. explorer_vals_t wvals =
  75. {
  76.   0,
  77.   -2.0,
  78.   2.0,
  79.   -1.5,
  80.   1.5,
  81.   50.0,
  82.   -0.75,
  83.   -0.2,
  84.   0,
  85.   128.0,
  86.   128.0,
  87.   128.0,
  88.   1,
  89.   1,
  90.   0,
  91.   0,
  92.   0,
  93.   0,
  94.   1,
  95.   256,
  96.   0
  97. };                /* wvals */
  98.  
  99. explorer_vals_t standardvals =
  100. {
  101.   0,
  102.   -2.0,
  103.   2.0,
  104.   -1.5,
  105.   1.5,
  106.   50.0,
  107.   -0.75,
  108.   -0.2,
  109.   0,
  110.   128.0,
  111.   128.0,
  112.   128.0,
  113.   1,
  114.   1,
  115.   0,
  116.   0,
  117.   0,
  118.   0,
  119.   1,
  120.   256,
  121.   0
  122. };                /* standardvals */
  123.  
  124.  
  125. fractalexplorerOBJ *current_obj;
  126. fractalexplorerOBJ *pic_obj;
  127. GtkWidget *delete_dialog = NULL;
  128.