VIEWMAP DATASET RECORD
Data Type : Navigators
VIEWMAP_DATASET_RECORD - Navigator settings CD record.
#include <vmods.h>
Definition :
typedef struct {
WSIG Header;
WORD Version;
WORD ViewNameLen; /* length of initial view name; 0 if none */
WORD Gridsize; /* (in pixels) */
WORD Flags; /* VM_DSET_xxx */
WORD bAutoAdjust;
WORD BGColor;
WORD SeqNums[VM_MAX_OBJTYPES]; /* highest sequence number for */
/* each type of draw object */
/* supported (w/extra space for */
/* future) */
VIEWMAP_STYLE_DEFAULTS StyleDefaults;
WORD NumPaletteEntries;
WORD ViewDesignType; /* design type of initial view */
COLOR_VALUE BGColorValue; /* BG color stored in some color
space */
DWORD spare[14];
} VIEWMAP_DATASET_RECORD;
Description :
The VIEWMAP_DATASET_RECORD stores the settings and defaults for a Navigator. The fields in this structure are:
Header Defines this composite data item as a
VIEWMAP_DATASET_RECORD item.
Version Version number of this structure.
ViewNameLen Length of the inital view name; may be 0.
Gridsize Size of any displayed grid, in pixels.
Flags Option flags (see VM_DSET_xxx).
bAutoAdjust If TRUE, automatically adjust the display to
show as much of the Navigator as possible.
BGColor Background color for the Navigator.
SeqNums Each type of graphical object is numbered in
sequence. This array stores the highest number
assigned in this navigator.
StyleDefaults Structure containing the default settings for
graphical elements.
NumPaletteEntries Number of color palette entries required to
display this Navigator.
ViewDesignType Design type of the initial view.
BGColorValue
spare Reserved; must be 0.
See Also : VM_MAX_OBJTYPES VIEWMAP_STYLE_DEFAULTS VIEWMAP_VERSION VM_DSET_xxx