-
Notifications
You must be signed in to change notification settings - Fork 1
/
Unit4.h
55 lines (53 loc) · 1.61 KB
/
Unit4.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//---------------------------------------------------------------------------
#ifndef Unit4H
#define Unit4H
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <FMX.Controls.hpp>
#include <FMX.Forms.hpp>
#include <FMX.Layouts.hpp>
#include <FMX.Objects.hpp>
#include <FMX.StdCtrls.hpp>
#include <FMX.Types.hpp>
#include <vector>
//---------------------------------------------------------------------------
class ReciptCard {
private:
int num;
TPanel *Back;
TLabel *ReciptName;
TProgressBar *Sz;
TLabel *Kol;
TImage *Background;
public:
void __fastcall Del();
void __fastcall OnClick(TObject *Sender);
ReciptCard(int i);
// ~ReciptCard();
};
//---------------------------------------------------------------------------
//extern std::vector<ReciptCard> Cards;
//---------------------------------------------------------------------------
class TForm4 : public TForm
{
__published: // IDE-managed Components
TLayout *Layout1;
TImage *Image4;
TVertScrollBox *VertScrollBox1;
TImage *Image1;
TSpeedButton *SpeedButton2;
TLayout *Layout2;
TImage *Image2;
TProgressBar *ProgressBar1;
void __fastcall SpeedButton2Click(TObject *Sender);
void __fastcall FormCreate(TObject *Sender);
void __fastcall ShowRec(int flag);
private: // User declarations
public: // User declarations
// std::vector<RecipeCard> Cards;
__fastcall TForm4(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm4 *Form4;
//---------------------------------------------------------------------------
#endif