The Photon API defines various data types and structures:
- If you're using the Photon Application Builder (PhAB), the
appropriate header files are automatically included in your
application.
- If you're not using PhAB, include <Pt.h>.
This chapter describes the data structures listed below:
- PtBalloonCallback_t
- Balloon callback structure
- PtCallback_t
- Regular callback structure
- PtCallbackInfo_t
- Specific callback information
- PtHotkeyCallback_t
- Hotkey handler structure
- PtRawCallback_t
- Event handler structure
The following datatypes are described in the Photon
Library Reference:
- ApBitmap_t
- PhAB bitmap structure
- ApInfo_t
- PhAB information structure
- PgColor_t
- Composite color value
- PgColorHSV_t
- Hue-Saturation-Value color value
- PhArea_t
- Position and dimensions of a rectangular area
- PhDim_t
- Dimensions of an area
- PhClipHeader
- Clipboard header structure
- PhEvent_t
- An event
- PhEventRegion_t
- Emitter and collector of an event
- PhImage_t
- Data and characteristics of an image
- PhPoint_t
- Coordinates of a single point
- PhRect_t
- Coordinates of a rectangle
- PhRegion_t
- A region
- PhRegionDataHdr_t
- Data that's attached to a region
- PhTile_t
- A list of rectangles
- PhWindowEvent_t
- A window action
- PtArg_t
- Which resource is affected when you get or set resources
- PtFDProc_t
- Pointer to a file-descriptor function
- PtInputCallbackProc_t
- Pointer to a input callback function
- PtSignalProc_t
- Pointer to a signal-handling function
- PtWorkProc_t
- Pointer to a work procedure function