#include <app.h>
Inheritance diagram for TProgInit::
Public Methods | |
TProgInit (TStatusLine *(*cStatusLine)(TRect), TMenuBar *(*cMenuBar)(TRect), TDeskTop *(*cDeskTop)(TRect)) | |
Protected Attributes | |
TStatusLine* (* | createStatusLine )(TRect) |
TMenuBar* (* | createMenuBar )(TRect) |
TDeskTop* (* | createDeskTop )(TRect) |
The TProgram constructor calls the TProgInit base constructor, passing to it the addresses of three initialization functions that create the status line, menu bar, and desk top.
Definition at line 439 of file app.h.
|
The TProgram constructor calls the TProgInit constructor, passing to it the addresses of three init functions. The TProgInit constructor creates a status line, menu bar, and desk top. If these calls are successful, the three objects are inserted into the TProgram group. Variables TProgram::statusLine, TProgram::menuBar and TProgram::deskTop are set to point at these new objects. The TGroup constructor is also invoked to create a full screen view: the video TGroup::buffer and default palettes are initialized and the following TView::state flags are set:
state = sfVisible | sfSelected | sfFocused | sfModal | sfExposed; |
|
Creates the desk top with the given size. |
|
Creates the menu bar with the given size. |
|
Creates the status line with the given size. |