home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / fractal / kaos.lha / include / sunview_kaos_init.h < prev    next >
Encoding:
Text File  |  1990-01-23  |  11.0 KB  |  239 lines

  1. /*
  2. *****************************************************************************
  3.  
  4.         Kaos Sunview global variables
  5.  
  6.     Swan Kim and John Guckenheimer, POSTECH & Cornell U, 11/1/89
  7.  
  8. *****************************************************************************
  9.     Names of most items are mnemonic and are obviously connected to the
  10.     global variables when the suffix "_item" is deleted, so that
  11.     the description of most items is ommitted.
  12. *****************************************************************************
  13. */
  14.  
  15. /*-----------------------------------------------------------------------------
  16.     Miscelleneous Sunview objects 
  17. -----------------------------------------------------------------------------*/
  18. Pixfont *boldfont;    /* Bold font 12 point */
  19. Pixfont *boldfont24;    /* Bold font 24 point */
  20. Pixfont *courier10;    /* Courier font 10 point */
  21. Rect *rectp;        /* pixrect rectangle */
  22. Event *event;        /* Sunview Event */
  23.  
  24. /*-----------------------------------------------------------------------------
  25.     Sunview objects for the base phase space window 
  26. -----------------------------------------------------------------------------*/
  27. Frame frame;        /* base frame (phase space frame) */
  28. Cursor cursor;        /* phase space cursor */
  29. Canvas canvas;        /* phase space canvas */
  30. Pixwin *pw;        /* phase space pixwin */
  31.  
  32. /*-----------------------------------------------------------------------------
  33.     Sunview objects for the parameter space window 
  34. -----------------------------------------------------------------------------*/
  35. Frame param_frame;    /* parameter space frame */
  36. Canvas param_canvas;    /* parameter space canvas */
  37. Cursor param_cursor;    /* parameter space cursor */
  38. Pixwin *param_pw;    /* parameter space pixwin */
  39.  
  40. /*-----------------------------------------------------------------------------
  41.     Sunview objects for the main panel
  42. -----------------------------------------------------------------------------*/
  43. Frame main_frame;     /* main panel frame */
  44. Panel panel;        /* main panel panel */
  45. Panel_item quit_item,open_item,reset_item,print_item;    /* Quit, Open, Reset, Print buttons */
  46. Panel_item user_item,forward_item,backward_item;    /* User, Forw, Back buttons */
  47. Panel_item continue_item,batch_item;            /* Cont, Batch buttons */
  48. Panel_item top_item,add_point_item,remove_point_item;    /* Top, Add point, Remove point buttons */
  49. Panel_item i_start_item,i_max_item,i_step_item;        /* i_start, i_max, i_step text items */
  50. Panel_item *param_item,*var_i_item;            /* Parameters, initial variables text item */
  51. Panel_item time_step_item;                /* Time step text item */
  52.  
  53. /*-----------------------------------------------------------------------------
  54.     Sunview Objects for the system info window
  55. -----------------------------------------------------------------------------*/
  56. Frame system_info_frame;    /* frame */
  57. Panel system_info_panel;    /* panel */
  58. Panel_item system_info_panel_quit_item;    /* Quit button */
  59. Panel_item n_displayed_data1_item,n_displayed_data0_item,average_return_time_item;    /* text items */
  60. Panel_item *func_i_item,*func_f_item;    /* text items */
  61.  
  62. /*-----------------------------------------------------------------------------
  63.     Sunview Objects for the option window
  64. -----------------------------------------------------------------------------*/
  65. Frame options_frame;    /* frame */
  66. Panel options_panel;    /* panel */
  67. Panel_item options_panel_quit_item;    /* buttons */
  68. Panel_item model_item,transient_item,dot_size_item; /* cycles */
  69. Panel_item draw_all_item,polar_coord_item; /* cycles */
  70. Panel_item invert_background_item,colormap_option_item,colorcode_depth_index_item;    /* cycles */
  71. Panel_item symbol_type_item,symbol_size_item;    /* cycles */
  72. Panel_item colorcode_min_item,colorcode_max_item,cur_color_item;    /* text items */
  73.  
  74. /*-----------------------------------------------------------------------------
  75.     Sunview Objects for the section window
  76. -----------------------------------------------------------------------------*/
  77. Frame section_frame;
  78. Panel section_panel;
  79. Panel_item section_panel_quit_item;
  80. Panel_item polar_section_item,section_index_item,linear_interpolation_item,n_poincare_item,section_constant_item;
  81.  
  82. /*-----------------------------------------------------------------------------
  83.     Sunview Objects for the projection (window size) window
  84. -----------------------------------------------------------------------------*/
  85. Frame window_size_frame;
  86. Panel window_size_panel;
  87. Panel_item window_size_panel_quit_item;
  88. Panel_item clear_last_item,redisplay_item,n_stored_data1_item,n_stored_data0_item;
  89. Panel_item proj_var_item[2],proj_param_item[2];
  90. Panel_item *all_min_item,*all_max_item;
  91.  
  92. /*-----------------------------------------------------------------------------
  93.     Sunview Objects for the save-load window
  94. -----------------------------------------------------------------------------*/
  95. Frame save_load_frame;
  96. Panel save_load_panel;
  97. Panel_item save_load_panel_quit_item;
  98. Panel_item save_data_item,load_data_item;
  99. Panel_item file_name_item,dir_name_item;
  100. Panel_item save_option_item;
  101.  
  102. /*-----------------------------------------------------------------------------
  103.     Sunview Objects for the execution window
  104. -----------------------------------------------------------------------------*/
  105. Frame exec_frame;
  106. Panel exec_panel;
  107. Textsw exec_textsw;
  108. Textsw_status exec_status;
  109. Panel_item exec_panel_quit_item, exec_panel_go_item, exec_panel_load_item;
  110. Panel_item exec_dir_name_item, exec_file_name_item, exec_input_name_item;
  111.  
  112. /*-----------------------------------------------------------------------------
  113.     Sunview Objects for the auxiliary window
  114. -----------------------------------------------------------------------------*/
  115. Frame *aux_frame;
  116. Panel *aux_panel;
  117. Canvas *aux_canvas;
  118. Cursor *aux_cursor;
  119. Pixwin **aux_pw;
  120. Panel_item *aux_quit_item;
  121. Panel_item *aux_copy_item;
  122. Panel_item *aux_win_mode_item;
  123. Panel_item *aux_x_item;
  124. Panel_item *aux_y_item;
  125. Panel_item *aux_x_min_item;
  126. Panel_item *aux_x_max_item;
  127. Panel_item *aux_y_min_item;
  128. Panel_item *aux_y_max_item;
  129.  
  130. /*-----------------------------------------------------------------------------
  131.     Sunview Objects for the integration window
  132. -----------------------------------------------------------------------------*/
  133. Frame int_frame;
  134. Pixwin *int_pw;
  135. Panel int_panel;
  136. Panel_item int_quit_item,int_driver_item,int_algorithm_item,int_option_item,int_nstep_item,int_max_nstep_item;
  137. Panel_item int_start_item,int_end_item,int_period_item,int_eps_item,int_guessed_step_item,int_min_step_item,*int_yscal_item;
  138.  
  139. /*-----------------------------------------------------------------------------
  140.     Sunview Objects for the periodic orbit (fixed point) window
  141. -----------------------------------------------------------------------------*/
  142. Frame fp_frame;
  143. Pixwin *fp_pw;
  144. Panel fp_panel;
  145. Panel_item fp_quit_item,fp_go_item,fp_clear_item,fp_manifold_item,fp_show_item;
  146. Panel_item fp_go_option_item,fp_display_option_item,fp_algorithm_item;
  147. Panel_item fp_n_stored_fp_item,fp_ir_item;
  148. Panel_item fp_sqzex_maxsq_item,fp_sqzex_eps_item,fp_sqzex_epsf_item,fp_sqzex_epsm_item,fp_mc_eps_item,fp_n_mc_item;
  149. Panel_item fp_mu_item,fp_ms_item,fp_muf_item,fp_msf_item,fp_iskip_item,fp_gp_delm_item;
  150. Panel_item fp_fi_eps_item,fp_fi_epsf_item,fp_fi_epsm_item,fp_fi_maxsq_item;
  151.  
  152. Panel_item fp_2manifold_item;
  153.  
  154. /*-----------------------------------------------------------------------------
  155.     Sunview Objects for the print window
  156. -----------------------------------------------------------------------------*/
  157. Frame print_frame;
  158. Panel print_panel;
  159. Panel_item print_quit_item,print_print_item,print_option_item,print_region_item,print_lpr_item,print_graph_item;
  160.  
  161. /*-----------------------------------------------------------------------------
  162.     Sunview Objects for the AUTO86 window
  163. -----------------------------------------------------------------------------*/
  164. Textsw auto_textsw;
  165. Textsw_status auto_status;
  166. Frame auto_frame;
  167. Panel auto_panel;
  168. Panel_item auto_panel_quit_item,auto_panel_go_item,auto_panel_load_item,auto_panel_write_init_item;
  169. Panel_item auto_dir_name_item,auto_file_name_item,auto_input_name_item;
  170. Panel_item auto_ndim_item,auto_ips_item,auto_irs_item,auto_ilp_item;
  171. Panel_item auto_ntst_item,auto_ncol_item,auto_iad_item,auto_isp_item,auto_isw_item,auto_iplt_item;
  172. Panel_item auto_nbc_item,auto_nint_item,auto_nmx_item,auto_npr_item,auto_mxbf_item,auto_iid_item;
  173. Panel_item auto_itmx_item,auto_itnw_item,auto_nwtn_item,auto_jac_item,auto_nuzr_item;
  174. Panel_item auto_nfpar_item,auto_icp_item[AUTO_NFPAR_MAX];
  175. Panel_item auto_rl0_item,auto_rl1_item,auto_a0_item,auto_a1_item,auto_par_item[20];
  176. Panel_item auto_epsu_item,auto_epss_item,auto_epsl_item[2],auto_ds_item,auto_dsmin_item,auto_dsmax_item;
  177. Panel_item auto_thetau_item,auto_thetal_item[2];
  178.  
  179. /*-----------------------------------------------------------------------------
  180.     Sunview Objects for the time series window
  181. -----------------------------------------------------------------------------*/
  182. Frame tser_frame;
  183. Panel tser_panel;
  184. Panel_item tser_quit_item,tser_copy_item,tser_clear_item;
  185. Panel_item tser_fft_item,tser_lyap_item,tser_dims_item;
  186. Panel_item tser_algorithm_option_item,tser_data_option_item;
  187.  
  188. /*-----------------------------------------------------------------------------
  189.     Sunview Objects for the fft window
  190. -----------------------------------------------------------------------------*/
  191. Frame fft_frame;
  192. Panel fft_panel;
  193. Panel_item fft_quit_item,fft_go_item,fft_show_item;
  194. Panel_item fft_algorithm_option_item;
  195.  
  196. /*-----------------------------------------------------------------------------
  197.     Sunview Objects for the lyapunov window
  198. -----------------------------------------------------------------------------*/
  199. Frame lyap_frame;
  200. Panel lyap_panel;
  201. Panel_item lyap_quit_item,lyap_go_item;
  202. Panel_item lyap_algorithm_option_item;
  203.  
  204. /*-----------------------------------------------------------------------------
  205.     Sunview Objects for the dimensions window
  206. -----------------------------------------------------------------------------*/
  207. Frame dims_frame;
  208. Panel dims_panel;
  209. Panel_item dims_quit_item,dims_go_item,dims_analyze_item;
  210. Panel_item dims_type_option_item,dims_algorithm_option_item;
  211. Panel_item dims_scale_max_item,dims_scale_factor_item;
  212. Panel_item dims_lsf_start_item,dims_lsf_end_item;
  213.  
  214. /*-----------------------------------------------------------------------------
  215.     Sunview Objects for the scan window
  216. -----------------------------------------------------------------------------*/
  217. Frame scan_frame;
  218. Panel scan_panel;
  219. Textsw scan_textsw;
  220. Textsw_status scan_status;
  221. Panel_item scan_quit_item,scan_get_item,scan_go_item,scan_clear_item,scan_show_item;
  222. Panel_item scan_list_type_item,scan_algorithm_option_item,scan_n_stored_item;
  223. Panel_item scan_xgrid_item[3],scan_xmin_item[3],scan_xmax_item[3];
  224.  
  225. /*-----------------------------------------------------------------------------
  226.     Sunview Objects for the help window
  227. -----------------------------------------------------------------------------*/
  228. Frame help_frame;
  229. Panel help_panel;
  230. Textsw help_textsw;
  231. Textsw_status help_status;
  232. Panel_item help_quit_item,help_option_item;
  233.  
  234. /*-----------------------------------------------------------------------------
  235.     Sunview Objects for the menus
  236. -----------------------------------------------------------------------------*/
  237. Menu main_menu,param_menu,aux_menu,orbit_menu,open_menu,bif_menu,batch_menu;
  238.  
  239.