CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
FxFdtDCL.h
Go to the documentation of this file.
1//
2// (C) Copyright 2005-2023 by Graebert GmbH.
3//
4// Permission to use, copy, modify, and distribute this software in
5// object code form for any purpose and without fee is hereby granted,
6// provided that the above copyright notice appears in all copies and
7// that both that copyright notice and the limited warranty and
8// restricted rights notice below appear in all supporting
9// documentation.
10//
11// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15// UNINTERRUPTED OR ERROR FREE.
16
17#pragma once
18
19#include <OdaCommon.h>
20
21#include "FxPragmaPush.h"
22
23typedef double dcl_real;
24typedef struct _dcl_hdlg *dcl_hdlg;
25typedef struct _dcl_htile *dcl_htile;
26
31typedef struct
32{
35 char* value;
40
45typedef struct
46{
49 wchar_t* value;
54
60{
61 short clen;
62 char* buf;
63};
64
70{
74 wchar_t* rstring;
78};
79
85{
89};
90
91#define RSRSLT 1 // Result returned
92#define RSERR 3 // Error in evaluation -- no result
93
94#define CBR_SELECT CTRL_SELECT
95#define CBR_LOST_FOCUS CTRL_LOST_FOCUS
96#define CBR_DRAG CTRL_DRAG
97#define CBR_DOUBLE_CLICK CTRL_DOUBLE_CLICK
98
99#define DLGALLDONE DLG_ALLDONE // All dialogs terminated with term_dialog
100#define DLGCANCEL DLG_CANCEL // User pressed Cancel or equivalent
101#define DLGOK DLG_OK // User pressed Ok
102#define DLGSTATUS DLG_STATUS // start of user return codes
103
104#define MODE_ENABLE DLG_M_ENABLE /* Enable tile */
105#define MODE_DISABLE DLG_M_DISABLE /* Disable tile */
106#define MODE_SETFOCUS DLG_M_SETFOCUS /* Set focus to tile */
107#define MODE_SETSEL DLG_M_SETSEL /* Set editbox selection--allows
108 auto-clearing of old string */
109#define MODE_FLIP DLG_M_FLIP /* Invert current state */
110
111#if defined(__cplusplus)
112 typedef void (*DCL_CLIENTFUNCW)( dcl_callback_packetW* cpkt );
113 typedef void (*DCL_CLIENTFUNCA)( dcl_callback_packetA* cpkt );
114#else
115 #define DCL_CLIENTFUNCW void *
116 #define DCL_CLIENTFUNCA void *
117#endif
118
119#include "FxPragmaPop.h"
#define DCL_CLIENTFUNCA
Definition: FxFdtDCL.h:115
struct _dcl_hdlg * dcl_hdlg
Definition: FxFdtDCL.h:24
struct _dcl_htile * dcl_htile
Definition: FxFdtDCL.h:25
#define DCL_CLIENTFUNCW
Definition: FxFdtDCL.h:114
double dcl_real
Definition: FxFdtDCL.h:23
short OdInt16
int OdInt32
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
GLfloat GLfloat y
Definition: gles2_ext.h:316
short clen
Definition: FxFdtDCL.h:61
char * buf
Definition: FxFdtDCL.h:62
dcl_htile tile
Definition: FxFdtDCL.h:34
wchar_t * value
Definition: FxFdtDCL.h:49
dcl_htile tile
Definition: FxFdtDCL.h:48
OdInt16 restype
Definition: FxFdtDCL.h:87
struct dcl_resbuf * rbnext
Definition: FxFdtDCL.h:86
union dcl_u_val resval
Definition: FxFdtDCL.h:88
OdInt16 rint
Definition: FxFdtDCL.h:73
OdInt32 rlname[2]
Definition: FxFdtDCL.h:75
OdInt32 rlong
Definition: FxFdtDCL.h:76
wchar_t * rstring
Definition: FxFdtDCL.h:74
dcl_real rpoint[3]
Definition: FxFdtDCL.h:72
dcl_real rreal
Definition: FxFdtDCL.h:71
struct dcl_binary rbinary
Definition: FxFdtDCL.h:77