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

A video mode (resolution) usable by Grafx2. More...

#include <global.h>

+ Collaboration diagram for T_Video_mode:

Data Fields

short Width
 Screen width. More...
 
short Height
 Screen height. More...
 
byte Mode
 Unused (used to be Mode-X, SVGA, etc) More...
 
word Fullscreen
 0 for window, 1 for fullscreen More...
 
byte State
 How good is the mode supported. 0:Good (white) 1:OK (light) 2:So-so (dark) 4:User-disabled (black); +128 => System doesn't support it at all. More...
 

Detailed Description

A video mode (resolution) usable by Grafx2.

Field Documentation

◆ Width

◆ Height

◆ Mode

byte T_Video_mode::Mode

Unused (used to be Mode-X, SVGA, etc)

Referenced by Set_all_video_modes(), and Set_video_mode().

◆ Fullscreen

word T_Video_mode::Fullscreen

0 for window, 1 for fullscreen

Referenced by Init_mode_video(), Set_all_video_modes(), and Set_video_mode().

◆ State

byte T_Video_mode::State

How good is the mode supported. 0:Good (white) 1:OK (light) 2:So-so (dark) 4:User-disabled (black); +128 => System doesn't support it at all.

Referenced by Button_Resolution(), Save_CFG(), Set_all_video_modes(), and Set_video_mode().


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