CAST II Game Engine |
|||||||||||||||
![]() |
DESCRIPTION | ![]() |
FEATURES | ![]() |
SCREENSHOTS | ![]() |
FORUMS | ![]() |
DOCUMENTATION | ![]() |
DOWNLOADS | ![]() |
CONTACTS | ![]() |
|
type TScreenSaverStarter = class(TAppStarter)
TAppStarterTAppStarter| Name | Description | |
|---|---|---|
![]() | WindowClass | Current window class |
![]() | constructor Create(const AProgramName: string; AWindowProc: TWndProc; Options: TStarterOptions); |
![]() | destructor Destroy; override; |
![]() | procedure Configure; virtual; |
![]() | procedure ParseParamStr; override; |
![]() | procedure PrintError(const Msg: string; ErrorType: TLogLevel); override; |
![]() | function ProcessMessage(Msg: Longword; wParam: Integer; lParam: Integer): Integer; override; |
![]() | function QueryPassword: Boolean; virtual; |
![]() | procedure Run(APreviewMode: Boolean); virtual; |
![]() | procedure SetPassword; virtual; |
![]() | constructor Create(const AProgramName: string; AWindowProc: TWndProc; Options: TStarterOptions); |
Create and setup a screen saver with the given name. If AWindowProc is nil a default procedure will be used.
![]() | destructor Destroy; override; |
![]() | procedure Configure; virtual; |
Shows a configuration window. Usally called from OS screen saver setup dialog
![]() | procedure ParseParamStr; override; |
This method should be overridden to do parameters parsing
![]() | procedure PrintError(const Msg: string; ErrorType: TLogLevel); override; |
Prints an error information
![]() | function ProcessMessage(Msg: Longword; wParam: Integer; lParam: Integer): Integer; override; |
Windows message handler
![]() | function QueryPassword: Boolean; virtual; |
Calls system routine to ask user for password and returns True if no password needed or user enter correct password
![]() | procedure Run(APreviewMode: Boolean); virtual; |
Runs the screen saver. If APreviewMode is True the screen saver will run in preview window.
![]() | procedure SetPassword; virtual; |
Calls system routine to request password
![]() | property PreviewMode: Boolean; |
![]() | property PreviewMode: Boolean; |
True if the screen saver is running in preview mode
|
Last modified: 4 Jul, 2008 |