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

A window control that shows a complete 256-color palette. More...

#include <struct.h>

+ Collaboration diagram for T_Palette_button:

Data Fields

short Number
 Unique identifier for all controls. More...
 
word Pos_X
 Coordinate for top of button, relative to the window, before scaling. More...
 
word Pos_Y
 Coordinate for left of button, relative to the window, before scaling. More...
 
struct T_Palette_buttonNext
 Pointer to the next palette of current window. More...
 

Detailed Description

A window control that shows a complete 256-color palette.

Field Documentation

◆ Number

short T_Palette_button::Number

Unique identifier for all controls.

Referenced by Window_get_clicked_button(), and Window_set_palette_button().

◆ Pos_X

word T_Palette_button::Pos_X

Coordinate for top of button, relative to the window, before scaling.

Referenced by Wait_click_in_palette(), Window_get_clicked_button(), and Window_set_palette_button().

◆ Pos_Y

word T_Palette_button::Pos_Y

Coordinate for left of button, relative to the window, before scaling.

Referenced by Wait_click_in_palette(), Window_get_clicked_button(), and Window_set_palette_button().

◆ Next

struct T_Palette_button* T_Palette_button::Next

Pointer to the next palette of current window.

Referenced by Window_get_clicked_button(), and Window_set_palette_button().


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