typedef enum {
TRT_POINTER=0, /* TextReferencePointer */
TRT_SEGMENT_CHUNK=2, /* TextReferenceSegmentChunk */
TRT_OPTR=4, /* TextReferenceBlockChunk */
TRT_BLOCK=6, /* TextReferenceBlock */
TRT_VM_BLOCK=8, /* TextReferenceVMBlock */
TRT_DB_ITEM=10, / * TextReferenceDBItem */
TRT_HUGE_ARRAY=12, /* TextReferenceHugeArray */
} TextReferenceType;
typedef union {
TextReferencePointer TRU_pointer;
TextReferenceSegmentChunk TRU_segChunk;
TextReferenceBlockChunk TRU_blockChunk;
TextReferenceBlock TRU_block;
TextReferenceVMBlock TRU_vmBlock;
TextReferenceDBItem TRU_dbItem;
TextReferenceHugeArray TRU_hugeArray;
} TextReferenceUnion;
typedef struct {
FileHandle TRVMB_file;
VMBlockHandle TRVMB_block;
} TextReferenceVMBlock;
This structure corresponds to a
TextReferenceType
of TRT_VM_BLOCK. It is used with MSG_VIS_TEXT_REPLACE_TEXT and MSG_VIS_TEXT_GET_TEXT_RANGE to reference text used by those messages.
TRVMB
_file
stores the VM file associated with this VM block. This entry must be filled in if you want a VM block to be allocated.
TRVMB
_block
stores the VM block itself.
If VTGRF_RESIZE is passed then either the passed block or the allocated block will be resized to accommodate the text.
typedef ByteFlags TextStyle; #define TS_OUTLINE 0x40 #define TS_BOLD 0x20 #define TS_ITALIC 0x10 #define TS_SUPERSCRIPT 0x08 #define TS_SUBSCRIPT 0x04 #define TS_STRIKE_THRU 0x02 #define TS_UNDERLINE 0x01
typedef enum {
TE_DIVIDE_BY_ZERO=0,
TE_OVERFLOW=4,
TE_BOUND=8,
TE_FPU_EXCEPTION=12,
TE_SINGLE_STEP=16,
TE_BREAKPOINT=20
} ThreadException;
Processor exceptions used primarily for debugging, these are used with
ThreadHandleException().
typedef ByteFlags ThreadModifyFlags; #define TMF_BASE_PRIO 0x80 #define TMF_ZERO_USAGE 0x40
Used with
ThreadModify()is modified.
typedef WordFlags TimerCompressedDate; #define TCD_YEAR 0xfe00 /* years since 1980; e.g. 1988 is `8' */ #define TCD_MONTH 0x01e0 /* months (1 - 12) (0 illegal) */ #define TCD_DAY 0x001f /* days (1-31) (0 illegal) */
typedef struct {
word TDAT_year; /* Year */
word TDAT_month; /* Number of month (1 through 12) */
word TDAT_day; /* Number of day in month (1 through 31) */
DaysOfTheWeek TDAT_dayOfWeek; /* DayOfTheWeek enumeration */
word TDAT_hours; /* Hour of the day (0 through 23) */
word TDAT_minutes; /* Minute in the hour (0 through 59) */
word TDAT_seconds; /* Second in the minute (0 through 59) */
} TimerDateAndTime;
This structure is used to keep track of the current time and date.
GEOS SDK TechDocs|
|
TextMode ... |
TimerHandle ...