wxArt2D
|
Template flags. More...
#include <docviewref.h>
Public Member Functions | |
a2dTemplateFlag (a2dTemplateFlagMask newmask=NON) | |
bool | CheckMask (a2dTemplateFlagMask mask) |
Check if given mask matches (flags in mask, or at least set) | |
void | SetFlags (a2dTemplateFlagMask which) |
a2dTemplateFlagMask | GetFlags () const |
bool | GetFlag (a2dTemplateFlagMask which) const |
Public Attributes | |
bool | m_visible: 1 |
template is visible | |
bool | m_mark: 1 |
template is marked | |
bool | m_load: 1 |
template is for loading documents | |
bool | m_save: 1 |
template is for saving documents | |
bool | m_import: 1 |
template is for importing documents | |
bool | m_export: 1 |
template is for exporting documents | |
Static Public Attributes | |
static const a2dTemplateFlagMask | NON = 0x00000000 |
static const a2dTemplateFlagMask | VISIBLE = 0x00000001 |
static const a2dTemplateFlagMask | MARK = 0x00000002 |
static const a2dTemplateFlagMask | LOAD = 0x00000004 |
static const a2dTemplateFlagMask | SAVE = 0x00000008 |
static const a2dTemplateFlagMask | IMPORTING = 0x00000010 |
static const a2dTemplateFlagMask | EXPORTING = 0x00000020 |
static const a2dTemplateFlagMask | ALL = 0x00000040 |
static const a2dTemplateFlagMask | DEFAULT |
static const a2dTemplateFlagMask | LOAD_IMPORT |
static const a2dTemplateFlagMask | SAVE_EXPORT |
Template flags.
Used to test if a template is visble and for what purpose it is should be. Mostly used to select appropriate templates from a list of templates. The a2dDocumentTemplate and the a2dViewTemplate are both using this flags mask.
Definition at line 216 of file docviewref.h.
|
static |
all flags set
Definition at line 226 of file docviewref.h.
|
static |
|
static |
a template for exporting files
Definition at line 225 of file docviewref.h.
|
static |
a template for importing files
Definition at line 224 of file docviewref.h.
|
static |
a template for loading files
Definition at line 222 of file docviewref.h.
|
static |
for load + import
Definition at line 228 of file docviewref.h.
|
static |
for general use to temporary mark a template
Definition at line 221 of file docviewref.h.
|
static |
no flags set
Definition at line 219 of file docviewref.h.
|
static |
a template for saving files
Definition at line 223 of file docviewref.h.
|
static |
for save + export
Definition at line 229 of file docviewref.h.
|
static |
is the template visible
Definition at line 220 of file docviewref.h.