Files
lcdproc/old/LCDproc_objectmethods.txt
T
1999-12-09 23:15:14 +00:00

50 lines
895 B
Plaintext

Object methods and properties and some vars
Tcomms
Properties
int InboundFD (for select to watch if>0)
IMODE imode {none,polled,fd} (method for reading data)
Tconfig config
Methods
ParseConfig(TConfig config)
Init
poll
writechar
writestr
Tserial
Private Vars
char port[]
int speed
Properties
Tdriver
Properties
Tconfig config
int backlight_state
int disp_width
int disp_height
Methods
Init
ClearScr
NewCustomChar(struct CustChar defination)
PutCustChar(zoff,yoff,char)
PutChar(xoff,yoff,char)
PlaceString(xoff,yoff,string)
DrawHorizBar(xoff,yoff,chwidth,percentage)
DrawVertBar(xoff,yoff,chheight,percentage)
Tdisplay
Properties
Tdriver driver
Tconfig config
int RefreshInterval (for clock would be 500 for every half second)
Methods
HardInit (called once on prog start)
Init (called on every new cycle)