-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGUIMyFrame1.h
More file actions
68 lines (49 loc) · 1.58 KB
/
GUIMyFrame1.h
File metadata and controls
68 lines (49 loc) · 1.58 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
#ifndef __GUIMyFrame1__
#define __GUIMyFrame1__
//no wiec: wiadomo, dolaczamy pliki z funckjami
/**
@file
Subclass of MyFrame1, which is generated by wxFormBuilder.
*/
#include "GUI.h"
//// end generated include
//#include <wx/filedlg.h>
#include <wx/dcmemory.h>
#include <wx/dcclient.h>
#include <wx/dcbuffer.h>
//#include <wx/colourdata.h>
//#include <wx/colordlg.h>
#include <wx/msgdlg.h>
#include <wx/filedlg.h>
#include <memory>
#include "sup_classes.hpp"
/** Implementing MyFrame1 */
class GUIMyFrame1 : public MyFrame1
{
protected:
// Handlers for MyFrame1 events.
void MainFormClose(wxCloseEvent& event); //formalnosc
void Panel_Repaint(wxUpdateUIEvent& event); //chyba formalnosc
void click_button_load(wxCommandEvent& event); //formalnosc
//tu reszta zalezy pewnie od nazw zmiennych ktore sa uzyte w funkcjach/klasach
void Wage_1_Update(wxCommandEvent& event);
void Wage_2_Update(wxCommandEvent& event);
void Wage_3_Update(wxCommandEvent& event);
void Wage_4_Update(wxCommandEvent& event);
void Angle_Update(wxCommandEvent& event);
void Wages_Calculate(wxCommandEvent& event);
void Rotate_Bitmap(wxCommandEvent& event);
void Graph_Paint(wxUpdateUIEvent& event); //tu jeszcze nie jestem pewna, czy dobra funkcja jest uzyta
public:
/** Constructor */
GUIMyFrame1( wxWindow* parent );
//// end generated class members
void Variation_Update();
void repaint();
void repaint_graph();
private:
ImageHolder image;
wxImage graph;
std::shared_ptr<wxFileDialog> m_file_dialog;
};
#endif // __GUIMyFrame1__