NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
Display module functions

Functions for accessing and modifying display module features. More...

Functions

void ResetScreen ()
 Reset LCD screen.
 
char CircleOut (int x, int y, byte radius, unsigned long options=DRAW_OPT_NORMAL)
 Draw a circle.
 
char LineOut (int x1, int y1, int x2, int y2, unsigned long options=DRAW_OPT_NORMAL)
 Draw a line.
 
char PointOut (int x, int y, unsigned long options=DRAW_OPT_NORMAL)
 Draw a point.
 
char RectOut (int x, int y, int width, int height, unsigned long options=DRAW_OPT_NORMAL)
 Draw a rectangle.
 
char TextOut (int x, int y, string str, unsigned long options=DRAW_OPT_NORMAL)
 Draw text.
 
char NumOut (int x, int y, variant value, unsigned long options=DRAW_OPT_NORMAL)
 Draw a number.
 
char EllipseOut (int x, int y, byte radiusX, byte radiusY, unsigned long options=DRAW_OPT_NORMAL)
 Draw an ellipse.
 
char PolyOut (LocationType points[], unsigned long options=DRAW_OPT_NORMAL)
 Draw a polygon.
 
char FontTextOut (int x, int y, string filename, string str, unsigned long options=DRAW_OPT_NORMAL)
 Draw text with font.
 
char FontNumOut (int x, int y, string filename, variant value, unsigned long options=DRAW_OPT_NORMAL)
 Draw a number with font.
 
char GraphicOut (int x, int y, string filename, unsigned long options=DRAW_OPT_NORMAL)
 Draw a graphic image.
 
char GraphicArrayOut (int x, int y, byte data[], unsigned long options=DRAW_OPT_NORMAL)
 Draw a graphic image from byte array.
 
char GraphicOutEx (int x, int y, string filename, byte vars[], unsigned long options=DRAW_OPT_NORMAL)
 Draw a graphic image with parameters.
 
char GraphicArrayOutEx (int x, int y, byte data[], byte vars[], unsigned long options=DRAW_OPT_NORMAL)
 Draw a graphic image from byte array with parameters.
 
void GetDisplayNormal (const byte x, const byte line, unsigned int cnt, byte &data[])
 Read pixel data from the normal display buffer.
 
void SetDisplayNormal (const byte x, const byte line, unsigned int cnt, byte data[])
 Write pixel data to the normal display buffer.
 
void GetDisplayPopup (const byte x, const byte line, unsigned int cnt, byte &data[])
 Read pixel data from the popup display buffer.
 
void SetDisplayPopup (const byte x, const byte line, unsigned int cnt, byte data[])
 Write pixel data to the popup display buffer.
 
unsigned long DisplayEraseMask ()
 Read the display erase mask value.
 
unsigned long DisplayUpdateMask ()
 Read the display update mask value.
 
unsigned long DisplayFont ()
 Read the display font memory address.
 
unsigned long DisplayDisplay ()
 Read the display memory address.
 
byte DisplayFlags ()
 Read the display flags.
 
byte DisplayTextLinesCenterFlags ()
 Read the display text lines center flags.
 
void SysDrawText (DrawTextType &args)
 Draw text.
 
void SysDrawPoint (DrawPointType &args)
 Draw a point.
 
void SysDrawLine (DrawLineType &args)
 Draw a line.
 
void SysDrawCircle (DrawCircleType &args)
 Draw a circle.
 
void SysDrawRect (DrawRectType &args)
 Draw a rectangle.
 
void SysDrawGraphic (DrawGraphicType &args)
 Draw a graphic (RIC file).
 
void SysSetScreenMode (SetScreenModeType &args)
 Set the screen mode.
 
void SysDisplayExecuteFunction (DisplayExecuteFunctionType &args)
 Execute any Display module command.
 
byte DisplayContrast ()
 Read the display contrast setting.
 
void SysDrawGraphicArray (DrawGraphicArrayType &args)
 Draw a graphic image from a byte array.
 
void SysDrawPolygon (DrawPolygonType &args)
 Draw a polygon.
 
void SysDrawEllipse (DrawEllipseType &args)
 Draw an ellipse.
 
void SysDrawFont (DrawFontType &args)
 Draw text using a custom font.
 
void ClearScreen ()
 Clear LCD screen.
 
void ClearLine (byte line)
 Clear a line on the LCD screen.
 
void SetDisplayFont (unsigned long fontaddr)
 Set the display font memory address.
 
void SetDisplayDisplay (unsigned long dispaddr)
 Set the display memory address.
 
void SetDisplayEraseMask (unsigned long eraseMask)
 Set the display erase mask.
 
void SetDisplayFlags (byte flags)
 Set the display flags.
 
void SetDisplayTextLinesCenterFlags (byte ctrFlags)
 Set the display text lines center flags.
 
void SetDisplayUpdateMask (unsigned long updateMask)
 Set the display update mask.
 
void SetDisplayContrast (byte contrast)
 Set the display contrast.
 

Detailed Description

Functions for accessing and modifying display module features.