Лабораторные работы: пятнашки и редактор фигур
This commit is contained in:
commit
a5dbf9d3a2
1 changed files with 2579 additions and 0 deletions
36
MenuUnit.h
Normal file
36
MenuUnit.h
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
// Главное меню
|
||||
#ifndef MenuUnitH
|
||||
#define MenuUnitH
|
||||
|
||||
#include <System.Classes.hpp>
|
||||
#include <Vcl.Controls.hpp>
|
||||
#include <Vcl.StdCtrls.hpp>
|
||||
#include <Vcl.Forms.hpp>
|
||||
#include <Vcl.ExtCtrls.hpp>
|
||||
#include <Vcl.ImgList.hpp>
|
||||
#include <System.ImageList.hpp>
|
||||
|
||||
class TfrmMenu : public TForm
|
||||
{
|
||||
__published:
|
||||
TPanel *pnlHeader;
|
||||
TLabel *lblCaption;
|
||||
TLabel *lblSubject;
|
||||
TButton *btnGame;
|
||||
TButton *btnShapes;
|
||||
TButton *btnAbout;
|
||||
TLabel *lblAuthor;
|
||||
TImageList *imgButtons;
|
||||
void __fastcall FormCreate(TObject *Sender);
|
||||
void __fastcall btnGameClick(TObject *Sender);
|
||||
void __fastcall btnShapesClick(TObject *Sender);
|
||||
void __fastcall btnAboutClick(TObject *Sender);
|
||||
private:
|
||||
void DrawIcons();
|
||||
public:
|
||||
__fastcall TfrmMenu(TComponent* Owner);
|
||||
};
|
||||
|
||||
extern PACKAGE TfrmMenu *frmMenu;
|
||||
|
||||
#endif
|
||||
Loading…
Reference in a new issue