GrafX2 2.9.3227
The ultimate 256-color painting program
|
structure for Main or Spare page global data More...
#include <struct.h>
Data Fields | |
T_Palette | palette |
Palette. More... | |
byte | image_is_modified |
Boolean, means the page has been modified since last save. More... | |
short | image_width |
Width in pixels of the image. More... | |
short | image_height |
Height in pixels of the image. More... | |
short | offset_X |
X position (in image space) of the pixel to display in the top left corner of screen. More... | |
short | offset_Y |
Y position (in image space) of the pixel to display in the top left corner of screen. More... | |
enum FILE_FORMATS | fileformat |
File format of the image currently edited as page. It's a value of enum FILE_FORMATS. More... | |
T_Selector_settings | selector |
File selector settings. More... | |
short | separator_position |
X position (in screen coordinates) of the separator between normal and magnified views. More... | |
short | X_zoom |
X position (in screen coordinates) of the first pixel of the magnified view. More... | |
float | separator_proportion |
Proportion of the non-magnified part of the screen. More... | |
byte | magnifier_mode |
Boolean, true if the main image has the magnifier active. More... | |
word | magnifier_factor |
Zoom factor used in the magnifier. More... | |
word | magnifier_height |
Width of the magnified view for the page. More... | |
word | magnifier_width |
Height of the magnified view for the page. More... | |
short | magnifier_offset_X |
X position (in image space) of the pixel to display in the top left corner of the magnified view. More... | |
short | magnifier_offset_Y |
Y position (in image space) of the pixel to display in the top left corner of the magnified view. More... | |
int | current_layer |
Index of layer currently being edited. More... | |
dword | layers_visible |
Bitfield that records which layers are visible. 2^0 for 0, 2^1 for 1, 2^2 for 2, etc. More... | |
dword | layers_visible_backup |
Backup for layers_visible. More... | |
long | safety_number |
Index to use next time, when creating incremental backups, to make unique filename. More... | |
long | edits_since_safety_backup |
Number of edit actions since the last safety backup. More... | |
dword | time_of_safety_backup |
SDL Time of the previous safety backup. More... | |
byte | safety_backup_prefix |
Letter prefix for the filenames of safety backups. a or b. More... | |
byte | tilemap_mode |
Tilemap mode. More... | |
T_Tile * | tilemap |
Tilemap. More... | |
short | tilemap_width |
Number of tiles (horizontally) for the tilemap. More... | |
short | tilemap_height |
Number of tiles (vertically) for the tilemap. More... | |
T_Bitmap | visible_image |
The pixels of visible layers, flattened copy. More... | |
T_List_of_pages * | backups |
List of backup pages for the main image. More... | |
structure for Main or Spare page global data
T_Palette T_Document::palette |
Palette.
Referenced by Best_color(), Best_color_nonexcluded(), Best_color_perceptual(), Best_color_perceptual_except(), Best_color_range(), Button_Constraint_menu(), Button_Copy_page(), Button_Gradients(), Button_Kill(), Button_Load_or_Save(), Button_Page(), Button_Palette(), Button_Redo(), Button_Reload(), Button_Secondary_palette(), Button_Settings(), Button_Sieve_menu(), Button_Skins(), Button_Undo(), Capture_brush(), Capture_brush_with_lasso(), Color_cycling(), Color_to_SDL_color(), Copy_some_colors(), Download_infos_page_main(), Download_infos_page_spare(), Effect_additive_colorize(), Effect_alpha_colorize(), Effect_interpolated_colorize(), Effect_smooth(), Effect_substractive_colorize(), Get_color_behind_window(), Get_colors_from_brush(), Image_emergency_backup(), Init_all_backup_lists(), Init_context_brush(), Init_context_layered_image(), Init_mode_video(), Init_program(), Load_image(), Load_picture(), Main_handler(), Nibble_brush(), Open_window(), Outline_brush(), Remap_brush(), Remap_spare(), Render_text_TTF(), Save_picture(), Set_nice_menu_colors(), Status_print_palette_color(), and Upload_infos_page().
byte T_Document::image_is_modified |
Boolean, means the page has been modified since last save.
Referenced by Backup_and_resize_the_spare(), Backup_layers(), Backup_the_spare(), Button_Autosave(), Button_Copy_page(), Button_Quit(), Button_Quit_local_function(), Button_Reload(), Button_Transform_menu(), Get_colors_from_brush(), Init_program(), Load_image(), Load_picture(), Main_handler(), Process_backups(), Resize_image(), and Save_picture().
short T_Document::image_width |
Width in pixels of the image.
Referenced by Backup_layers(), Backup_the_spare(), Backup_with_new_dimensions(), Best_video_mode(), Button_Constraint_mode(), Button_Copy_page(), Button_Message_initial(), Button_Page(), Button_Resolution(), Button_Stats(), Button_Transform_menu(), Button_Unselect_magnifier(), Capture_brush(), Capture_brush_with_lasso(), Check_block_constraints(), Clear_current_image(), Clear_current_image_with_stencil(), Clip_magnifier_offsets(), Colorpicker_1_1(), Colorpicker_2_1(), Compute_limits(), Convert_to_dhgr(), Convert_to_hgr(), Copy_image_only(), Copy_view_to_spare(), Count_used_colors(), Count_used_colors_area(), Display_all_screen(), Display_image_limits(), Download_infos_page_main(), Download_infos_page_spare(), Draw_paintbrush(), Draw_xor_rect(), Effect_smooth(), End_of_modification(), Fill_general(), Grad_rectangle_0_5(), Hide_paintbrush(), Image_emergency_backup(), Init_context_layered_image(), Init_mode_video(), Init_program(), Layer_preview_on(), Load_image(), Load_picture(), Merge_layer(), Pixel_figure_preview_xorback(), Pixel_in_document_current_layer(), Pixel_in_layer(), Pixel_in_layer_with_opt_preview(), Pixel_in_screen_c64fli_underlay_with_opt_preview(), Pixel_in_screen_hgr_mono_with_opt_preview(), Pixel_in_screen_layered_with_opt_preview(), Pixel_in_screen_overlay_with_opt_preview(), Pixel_in_screen_underlay_with_opt_preview(), Polyfill_general(), Position_screen_according_to_position(), Position_screen_according_to_zoom(), Print_coordinates(), Read_pixel_from_backup_layer(), Read_pixel_from_backup_screen(), Read_pixel_from_current_screen(), Read_pixel_from_feedback_screen(), Read_pixel_from_layer(), Read_pixel_from_spare_screen(), Redo(), Redraw_current_layer(), Redraw_layered_image(), Redraw_spare_image(), Remap_image_highlevel(), Remap_spare(), Replace(), Replace_colors_within_limits(), Resize_image(), Rightclick_colorpick_2_1(), Scroll_0_5(), Scroll_12_0(), Scroll_12_5(), Scroll_picture(), Scroll_screen(), Switch_layer_mode(), Tile_is_same(), Tile_is_same_flipped_x(), Tile_is_same_flipped_xy(), Tile_is_same_flipped_y(), Tilemap_update(), Undo(), Update_color_hgr_pixel(), Update_depth_buffer(), Update_part_of_screen(), and Upload_infos_page().
short T_Document::image_height |
Height in pixels of the image.
Referenced by Backup_layers(), Backup_the_spare(), Backup_with_new_dimensions(), Best_video_mode(), Button_Constraint_mode(), Button_Copy_page(), Button_Hide_menu(), Button_Message_initial(), Button_Page(), Button_Resolution(), Button_Stats(), Button_Transform_menu(), Button_Unselect_magnifier(), Capture_brush(), Capture_brush_with_lasso(), Check_block_constraints(), Clear_current_image(), Clear_current_image_with_stencil(), Clip_magnifier_offsets(), Colorpicker_1_1(), Colorpicker_2_1(), Compute_limits(), Convert_to_dhgr(), Convert_to_hgr(), Copy_image_only(), Copy_view_to_spare(), Count_used_colors(), Display_all_screen(), Display_image_limits(), Download_infos_page_main(), Download_infos_page_spare(), Draw_paintbrush(), Draw_xor_rect(), Effect_smooth(), End_of_modification(), Fill_general(), Grad_rectangle_0_5(), Image_emergency_backup(), Init_context_layered_image(), Init_mode_video(), Init_program(), Layer_preview_on(), Load_image(), Load_picture(), Merge_layer(), Position_screen_according_to_position(), Position_screen_according_to_zoom(), Print_coordinates(), Read_pixel_from_spare_screen(), Redo(), Redraw_current_layer(), Redraw_layered_image(), Redraw_spare_image(), Remap_image_highlevel(), Remap_spare(), Replace(), Resize_image(), Rightclick_colorpick_2_1(), Scroll_0_5(), Scroll_12_0(), Scroll_12_5(), Scroll_picture(), Scroll_screen(), Set_bar_visibility(), Switch_layer_mode(), Tilemap_update(), Undo(), Update_depth_buffer(), Update_part_of_screen(), and Upload_infos_page().
short T_Document::offset_X |
X position (in image space) of the pixel to display in the top left corner of screen.
Referenced by Button_Magnify(), Button_Reload(), Button_Unselect_magnifier(), Change_magnifier_factor(), Check_recovery(), Clear_brush_double(), Clear_brush_quad(), Clear_brush_simple(), Clear_brush_tall(), Clear_brush_tall2(), Clear_brush_tall3(), Clear_brush_triple(), Clear_brush_wide(), Clear_brush_wide2(), Compute_limits(), Compute_paintbrush_coordinates(), Copy_view_to_spare(), Display_cursor(), Display_paintbrush(), Display_part_of_screen_double(), Display_part_of_screen_quad(), Display_part_of_screen_simple(), Display_part_of_screen_tall(), Display_part_of_screen_tall2(), Display_part_of_screen_tall3(), Display_part_of_screen_triple(), Display_part_of_screen_wide(), Display_part_of_screen_wide2(), Download_infos_page_main(), Draw_curve_cross(), Draw_paintbrush(), Draw_stretch_spot(), Draw_xor_rect(), Hide_cursor(), Hide_paintbrush(), Init_mode_video(), Init_program(), Load_picture(), Magnifier_12_0(), Pixel_figure_preview_xor(), Pixel_preview_magnifier_double(), Pixel_preview_magnifier_quad(), Pixel_preview_magnifier_simple(), Pixel_preview_magnifier_tall(), Pixel_preview_magnifier_tall2(), Pixel_preview_magnifier_tall3(), Pixel_preview_magnifier_triple(), Pixel_preview_magnifier_wide(), Pixel_preview_magnifier_wide2(), Pixel_preview_normal_double(), Pixel_preview_normal_quad(), Pixel_preview_normal_simple(), Pixel_preview_normal_tall(), Pixel_preview_normal_tall2(), Pixel_preview_normal_tall3(), Pixel_preview_normal_triple(), Pixel_preview_normal_wide(), Pixel_preview_normal_wide2(), Position_screen_according_to_position(), Position_screen_according_to_zoom(), Scroll_screen(), and Update_part_of_screen().
short T_Document::offset_Y |
Y position (in image space) of the pixel to display in the top left corner of screen.
Referenced by Button_Hide_menu(), Button_Magnify(), Button_Reload(), Button_Unselect_magnifier(), Change_magnifier_factor(), Check_recovery(), Clear_brush_double(), Clear_brush_quad(), Clear_brush_simple(), Clear_brush_tall(), Clear_brush_tall2(), Clear_brush_tall3(), Clear_brush_triple(), Clear_brush_wide(), Clear_brush_wide2(), Compute_limits(), Compute_paintbrush_coordinates(), Copy_view_to_spare(), Display_cursor(), Display_paintbrush(), Display_part_of_screen_double(), Display_part_of_screen_quad(), Display_part_of_screen_simple(), Display_part_of_screen_tall(), Display_part_of_screen_tall2(), Display_part_of_screen_tall3(), Display_part_of_screen_triple(), Display_part_of_screen_wide(), Display_part_of_screen_wide2(), Download_infos_page_main(), Draw_curve_cross(), Draw_paintbrush(), Draw_stretch_spot(), Draw_xor_rect(), Grad_rectangle_0_5(), Hide_cursor(), Hide_paintbrush(), Init_mode_video(), Init_program(), Load_picture(), Magnifier_12_0(), Pixel_figure_preview_xor(), Pixel_preview_magnifier_double(), Pixel_preview_magnifier_quad(), Pixel_preview_magnifier_simple(), Pixel_preview_magnifier_tall(), Pixel_preview_magnifier_tall2(), Pixel_preview_magnifier_tall3(), Pixel_preview_magnifier_triple(), Pixel_preview_magnifier_wide(), Pixel_preview_magnifier_wide2(), Pixel_preview_normal_double(), Pixel_preview_normal_quad(), Pixel_preview_normal_simple(), Pixel_preview_normal_tall(), Pixel_preview_normal_tall2(), Pixel_preview_normal_tall3(), Pixel_preview_normal_triple(), Pixel_preview_normal_wide(), Pixel_preview_normal_wide2(), Position_screen_according_to_position(), Position_screen_according_to_zoom(), Scroll_screen(), Set_bar_visibility(), and Update_part_of_screen().
enum FILE_FORMATS T_Document::fileformat |
File format of the image currently edited as page. It's a value of enum FILE_FORMATS.
Referenced by Download_infos_page_main(), Download_infos_page_spare(), Init_context_layered_image(), Init_program(), Load_image(), Load_picture(), Save_picture(), and Upload_infos_page().
T_Selector_settings T_Document::selector |
File selector settings.
Referenced by Button_Settings(), Button_Stats(), Init_all_backup_lists(), Init_program(), Load_picture(), Program_shutdown(), and Save_picture().
short T_Document::separator_position |
X position (in screen coordinates) of the separator between normal and magnified views.
Referenced by Button_Colorpicker(), Button_Fill(), Button_Magnify_menu(), Button_Replace(), Button_Unselect_colorpicker(), Button_Unselect_fill(), Compute_limits(), Compute_separator_data(), Copy_view_to_spare(), Cursor_displace(), Display_all_screen(), Display_cursor(), Display_image_limits(), Display_menu(), Display_separator(), Draw_xor_rect(), Hide_cursor(), Init_program(), Main_handler(), Move_cursor_with_constraints(), Move_separator(), Position_screen_according_to_position(), Position_screen_according_to_zoom(), Remap_image_highlevel(), Rightclick_colorpick_0_1(), and Update_part_of_screen().
short T_Document::X_zoom |
X position (in screen coordinates) of the first pixel of the magnified view.
Referenced by Button_Colorpicker(), Button_Fill(), Button_Replace(), Button_Unselect_colorpicker(), Button_Unselect_fill(), Change_magnifier_factor(), Compute_magnifier_data(), Compute_paintbrush_coordinates(), Compute_separator_data(), Copy_view_to_spare(), Display_all_screen(), Display_cursor(), Display_menu(), Display_paintbrush(), Display_part_of_screen_scaled_double(), Display_part_of_screen_scaled_quad(), Display_part_of_screen_scaled_simple(), Display_part_of_screen_scaled_tall(), Display_part_of_screen_scaled_tall2(), Display_part_of_screen_scaled_tall3(), Display_part_of_screen_scaled_triple(), Display_part_of_screen_scaled_wide(), Display_part_of_screen_scaled_wide2(), Display_separator(), Draw_paintbrush(), Fill_general(), Hide_cursor(), Hide_paintbrush(), Horizontal_XOR_line_zoom(), Init_program(), Init_start_operation(), Main_handler(), Move_cursor_with_constraints(), Move_separator(), Pixel_preview_magnifier_double(), Pixel_preview_magnifier_quad(), Pixel_preview_magnifier_simple(), Pixel_preview_magnifier_tall(), Pixel_preview_magnifier_tall2(), Pixel_preview_magnifier_tall3(), Pixel_preview_magnifier_triple(), Pixel_preview_magnifier_wide(), Pixel_preview_magnifier_wide2(), Redraw_grid(), Remap_image_highlevel(), Rightclick_colorpick_0_1(), Update_part_of_screen(), and Vertical_XOR_line_zoom().
float T_Document::separator_proportion |
Proportion of the non-magnified part of the screen.
Referenced by Compute_separator_data(), Copy_view_to_spare(), Init_program(), and Move_separator().
byte T_Document::magnifier_mode |
Boolean, true if the main image has the magnifier active.
Referenced by Button_Colorpicker(), Button_Fill(), Button_Hide_menu(), Button_Kill(), Button_Magnify(), Button_Magnify_menu(), Button_Page(), Button_Redo(), Button_Reload(), Button_Replace(), Button_Resolution(), Button_Skins(), Button_Undo(), Button_Unselect_colorpicker(), Button_Unselect_fill(), Button_Unselect_magnifier(), Change_magnifier_factor(), Clip_magnifier_offsets(), Compute_limits(), Compute_paintbrush_coordinates(), Copy_view_to_spare(), Cursor_displace(), Display_all_screen(), Display_cursor(), Display_image_limits(), Display_menu(), Display_paintbrush(), Download_infos_page_main(), Draw_paintbrush(), Draw_xor_rect(), Fill_general(), Hide_cursor(), Hide_paintbrush(), Init_mode_video(), Init_program(), Load_picture(), Magnifier_12_0(), Main_handler(), Move_cursor_with_constraints(), Pan_view_12_2(), Remap_image_highlevel(), Rightclick_colorpick_0_1(), Select_button(), Set_bar_visibility(), Update_part_of_screen(), Wait_click_in_palette(), Zoom(), and Zoom_set().
word T_Document::magnifier_factor |
Zoom factor used in the magnifier.
Referenced by Button_Page(), Change_magnifier_factor(), Clear_brush_scaled_double(), Clear_brush_scaled_quad(), Clear_brush_scaled_simple(), Clear_brush_scaled_tall(), Clear_brush_scaled_tall2(), Clear_brush_scaled_tall3(), Clear_brush_scaled_triple(), Clear_brush_scaled_wide(), Clear_brush_scaled_wide2(), Clip_magnifier_offsets(), Compute_magnifier_data(), Compute_paintbrush_coordinates(), Compute_separator_data(), Copy_view_to_spare(), Cursor_displace(), Display_all_screen(), Display_brush_color_zoom_double(), Display_brush_color_zoom_quad(), Display_brush_color_zoom_simple(), Display_brush_color_zoom_tall(), Display_brush_color_zoom_tall2(), Display_brush_color_zoom_tall3(), Display_brush_color_zoom_triple(), Display_brush_color_zoom_wide(), Display_brush_color_zoom_wide2(), Display_brush_mono_zoom_double(), Display_brush_mono_zoom_quad(), Display_brush_mono_zoom_simple(), Display_brush_mono_zoom_tall(), Display_brush_mono_zoom_tall2(), Display_brush_mono_zoom_tall3(), Display_brush_mono_zoom_triple(), Display_brush_mono_zoom_wide(), Display_brush_mono_zoom_wide2(), Display_paintbrush(), Display_part_of_screen_scaled_double(), Display_part_of_screen_scaled_quad(), Display_part_of_screen_scaled_simple(), Display_part_of_screen_scaled_tall(), Display_part_of_screen_scaled_tall2(), Display_part_of_screen_scaled_tall3(), Display_part_of_screen_scaled_triple(), Display_part_of_screen_scaled_wide(), Display_part_of_screen_scaled_wide2(), Draw_paintbrush(), Fill_general(), Hide_paintbrush(), Horizontal_XOR_line_zoom(), Init_program(), Pixel_preview_magnifier_double(), Pixel_preview_magnifier_quad(), Pixel_preview_magnifier_simple(), Pixel_preview_magnifier_tall(), Pixel_preview_magnifier_tall2(), Pixel_preview_magnifier_tall3(), Pixel_preview_magnifier_triple(), Pixel_preview_magnifier_wide(), Pixel_preview_magnifier_wide2(), Redraw_grid(), Remap_image_highlevel(), Update_part_of_screen(), Vertical_XOR_line_zoom(), and Zoom().
word T_Document::magnifier_height |
Width of the magnified view for the page.
Referenced by Button_Magnify(), Button_Unselect_magnifier(), Change_magnifier_factor(), Clip_magnifier_offsets(), Compute_limits(), Compute_magnifier_data(), Copy_view_to_spare(), Display_all_screen(), Display_cursor(), Hide_cursor(), Init_program(), Magnifier_12_0(), Main_handler(), Position_screen_according_to_position(), and Position_screen_according_to_zoom().
word T_Document::magnifier_width |
Height of the magnified view for the page.
Referenced by Button_Magnify(), Button_Unselect_magnifier(), Change_magnifier_factor(), Clip_magnifier_offsets(), Compute_limits(), Compute_magnifier_data(), Copy_view_to_spare(), Display_all_screen(), Display_cursor(), Hide_cursor(), Init_program(), Magnifier_12_0(), Main_handler(), Position_screen_according_to_position(), and Position_screen_according_to_zoom().
short T_Document::magnifier_offset_X |
X position (in image space) of the pixel to display in the top left corner of the magnified view.
Referenced by Button_Magnify(), Button_Unselect_magnifier(), Change_magnifier_factor(), Compute_limits(), Compute_magnifier_data(), Compute_paintbrush_coordinates(), Copy_view_to_spare(), Display_paintbrush(), Display_part_of_screen_scaled_double(), Display_part_of_screen_scaled_quad(), Display_part_of_screen_scaled_simple(), Display_part_of_screen_scaled_tall(), Display_part_of_screen_scaled_tall2(), Display_part_of_screen_scaled_tall3(), Display_part_of_screen_scaled_triple(), Display_part_of_screen_scaled_wide(), Display_part_of_screen_scaled_wide2(), Draw_paintbrush(), Fill_general(), Hide_paintbrush(), Horizontal_XOR_line_zoom(), Init_program(), Magnifier_12_0(), Pixel_preview_magnifier_double(), Pixel_preview_magnifier_quad(), Pixel_preview_magnifier_simple(), Pixel_preview_magnifier_tall(), Pixel_preview_magnifier_tall2(), Pixel_preview_magnifier_tall3(), Pixel_preview_magnifier_triple(), Pixel_preview_magnifier_wide(), Pixel_preview_magnifier_wide2(), Position_screen_according_to_position(), Position_screen_according_to_zoom(), Redraw_grid(), Scroll_magnifier(), Update_part_of_screen(), and Vertical_XOR_line_zoom().
short T_Document::magnifier_offset_Y |
Y position (in image space) of the pixel to display in the top left corner of the magnified view.
Referenced by Button_Magnify(), Button_Unselect_magnifier(), Change_magnifier_factor(), Compute_limits(), Compute_magnifier_data(), Compute_paintbrush_coordinates(), Copy_view_to_spare(), Display_all_screen(), Display_paintbrush(), Display_part_of_screen_scaled_double(), Display_part_of_screen_scaled_quad(), Display_part_of_screen_scaled_simple(), Display_part_of_screen_scaled_tall(), Display_part_of_screen_scaled_tall2(), Display_part_of_screen_scaled_tall3(), Display_part_of_screen_scaled_triple(), Display_part_of_screen_scaled_wide(), Display_part_of_screen_scaled_wide2(), Draw_paintbrush(), Fill_general(), Hide_paintbrush(), Horizontal_XOR_line_zoom(), Init_program(), Magnifier_12_0(), Pixel_preview_magnifier_double(), Pixel_preview_magnifier_quad(), Pixel_preview_magnifier_simple(), Pixel_preview_magnifier_tall(), Pixel_preview_magnifier_tall2(), Pixel_preview_magnifier_tall3(), Pixel_preview_magnifier_triple(), Pixel_preview_magnifier_wide(), Pixel_preview_magnifier_wide2(), Position_screen_according_to_position(), Position_screen_according_to_zoom(), Redraw_grid(), Scroll_magnifier(), Update_part_of_screen(), and Vertical_XOR_line_zoom().
int T_Document::current_layer |
Index of layer currently being edited.
Referenced by Add_layer(), Backup(), Button_Anim_continuous_next(), Button_Anim_continuous_prev(), Button_Anim_first_frame(), Button_Anim_last_frame(), Button_Anim_next_frame(), Button_Anim_prev_frame(), Button_Anim_time(), Button_Layer_add(), Button_Layer_down(), Button_Layer_duplicate(), Button_Layer_merge(), Button_Layer_remove(), Button_Layer_up(), Check_block_constraints(), Check_layers_limits(), Clear_current_image(), Clear_current_image_with_stencil(), Copy_image_only(), Copy_image_to_brush(), Delete_layer(), Display_layerbar(), Display_paintbrush(), Draw_paintbrush(), Fill_canvas(), Fill_general(), Init_program(), Layer_activate(), Load_FLI(), Load_GIF(), Load_image(), Merge_layer(), Pixel_in_document_current_layer(), Pixel_in_screen_c64fli_underlay_with_opt_preview(), Pixel_in_screen_layered_with_opt_preview(), Pixel_in_screen_underlay_with_opt_preview(), Pre_load(), Read_pixel_from_backup_layer(), Read_pixel_from_current_layer(), Read_pixel_from_current_screen(), Read_pixel_from_spare_screen(), Redraw_current_layer(), Redraw_layered_image(), Replace_colors_within_limits(), Save_image(), Scroll_12_5(), Set_loading_layer(), Tile_is_same(), Tile_is_same_flipped_x(), Tile_is_same_flipped_xy(), Tile_is_same_flipped_y(), Update_depth_buffer(), Update_FX_feedback(), Update_pixel_renderer(), and Update_screen_targets().
dword T_Document::layers_visible |
Bitfield that records which layers are visible. 2^0 for 0, 2^1 for 1, 2^2 for 2, etc.
Referenced by Add_layer(), Button_Layer_down(), Button_Layer_up(), Check_layers_limits(), Delete_layer(), Display_layerbar(), Init_program(), Layer_activate(), Load_image(), Pixel_in_layer_with_opt_preview(), Pixel_in_screen_c64fli_underlay_with_opt_preview(), Pixel_in_screen_overlay_with_opt_preview(), Pre_load(), Redraw_layered_image(), Redraw_spare_image(), Set_loading_layer(), Update_depth_buffer(), and Update_pixel_renderer().
dword T_Document::layers_visible_backup |
Backup for layers_visible.
Referenced by Init_program(), and Layer_activate().
long T_Document::safety_number |
Index to use next time, when creating incremental backups, to make unique filename.
Referenced by Rotate_safety_backups().
long T_Document::edits_since_safety_backup |
Number of edit actions since the last safety backup.
Referenced by End_of_modification(), and Rotate_safety_backups().
dword T_Document::time_of_safety_backup |
SDL Time of the previous safety backup.
Referenced by Init_program(), and Rotate_safety_backups().
byte T_Document::safety_backup_prefix |
Letter prefix for the filenames of safety backups. a or b.
Referenced by Add_backup_file(), Init_program(), and Rotate_safety_backups().
byte T_Document::tilemap_mode |
Tilemap mode.
Referenced by Any_effect_active(), Button_Copy_page(), Button_Effects(), Button_Tilemap_menu(), Button_Tilemap_mode(), Capture_brush(), Capture_brush_with_lasso(), Disable_tilemap(), Display_effect_states(), Display_pixel(), Effects_off(), Fill_general(), Scroll_0_5(), Tilemap_update(), and Update_part_of_screen().
T_Tile* T_Document::tilemap |
Tilemap.
Referenced by Disable_tilemap(), Tilemap_draw(), and Tilemap_update().
short T_Document::tilemap_width |
Number of tiles (horizontally) for the tilemap.
Referenced by Disable_tilemap(), Tilemap_draw(), and Tilemap_update().
short T_Document::tilemap_height |
Number of tiles (vertically) for the tilemap.
Referenced by Disable_tilemap(), Tilemap_draw(), and Tilemap_update().
T_Bitmap T_Document::visible_image |
The pixels of visible layers, flattened copy.
Referenced by Backup_in_place(), Backup_with_new_dimensions(), End_of_modification(), Image_emergency_backup(), Init_all_backup_lists(), Program_shutdown(), Read_pixel_from_spare_screen(), Redraw_current_layer(), Redraw_layered_image(), Redraw_spare_image(), Remap_image_highlevel(), Save_image(), Scroll_12_0(), Update_buffers(), Update_screen_targets(), and Update_spare_buffers().
T_List_of_pages* T_Document::backups |
List of backup pages for the main image.
Referenced by Add_layer(), Any_effect_active(), Backup_and_resize_the_spare(), Backup_in_place(), Backup_layers(), Backup_new_image(), Backup_the_spare(), Backup_with_new_dimensions(), Button_Anim_continuous_next(), Button_Anim_continuous_prev(), Button_Anim_last_frame(), Button_Anim_next_frame(), Button_Anim_prev_frame(), Button_Anim_time(), Button_Autosave(), Button_Clear(), Button_Constraint_menu(), Button_Constraint_mode(), Button_Effects(), Button_Gradients(), Button_Kill(), Button_Layer_add(), Button_Layer_down(), Button_Layer_duplicate(), Button_Layer_get_transparent(), Button_Layer_menu(), Button_Layer_remove(), Button_Layer_set_transparent(), Button_Layer_up(), Button_Message_initial(), Button_Quit_local_function(), Button_Reload(), Button_Toggle_toolbar(), Button_Transform_menu(), C64_pixels_to_FLI(), Check_block_constraints(), Check_layers_limits(), Check_menu_mode(), Clear_current_image(), Clear_current_image_with_stencil(), Color_cycling(), Copy_image_only(), Copy_image_to_brush(), Count_used_colors(), Delete_layer(), Display_all_screen(), Display_effect_states(), Display_layerbar(), Display_menu_palette(), Display_paintbrush(), Draw_paintbrush(), End_of_modification(), Fill_canvas(), Fill_general(), Frame_menu_color(), Free_current_page(), Free_page_of_a_list(), Get_frame_duration(), Get_image_mode(), Image_emergency_backup(), Init_all_backup_lists(), Init_context_layered_image(), Init_program(), Layer_activate(), Layer_preview_on(), Layer_under_mouse(), Load_FLI(), Load_GIF(), Load_gradient_data(), Load_image(), Load_picture(), Merge_layer(), Pixel_in_document_current_layer(), Pixel_in_layer(), Pixel_in_layer_with_opt_preview(), Pixel_in_screen_egx_with_opt_preview(), Pixel_in_screen_gbc_with_opt_preview(), Pixel_in_screen_layered_with_opt_preview(), Pixel_in_screen_zx_with_opt_preview(), Print_color_cycling_details(), Print_coordinates(), Print_filename(), Program_shutdown(), Read_pixel_from_backup_layer(), Read_pixel_from_current_screen(), Read_pixel_from_layer(), Read_pixel_from_spare_screen(), Redo(), Redraw_current_layer(), Redraw_layered_image(), Redraw_spare_image(), Remap_image_highlevel(), Remap_spare(), Replace_colors_within_limits(), Resize_image(), Rotate_safety_backups(), Save_GIF(), Save_image(), Save_picture(), Save_TIFF_Sub(), Scroll_0_5(), Scroll_12_0(), Scroll_12_5(), Set_frame_duration(), Set_image_mode(), Set_loading_layer(), Set_number_of_backups(), Set_saving_layer(), Switch_layer_mode(), Tile_is_same(), Tile_is_same_flipped_x(), Tile_is_same_flipped_xy(), Tile_is_same_flipped_y(), Undo(), Update_buffers(), Update_depth_buffer(), Update_FX_feedback(), Update_pixel_renderer(), Update_screen_targets(), Update_spare_buffers(), and Upload_infos_page().