]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/wxCreaDevManagerProjectActionsPanel.cpp
Feature #1711
[crea.git] / lib / creaDevManagerLib / wxCreaDevManagerProjectActionsPanel.cpp
diff --git a/lib/creaDevManagerLib/wxCreaDevManagerProjectActionsPanel.cpp b/lib/creaDevManagerLib/wxCreaDevManagerProjectActionsPanel.cpp
new file mode 100644 (file)
index 0000000..2c34fc6
--- /dev/null
@@ -0,0 +1,52 @@
+/*
+ * wxCreaDevManagerProjectActionsWindow.cpp
+ *
+ *  Created on: 25/10/2012
+ *      Author: daniel
+ */
+
+#include "wxCreaDevManagerProjectActionsPanel.h"
+
+
+
+wxCreaDevManagerProjectActionsPanel::wxCreaDevManagerProjectActionsPanel(
+    wxWindow* parent,
+    wxWindowID id,
+    const wxString& caption,
+    const wxPoint& pos,
+    const wxSize& size,
+    long style
+)
+{
+  wxCreaDevManagerProjectActionsPanel::Create(parent,id,caption,pos,size,style);
+}
+
+wxCreaDevManagerProjectActionsPanel::~wxCreaDevManagerProjectActionsPanel()
+{
+}
+
+bool wxCreaDevManagerProjectActionsPanel::Create(
+    wxWindow* parent,
+    wxWindowID id,
+    const wxString& caption,
+    const wxPoint& pos,
+    const wxSize& size,
+    long style
+)
+{
+  wxPanel::Create(parent,id,pos,size,style);
+  wxBoxSizer* sizer = new wxBoxSizer(wxHORIZONTAL);
+  this->SetSizer(sizer);
+
+  CreateControls();
+
+  return TRUE;
+}
+
+void wxCreaDevManagerProjectActionsPanel::CreateControls()
+{
+  this->GetSizer()->Add(new wxButton(this, -1, _T("Action 1")), 0, wxALL, 5);
+  this->GetSizer()->Add(new wxButton(this, -1, _T("Action 2")), 0, wxALL, 5);
+  this->GetSizer()->Add(new wxButton(this, -1, _T("Action 3")), 0, wxALL, 5);
+  this->GetSizer()->Add(new wxButton(this, -1, _T("Action 4")), 0, wxALL, 5);
+}