GrafX2 2.9.3227
The ultimate 256-color painting program
T_Gui_skin Struct Reference

GUI skin data. More...

#include <struct.h>

+ Collaboration diagram for T_Gui_skin:

Data Fields

word Cursor_offset_X [NB_CURSOR_SPRITES]
 X coordinate of the mouse cursor's "hot spot". It is < CURSOR_SPRITE_WIDTH. More...
 
word Cursor_offset_Y [NB_CURSOR_SPRITES]
 Y coordinate of the mouse cursor's "hot spot". It is < CURSOR_SPRITE_HEIGHT. More...
 
byte Cursor_sprite [NB_CURSOR_SPRITES][CURSOR_SPRITE_HEIGHT][CURSOR_SPRITE_WIDTH]
 Graphic resources for the mouse cursor. More...
 
word Sieve_pattern [12][16]
 Preset sieve patterns, stored as binary (one word per line) More...
 
byte Menu_block [3][35][MENU_WIDTH]
 Bitmap data for the menu, a single rectangle. More...
 
byte Layerbar_block [3][10][144]
 
byte Animbar_block [3][14][236]
 
byte Statusbar_block [3][9][20]
 
byte Menu_sprite [2][NB_MENU_SPRITES][MENU_SPRITE_HEIGHT][MENU_SPRITE_WIDTH]
 Bitmap data for the icons that are displayed over the menu. More...
 
byte Effect_sprite [NB_EFFECTS_SPRITES][EFFECT_SPRITE_HEIGHT][EFFECT_SPRITE_WIDTH]
 Bitmap data for the different "effects" icons. More...
 
byte Layer_sprite [3][16][LAYER_SPRITE_HEIGHT][LAYER_SPRITE_WIDTH]
 Bitmap data for the different Layer icons. More...
 
byte Logo_grafx2 [231 *56]
 Bitmap data for the Grafx2 logo that appears on splash screen. All 256 colors allowed. More...
 
byte Help_font_norm [256][6][8]
 Bitmap data for the 6x8 font used in help screens. More...
 
byte Bold_font [256][6][8]
 Bitmap data for the 6x8 font used in help screens ("bold" verstion). More...
 
byte Help_font_t1 [64][6][8]
 Bitmap data for the title font used in help screens. Top-left quarter. More...
 
byte Help_font_t2 [64][6][8]
 Bitmap data for the title font used in help screens. Top-right quarter. More...
 
byte Help_font_t3 [64][6][8]
 Bitmap data for the title font used in help screens. Bottom-left quarter. More...
 
byte Help_font_t4 [64][6][8]
 Bitmap data for the title font used in help screens. Bottom-right quarter. More...
 
byte Icon_sprite [NB_ICON_SPRITES][ICON_SPRITE_HEIGHT][ICON_SPRITE_WIDTH]
 Bitmap data for the small 8x8 icons. More...
 
T_Palette Default_palette
 A default 256-color palette. More...
 
byte Preview [16][173]
 Preview for displaying in the skin dialog. More...
 
byte Color [4]
 GUI color indices in skin palette: black, dark, light, white. More...
 
byte Color_trans
 Transparent GUI color index in skin file. More...
 

Detailed Description

GUI skin data.

Field Documentation

◆ Cursor_offset_X

word T_Gui_skin::Cursor_offset_X[NB_CURSOR_SPRITES]

X coordinate of the mouse cursor's "hot spot". It is < CURSOR_SPRITE_WIDTH.

Referenced by Center_GUI_cursor(), Display_cursor(), and Hide_cursor().

◆ Cursor_offset_Y

word T_Gui_skin::Cursor_offset_Y[NB_CURSOR_SPRITES]

Y coordinate of the mouse cursor's "hot spot". It is < CURSOR_SPRITE_HEIGHT.

Referenced by Center_GUI_cursor(), Display_cursor(), and Hide_cursor().

◆ Cursor_sprite

Graphic resources for the mouse cursor.

Referenced by Center_GUI_cursor(), Display_cursor(), and Remap_menu_sprites().

◆ Sieve_pattern

word T_Gui_skin::Sieve_pattern[12][16]

Preset sieve patterns, stored as binary (one word per line)

Referenced by Copy_preset_sieve(), Draw_preset_sieve_patterns(), and Parse_skin().

◆ Menu_block

byte T_Gui_skin::Menu_block[3][35][MENU_WIDTH]

Bitmap data for the menu, a single rectangle.

Referenced by Parse_skin(), Remap_menu_sprites(), and Set_current_skin().

◆ Layerbar_block

byte T_Gui_skin::Layerbar_block[3][10][144]

◆ Animbar_block

byte T_Gui_skin::Animbar_block[3][14][236]

◆ Statusbar_block

byte T_Gui_skin::Statusbar_block[3][9][20]

◆ Menu_sprite

Bitmap data for the icons that are displayed over the menu.

Referenced by Draw_menu_button(), Parse_skin(), and Remap_menu_sprites().

◆ Effect_sprite

Bitmap data for the different "effects" icons.

Referenced by Display_effect_sprite(), Parse_skin(), and Remap_menu_sprites().

◆ Layer_sprite

byte T_Gui_skin::Layer_sprite[3][16][LAYER_SPRITE_HEIGHT][LAYER_SPRITE_WIDTH]

Bitmap data for the different Layer icons.

Referenced by Display_layerbar(), Parse_skin(), and Remap_menu_sprites().

◆ Logo_grafx2

byte T_Gui_skin::Logo_grafx2[231 *56]

Bitmap data for the Grafx2 logo that appears on splash screen. All 256 colors allowed.

Referenced by Button_Message_initial(), and Parse_skin().

◆ Help_font_norm

byte T_Gui_skin::Help_font_norm[256][6][8]

Bitmap data for the 6x8 font used in help screens.

Referenced by Parse_skin(), Print_help(), and Remap_menu_sprites().

◆ Bold_font

byte T_Gui_skin::Bold_font[256][6][8]

Bitmap data for the 6x8 font used in help screens ("bold" verstion).

Referenced by Parse_skin(), Print_help(), and Remap_menu_sprites().

◆ Help_font_t1

byte T_Gui_skin::Help_font_t1[64][6][8]

Bitmap data for the title font used in help screens. Top-left quarter.

Referenced by Parse_skin(), Print_help(), and Remap_menu_sprites().

◆ Help_font_t2

byte T_Gui_skin::Help_font_t2[64][6][8]

Bitmap data for the title font used in help screens. Top-right quarter.

Referenced by Parse_skin(), Print_help(), and Remap_menu_sprites().

◆ Help_font_t3

byte T_Gui_skin::Help_font_t3[64][6][8]

Bitmap data for the title font used in help screens. Bottom-left quarter.

Referenced by Parse_skin(), Print_help(), and Remap_menu_sprites().

◆ Help_font_t4

byte T_Gui_skin::Help_font_t4[64][6][8]

Bitmap data for the title font used in help screens. Bottom-right quarter.

Referenced by Parse_skin(), Print_help(), and Remap_menu_sprites().

◆ Icon_sprite

Bitmap data for the small 8x8 icons.

Referenced by Parse_skin(), Remap_menu_sprites(), and Window_display_icon_sprite().

◆ Default_palette

T_Palette T_Gui_skin::Default_palette

◆ Preview

byte T_Gui_skin::Preview[16][173]

Preview for displaying in the skin dialog.

Referenced by Button_Skins(), Parse_skin(), and Remap_menu_sprites().

◆ Color

byte T_Gui_skin::Color[4]

GUI color indices in skin palette: black, dark, light, white.

Referenced by Button_Skins(), Compute_optimal_menu_colors(), Favorite_GUI_color(), Parse_skin(), Read_GUI_block(), and Set_current_skin().

◆ Color_trans

byte T_Gui_skin::Color_trans

Transparent GUI color index in skin file.

Referenced by Center_GUI_cursor(), Parse_skin(), Read_GUI_block(), and Set_current_skin().


The documentation for this struct was generated from the following file: