mitushkin-infa/MenuUnit.h

36 lines
830 B
C++

// Главное меню
#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