aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/PalmOS/Src/init_golcd.h
blob: 7750a13a52bf3852f44739f80ef9bb7d57622903 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef INIT_GOLCD_H
#define INIT_GOLCD_H

typedef struct {
	Boolean active;
	UInt16 refNum;
	RectangleType bounds;
	RGBColorType ink;
	UInt32 timeout;
} GoLCDType;

extern MemHandle gGoLcdH;

Err GoLCDInit(MemHandle *goLcdH);
Err GoLCDRelease(MemHandle goLcdH);
void GoLCDSetInk(MemHandle goLcdH, RGBColorType *inkP);
void GoLCDSetBounds(MemHandle goLcdH, RectangleType *boundsP);
void GoLCDActivate(MemHandle goLcdH, Boolean active);
Boolean GoLCDToggle(MemHandle goLcdH);
Boolean GoLCDPointInBounds(MemHandle goLcdH, Coord x, Coord y);

#endif