|
||||
• Scrollers |
Windows Guildhall only offers one style of window at the moment, mostly because I haven't needed anything fancier. Windows generally are not created directly. Subclasses of ADocument provided by nearly every kind of applet create the window automatically from data provided by the applet's associated data type (subclassing from ADataType). The TWindow class is a subclass of AGraphicsPort, and drawing to the screen is thus a straightforward process once a document has been instantiated. Here's an example from the DrawContents method of a barely started Guildhall applet. TWindow also supports a Draw method that is seldom overridden. The default functionality of Draw calls DrawContents and then calls all window controls to draw themselves.
Constructible Classes
Coding Notes
|