dsekai
World engine for retrocomputers.
Loading...
Searching...
No Matches
Macros

Window interaction modes. More...

Collaboration diagram for GUI Window Types:

Macros

#define WINDOW_CB_TABLE_4(f)   f( 4, WINDOW )
 WINDOW_TYPE_WINDOW: A parent container to group subordinate windows with a graphical background.
 
#define WINDOW_CB_TABLE_3(f)   f( 3, SPRITE ) WINDOW_CB_TABLE_4( f )
 WINDOW_TYPE_SPRITE: A sprite from a GRAPHICS_BITMAP spritesheet.
 
#define WINDOW_CB_TABLE_2(f)   f( 2, CHECK ) WINDOW_CB_TABLE_3( f )
 WINDOW_TYPE_CHECK: A toggleable checkbox.
 
#define WINDOW_CB_TABLE_1(f)   f( 1, BUTTON ) WINDOW_CB_TABLE_2( f )
 WINDOW_TYPE_BUTTON: A clickable button.
 
#define WINDOW_CB_TABLE(f)   f( 0, LABEL ) WINDOW_CB_TABLE_1( f )
 WINDOW_TYPE_LABEL: A static text label.
 

Detailed Description

Window interaction modes.

Macro Definition Documentation

◆ WINDOW_CB_TABLE

#define WINDOW_CB_TABLE (   f)    f( 0, LABEL ) WINDOW_CB_TABLE_1( f )

WINDOW_TYPE_LABEL: A static text label.

WINDOW::render_flags : These are Unilayer Graphics String Flags passed directly to graphics_string_at().

◆ WINDOW_CB_TABLE_1

#define WINDOW_CB_TABLE_1 (   f)    f( 1, BUTTON ) WINDOW_CB_TABLE_2( f )

WINDOW_TYPE_BUTTON: A clickable button.

Warning
Not yet implemented!

◆ WINDOW_CB_TABLE_2

#define WINDOW_CB_TABLE_2 (   f)    f( 2, CHECK ) WINDOW_CB_TABLE_3( f )

WINDOW_TYPE_CHECK: A toggleable checkbox.

Warning
Not yet implemented!

◆ WINDOW_CB_TABLE_4

#define WINDOW_CB_TABLE_4 (   f)    f( 4, WINDOW )

WINDOW_TYPE_WINDOW: A parent container to group subordinate windows with a graphical background.

WINDOW::render_flags: The index of the WINDOW_FRAME to use.