Initial commit

This commit is contained in:
apoorv569
2021-03-20 04:19:12 +05:30
commit 0cf4931ef4
33 changed files with 4481 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#include "wx/defs.h"
#include "wx/gdicmn.h"
#include "wx/icon.h"
#include "MainFrame.hpp"
MainFrame::MainFrame(): wxFrame(NULL, wxID_ANY, "Sample Hive", wxDefaultPosition)
{
int height = 600, width = 800;
const std::string filepath = "config.yaml";
Serializer serializer(filepath);
height = serializer.DeserializeWinSize("Height", height);
width = serializer.DeserializeWinSize("Width", width);
this->SetSize(width, height);
this->Center(wxBOTH);
this->CenterOnScreen(wxBOTH);
this->SetIcon(wxIcon("../assets/Icons/icon-hive_24x24.png", wxICON_DEFAULT_TYPE, -1, -1));
m_Browser = new Browser(this);
}
MainFrame::~MainFrame(){}