home *** CD-ROM | disk | FTP | other *** search
- unit Main;
- {
- Demo-Program for TLMDTile and TLDMAboutDlg.
-
- There are only a few lines of code implemented, but it
- is a full featured Texture-Viewer...
-
- To display the Selection-Dialog, press the 'Dialog-button' or
- the right mousebutton to get a PopUp-Menu.
-
- This program is freeware. Use it and enjoy!
- If you made any improvements it would be nice to send them to me.
-
- ⌐ 1995 by LMD Innovative
-
- ------------------------------------------------------------------
- History:
- 0.01.00 (06.08.95): First Version for internal use
- 0.02.00 (06.09.95): Implementation of the TLMDTile-Component
-
- Author: RM}
-
-
- interface
-
- uses
- SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
- Forms, Dialogs, ExtCtrls, unit1, Menus, StdCtrls, Lmdabout, Lmdtile;
-
- type
- Ttest = class(TForm)
- PopupMenu1: TPopupMenu;
- Dialog1: TMenuItem;
- Info1: TMenuItem;
- N1: TMenuItem;
- Ende1: TMenuItem;
- LMDTiler1: TLMDTiler;
- Button1: TButton;
- aboutdlg: TLMDAboutDlg;
- procedure Ende1Click(Sender: TObject);
- procedure Dialog1Click(Sender: TObject);
- procedure Info1Click(Sender: TObject);
-
- private
- { Private-Deklarationen }
- public
- { Public-Deklarationen }
- end;
-
- var
- test: Ttest;
-
- implementation
-
- {$R *.DFM}
-
- procedure Ttest.Ende1Click(Sender: TObject);
- begin
-
- Close;
-
- end;
-
- procedure Ttest.Dialog1Click(Sender: TObject);
- begin
-
- form1.show;
-
- end;
-
- procedure Ttest.Info1Click(Sender: TObject);
- begin
-
- with aboutdlg do begin
- description:='Viewer for Texture-Bitmaps';
- copyright:=#13'(c) 1995 by LMD Innovative';
- version:='0.02.00 (RELEASE 06.09.1995)';
- execute;
- end;
-
- end;
-
- end.
-