GrafX2 2.9.3227
The ultimate 256-color painting program
|
Data for an image file format. More...
#include <loadsave.h>
Data Fields | |
enum FILE_FORMATS | Identifier |
Identifier for this format. More... | |
const char * | Label |
Five-letter label. More... | |
Func_IO_Test | Test |
Function which tests if the file is of this format. More... | |
Func_IO | Load |
Function which loads an image of this format. More... | |
Func_IO | Save |
Function which saves an image of this format. More... | |
byte | Palette_only |
Boolean, true if this format saves/loads only the palette. More... | |
byte | Comment |
This file format allows a text comment. More... | |
byte | Supports_layers |
Boolean, true if this format preserves layers on saving. More... | |
const char * | Default_extension |
Default file extension. More... | |
const char * | Extensions |
List of semicolon-separated file extensions. More... | |
Data for an image file format.
enum FILE_FORMATS T_Format::Identifier |
Identifier for this format.
const char* T_Format::Label |
Five-letter label.
Referenced by Button_Load_or_Save().
Func_IO_Test T_Format::Test |
Function which tests if the file is of this format.
Func_IO T_Format::Load |
Function which loads an image of this format.
Func_IO T_Format::Save |
Function which saves an image of this format.
Referenced by Button_Load_or_Save().
byte T_Format::Palette_only |
Boolean, true if this format saves/loads only the palette.
Referenced by Button_Load_or_Save(), Load_image(), Load_picture(), and Pre_load().
byte T_Format::Comment |
This file format allows a text comment.
Referenced by Button_Load_or_Save().
byte T_Format::Supports_layers |
Boolean, true if this format preserves layers on saving.
const char* T_Format::Default_extension |
Default file extension.
Referenced by Button_Load_or_Save().
const char* T_Format::Extensions |
List of semicolon-separated file extensions.
Referenced by Read_list_of_files().