mi32/mxdcogo.h File Reference

<mi32/mxdcogo.h> More...

#include <mi32/mxdialog.h>
Include dependency graph for mxdcogo.h:

Go to the source code of this file.

Classes

struct  MxdCOGOCallbackStruct

Defines

#define MxdCOGO_AddArc   0x00000040
#define MxdCOGO_AddCircle   0x00000020
#define MxdCOGO_AddElement   0x000000F8
#define MxdCOGO_AddLine   0x00000008
#define MxdCOGO_AddPoint   0x00000010
#define MxdCOGO_AddPolygon   0x00000080
#define MxdCOGO_NewInstrument   0x00000001
#define MxdCOGO_Rotate   0x00000002
#define MxdCOGO_Shift   0x00000004

Functions

int MxdCOGOAddCallback (MXDHANDLE handle, void(*func)(MxdCOGOCallbackStruct *, void *), void *udata, UINT32 reason)
int MxdCOGOClose (MXDHANDLE dhandle)
int MxdCOGOCreate (Widget pwidget, MXDHANDLE *dhandle, char *dialogname, int relposn, int dialogflags)
int MxdCOGODestroy (MXDHANDLE dhandle)
int MxdCOGOIsOpen (MXDHANDLE dhandle)
int MxdCOGOOpen (MXDHANDLE dhandle)
void MxdCOGORemoveCallback (MXDHANDLE handle, void(*func)(MxdCOGOCallbackStruct *, void *), void *udata, UINT32 reason)

Detailed Description

<mi32/mxdcogo.h>

Definitions for COGO dialog


Define Documentation

#define MxdCOGO_AddArc   0x00000040

when adding arc

#define MxdCOGO_AddCircle   0x00000020

when adding circle

#define MxdCOGO_AddElement   0x000000F8

when adding any element

#define MxdCOGO_AddLine   0x00000008

when adding line

#define MxdCOGO_AddPoint   0x00000010

when new point added

#define MxdCOGO_AddPolygon   0x00000080

when adding polygons

#define MxdCOGO_NewInstrument   0x00000001

when new instrument setup specified

#define MxdCOGO_Rotate   0x00000002

when data rotation specified

#define MxdCOGO_Shift   0x00000004

when shift specified


Function Documentation

int MxdCOGOAddCallback ( MXDHANDLE  handle,
void(*)(MxdCOGOCallbackStruct *, void *)  func,
void *  udata,
UINT32  reason 
)

Add callback function to the COGO dialog.

Parameters:
handle Dialog handle
udata Callback function User data to pass into callback
reason Reason for callback
int MxdCOGOClose ( MXDHANDLE  dhandle  ) 

Close COGO dialog.

Parameters:
dhandle Dialog handle
int MxdCOGOCreate ( Widget  pwidget,
MXDHANDLE dhandle,
char *  dialogname,
int  relposn,
int  dialogflags 
)

Create COGO dialog.

Parameters:
pwidget Parent widget
dhandle Handle returned
dialogname Dialog name override
relposn Position relative to parent's shell (0=none, -1=use previous)
dialogflags Dialog flags
int MxdCOGODestroy ( MXDHANDLE  dhandle  ) 

Destroy COGO dialog.

Parameters:
dhandle Dialog handle
int MxdCOGOIsOpen ( MXDHANDLE  dhandle  ) 

Check if dialog is open.

Parameters:
dhandle Dialog handle
int MxdCOGOOpen ( MXDHANDLE  dhandle  ) 

Open COGO dialog.

Parameters:
dhandle Dialog handle
void MxdCOGORemoveCallback ( MXDHANDLE  handle,
void(*)(MxdCOGOCallbackStruct *, void *)  func,
void *  udata,
UINT32  reason 
)

Remove callback.

Parameters:
handle Dialog handle
udata Callback function User data to pass into callback
reason Reason for callback

Generated on Sun Oct 7 21:27:34 2012 for TNTsdk 2012 by  doxygen 1.6.1