Public Member Functions |
| | LWDrawFuncs (DrawFuncs *_df=0, LWPanelID _pan=0) |
| | Pointer to the Draw Functions.
|
| const LWDisplayMetrics * | displayMetrics () const |
| | Returns the display metrics of the current display.
|
| void | drawBorder (int indent, int x, int y, int w, int h=0) const |
| void | drawBox (int c, int x, int y, int w, int h) const |
| | Draw a box using one of the colours defined in lwpanel.h.
|
| void | drawBox (int r, int g, int b, int x, int y, int w, int h) const |
| | Draw a box using RGB colours.
|
| void | drawLine (int c, int x1, int y1, int x2, int y2) const |
| | Draw a line using one of the colours defined in lwpanel.h.
|
| void | drawLine (int r, int g, int b, int x1, int y1, int x2, int y2) const |
| void | drawPixel (int c, int x, int y) const |
| | Draw a single pixel using one of the colours defined in lwpanel.h.
|
| void | drawPixel (int r, int g, int b, int x, int y) const |
| | Draw a single pixel using RGB colours.
|
| void | drawText (const std::string s, int c, int x, int y) const |
| | Draw text in a panel.
|
| void | drawText (const std::ostringstream &s, int c, int x, int y) const |
| | Draw text in a panel.
|
| void | drawWireBox (int c, int x, int y, int w, int h) const |
| int | textWidth (const std::string s) const |
| | Returns the width os a string in pixels, as if it was drawn on a panel.
|
| int | textWidth (const std::ostringstream &s) const |
| | Returns the width os a string in pixels, as if it was drawn on a panel.
|