95a2f54683
git-svn-id: https://svn.code.sf.net/p/apophysis7x/svn/trunk@1 a5d1c0f9-a0e9-45c6-87dd-9d276e40c949
40 lines
722 B
ObjectPascal
40 lines
722 B
ObjectPascal
unit SplashForm;
|
|
|
|
interface
|
|
|
|
uses
|
|
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
|
|
Dialogs, StdCtrls, ExtCtrls, Global;
|
|
|
|
type
|
|
TSplashWindow = class(TForm)
|
|
BackgroundImage: TImage;
|
|
lblVersion: TLabel;
|
|
lblInfo: TLabel;
|
|
procedure FormCreate(Sender: TObject);
|
|
private
|
|
{ Private declarations }
|
|
public
|
|
procedure SetInfo(info:string);
|
|
end;
|
|
|
|
var
|
|
SplashWindow: TSplashWindow;
|
|
|
|
implementation
|
|
|
|
{$R *.dfm}
|
|
|
|
procedure TSplashWindow.FormCreate(Sender: TObject);
|
|
begin
|
|
lblVersion.Caption := APP_BUILD;
|
|
end;
|
|
|
|
procedure TSplashWindow.SetInfo(info:string);
|
|
begin
|
|
lblInfo.Caption := info;
|
|
//Application.ProcessMessages;
|
|
end;
|
|
|
|
end.
|