GrafX2 2.9.3227
The ultimate 256-color painting program
|
Functions | |
int | Layers_max (enum IMAGE_MODES mode) |
void | Button_Layer_add (int) |
void | Button_Layer_duplicate (int) |
void | Button_Layer_remove (int) |
void | Button_Layer_menu (int) |
void | Button_Layer_set_transparent (int) |
void | Button_Layer_get_transparent (int) |
void | Button_Layer_merge (int) |
void | Button_Layer_up (int) |
void | Button_Layer_down (int) |
void | Button_Layer_select (int) |
void | Button_Layer_toggle (int) |
void | Layer_activate (int layer, short side) |
void | Button_Anim_time (int) |
void | Button_Anim_first_frame (int) |
void | Button_Anim_prev_frame (int) |
void | Button_Anim_next_frame (int) |
void | Button_Anim_last_frame (int) |
void | Button_Anim_play (int) |
void | Button_Anim_continuous_prev (int) |
void | Button_Anim_continuous_next (int) |
int Layers_max | ( | enum IMAGE_MODES | mode | ) |
References IMAGE_MODE_ANIMATION, IMAGE_MODE_LAYERED, MAX_NB_FRAMES, MAX_NB_LAYERS, and mode.
Referenced by Add_layer(), Button_Layer_add(), and Button_Layer_duplicate().
void Button_Layer_add | ( | int | btn | ) |
References Add_layer(), Backup_layers(), T_Document::backups, T_Document::current_layer, Display_all_screen(), Display_cursor(), Display_layerbar(), End_of_modification(), Hide_cursor, T_Page::Image_mode, LAYER_NONE, Layers_max(), Main, T_Page::Nb_layers, T_List_of_pages::Pages, Unselect_button(), and Update_depth_buffer().
void Button_Layer_duplicate | ( | int | btn | ) |
References Add_layer(), Backup_layers(), T_Document::backups, T_Document::current_layer, Display_all_screen(), Display_cursor(), Display_layerbar(), End_of_modification(), T_Page::Height, Hide_cursor, T_Page::Image, T_Page::Image_mode, IMAGE_MODE_ANIMATION, LAYER_NONE, Layers_max(), Main, T_Page::Nb_layers, T_List_of_pages::Pages, T_Image::Pixels, Unselect_button(), Update_depth_buffer(), and T_Page::Width.
void Button_Layer_remove | ( | int | btn | ) |
enforce 5 layers for IMAGE_MODE_MODE5 and IMAGE_MODE_RASTER and 2 layers for IMAGE_MODE_HGR and IMAGE_MODE_DHGR.
References Backup_layers(), T_Document::backups, T_Document::current_layer, Delete_layer(), Display_all_screen(), Display_cursor(), Display_layerbar(), End_of_modification(), Hide_cursor, T_Page::Image_mode, IMAGE_MODE_DHGR, IMAGE_MODE_HGR, IMAGE_MODE_MODE5, IMAGE_MODE_RASTER, LAYER_NONE, Main, T_Page::Nb_layers, T_List_of_pages::Pages, Redraw_layered_image(), Unselect_button(), and Update_screen_targets().
void Button_Layer_menu | ( | int | btn | ) |
References T_Page::Background_transparent, Backup_layers(), T_Document::backups, BUTTON_HELP, Close_window(), Display_all_screen(), Display_cursor(), Draw_transparent_background(), Draw_transparent_color(), End_of_modification(), Get_color_behind_window(), Hide_cursor, Is_shortcut(), Key, KEY_ESC, KEY_NONE, KEY_RETURN, LAYER_NONE, Main, MC_Black, MC_Dark, MC_Light, NULL, Open_window(), T_List_of_pages::Pages, Print_in_window(), Redraw_layered_image(), T_Page::Transparent_color, Unselect_button(), Update_window_area, Wait_end_of_click(), Window_clicked_button(), Window_display_frame_in(), Window_height, Window_help(), Window_set_normal_button(), and Window_width.
void Button_Layer_set_transparent | ( | int | btn | ) |
void Button_Layer_get_transparent | ( | int | btn | ) |
void Button_Layer_merge | ( | int | btn | ) |
void Button_Layer_up | ( | int | btn | ) |
References Backup_layers(), T_Document::backups, T_Document::current_layer, Display_all_screen(), Display_cursor(), Display_layerbar(), End_of_modification(), Hide_cursor, T_Page::Image, LAYER_NONE, T_Document::layers_visible, Main, T_Page::Nb_layers, T_List_of_pages::Pages, Redraw_layered_image(), Unselect_button(), and Update_screen_targets().
void Button_Layer_down | ( | int | btn | ) |
References Backup_layers(), T_Document::backups, T_Document::current_layer, Display_all_screen(), Display_cursor(), Display_layerbar(), End_of_modification(), Hide_cursor, T_Page::Image, LAYER_NONE, T_Document::layers_visible, Main, T_List_of_pages::Pages, Redraw_layered_image(), Unselect_button(), and Update_screen_targets().
void Button_Layer_select | ( | int | btn | ) |
References Layer_activate(), Layer_under_mouse(), LEFT_SIDE, and Mouse_K.
void Button_Layer_toggle | ( | int | btn | ) |
References Layer_activate(), Layer_under_mouse(), Mouse_K, and RIGHT_SIDE.
void Layer_activate | ( | int | layer, |
short | side | ||
) |
References T_Document::backups, T_Document::current_layer, Display_all_screen(), Display_cursor(), Display_layerbar(), Hide_cursor, T_Page::Image_mode, IMAGE_MODE_ANIMATION, T_Document::layers_visible, T_Document::layers_visible_backup, LEFT_SIDE, Main, T_Page::Nb_layers, T_List_of_pages::Pages, Redraw_layered_image(), RIGHT_SIDE, Update_depth_buffer(), Update_pixel_renderer(), and Update_screen_targets().
Referenced by 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_Layer_select(), Button_Layer_toggle(), and Main_handler().
void Button_Anim_time | ( | int | btn | ) |
References Backup_layers(), T_Document::backups, BUTTON_ANIM_TIME, BUTTON_HELP, Close_window(), T_Document::current_layer, Display_cursor(), T_Image::Duration, End_of_modification(), Hide_cursor, T_Page::Image, INPUT_TYPE_DECIMAL, Is_shortcut(), Key, KEY_ESC, KEY_NONE, KEY_RETURN, LAYER_NONE, Main, MC_Black, MC_Light, mode, T_Page::Nb_layers, NULL, Num2str, Open_window(), T_List_of_pages::Pages, T_Special_button::Pos_X, T_Special_button::Pos_Y, Print_in_window(), Print_in_window_limited(), Readline(), Unselect_button(), Update_window_area, T_Special_button::Width, Window_clicked_button(), Window_height, Window_help(), Window_set_input_button(), Window_set_normal_button(), and Window_width.
void Button_Anim_first_frame | ( | int | btn | ) |
References T_Document::current_layer, Display_cursor(), Hide_cursor, Layer_activate(), LEFT_SIDE, Main, and Unselect_button().
void Button_Anim_prev_frame | ( | int | btn | ) |
void Button_Anim_next_frame | ( | int | btn | ) |
void Button_Anim_last_frame | ( | int | btn | ) |
void Button_Anim_play | ( | int | ) |
void Button_Anim_continuous_prev | ( | int | btn | ) |
void Button_Anim_continuous_next | ( | int | btn | ) |