Also, I don't know if you're there yet, but a lot of the graphical functions there now have been superceded with a new class. The GraphicObject class lets you do everything you could before, plus lots more. It takes a reference to a Window object when you create a GraphicObject object. For example:
Code:
GraphicObject gfxObj(wnd);
From there, you can do loads of stuff. Draw lines with the MoveTo and LineTo functions (use MoveTo to specify the end point of the line, and LineTo to specify the beginning point). You can also use MoveTo to set the location of where to draw a point with the PointTo function.
Lines are modified through pens. Use the GraphicObject function CreatePen to make a new pen.
Code:
GraphicObject gfxObj(wnd);
// Make a new pen
gfxObj.CreatePen(2, // 2 characters wide\tall
STYLE_DOT, // Dotted line (use STYLE_SOLID for a solid line or
// STYLE_DASH for a dashed line
F_BLUE | B_BLUE); // Blue
// If you draw a line, point, or rectangle without creating a pen, a
// default pen is used (1 point width, solid, black)
// Draw a line
gfxObj.MoveTo(10,20);
gfxObj.LineTo(0,0);
// Draws a line from 0,0 to 10,20
Yeah there's a lot more but I don't want to clog this thread with this stuff, so email me and I'll send you some information (I'm still working on updates to the documentation).
Brendan