X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;ds=sidebyside;f=source%2FAppXestiaCalendar.h;h=300a686c8afbfb4c2a90c0a62859d71fb4584233;hb=b00724231971de7bc52e5cd7f11f0d4669e9aafd;hp=b4623feda6434dfc4a8e67a287a2aee51eedc5e0;hpb=748f5ed2b44bc483d8d79a57a207615471214fa6;p=xestiacalendar%2F.git
diff --git a/source/AppXestiaCalendar.h b/source/AppXestiaCalendar.h
index b4623fe..300a686 100644
--- a/source/AppXestiaCalendar.h
+++ b/source/AppXestiaCalendar.h
@@ -1,3 +1,21 @@
+// AppXesitaCalendar.h - Xestia Calendar application form code header
+//
+// (c) 2016-2017 Xestia Software Development.
+//
+// This file is part of Xestia Calendar.
+//
+// Xestia Calendar is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by the
+// Free Software Foundation, version 3 of the license.
+//
+// Xestia Calendar is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along
+// with Xestia Calendar. If not, see
+
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Nov 13 2016)
// http://www.wxformbuilder.org/
@@ -37,6 +55,10 @@
#include
#include
#include
+#include
+#include
+#include
+#include
///////////////////////////////////////////////////////////////////////////
@@ -53,12 +75,19 @@ class frmMainADT : public wxFrame
wxMenuBar* menuBar;
wxMenu* mnuManage;
wxMenu* mnuCreate;
+ wxMenu* mnuWindow;
wxMenu* mnuHelp;
wxBoxSizer* szrMain;
// Virtual event handlers, overide them in your derived class
virtual void QuitApp( wxCloseEvent& event ) { event.Skip(); }
+ virtual void OpenNewAccountDialog( wxCommandEvent& event ) { event.Skip(); }
+ virtual void ShowPreferencesWindow( wxCommandEvent& event ) { event.Skip(); }
virtual void QuitApp( wxCommandEvent& event ) { event.Skip(); }
+ virtual void CreateNewCalendar( wxCommandEvent& event ) { event.Skip(); }
+ virtual void CreateNewEvent( wxCommandEvent& event ) { event.Skip(); }
+ virtual void ShowHelp( wxCommandEvent& event ) { event.Skip(); }
+ virtual void ShowUpdateWindow( wxCommandEvent& event ) { event.Skip(); }
virtual void ShowAboutWindow( wxCommandEvent& event ) { event.Skip(); }
@@ -136,6 +165,11 @@ class frmPreferencesADT : public wxDialog
virtual void AddABAccount( wxCommandEvent& event ) { event.Skip(); }
virtual void ModifyABAccount( wxCommandEvent& event ) { event.Skip(); }
virtual void DeleteABAccount( wxCommandEvent& event ) { event.Skip(); }
+ virtual void DisableButtons( wxListEvent& event ) { event.Skip(); }
+ virtual void EnableButtons( wxListEvent& event ) { event.Skip(); }
+ virtual void AddAccount( wxCommandEvent& event ) { event.Skip(); }
+ virtual void ModifyAccount( wxCommandEvent& event ) { event.Skip(); }
+ virtual void DeleteAccount( wxCommandEvent& event ) { event.Skip(); }
virtual void SavePreferences( wxCommandEvent& event ) { event.Skip(); }
virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); }
@@ -421,4 +455,86 @@ class frmInvalidSSLCertificateADT : public wxDialog
};
+///////////////////////////////////////////////////////////////////////////////
+/// Class frmCalendarEditorADT
+///////////////////////////////////////////////////////////////////////////////
+class frmCalendarEditorADT : public wxDialog
+{
+ private:
+
+ protected:
+ wxStaticText* lblAccount;
+ wxChoice* cmbAccount;
+ wxStaticText* lblName;
+ wxTextCtrl* txtName;
+ wxStaticText* lblColour;
+ wxColourPickerCtrl* clpColour;
+ wxStaticText* lblDescription;
+ wxTextCtrl* txtDescription;
+ wxButton* btnCreate;
+ wxButton* btnClose;
+
+ // Virtual event handlers, overide them in your derived class
+ virtual void ProcessCalendar( wxCommandEvent& event ) { event.Skip(); }
+ virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); }
+
+
+ public:
+
+ frmCalendarEditorADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Calendar Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 550,305 ), long style = wxDEFAULT_DIALOG_STYLE );
+ ~frmCalendarEditorADT();
+
+};
+
+///////////////////////////////////////////////////////////////////////////////
+/// Class frmEventEditorADT
+///////////////////////////////////////////////////////////////////////////////
+class frmEventEditorADT : public wxFrame
+{
+ private:
+
+ protected:
+ wxMenuBar* menuBar;
+ wxMenu* mnuEvent;
+ wxMenu* mnuEdit;
+ wxNotebook* nbkNotebook;
+ wxScrolledWindow* tabProperties;
+ wxBoxSizer* szrList;
+ wxFlexGridSizer* szrDetails;
+ wxStaticText* lblCalendar;
+ wxChoice* cmbCalendar;
+ wxStaticText* lblEventName;
+ wxTextCtrl* txtEventName;
+ wxStaticText* lblDescription;
+ wxTextCtrl* txtEventDescription;
+ wxFlexGridSizer* szrTime;
+ wxStaticText* lblStartTime;
+ wxDatePickerCtrl* dapStartDate;
+ wxTextCtrl* txtStartTime;
+ wxStaticText* lblEndTime;
+ wxDatePickerCtrl* dapEndDate;
+ wxTextCtrl* txtEndTime;
+ wxStaticText* lblDuration;
+ wxTextCtrl* m_textCtrl20;
+
+ // Virtual event handlers, overide them in your derived class
+ virtual void CloseWindow( wxCloseEvent& event ) { event.Skip(); }
+ virtual void SaveContact( wxCommandEvent& event ) { event.Skip(); }
+ virtual void SaveNewContact( wxCommandEvent& event ) { event.Skip(); }
+ virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); }
+ virtual void CutText( wxCommandEvent& event ) { event.Skip(); }
+ virtual void CopyText( wxCommandEvent& event ) { event.Skip(); }
+ virtual void PasteText( wxCommandEvent& event ) { event.Skip(); }
+ virtual void ProcessCalendarControl( wxCommandEvent& event ) { event.Skip(); }
+ virtual void ProcessEventName( wxCommandEvent& event ) { event.Skip(); }
+
+
+ public:
+
+ frmEventEditorADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Event Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 546,401 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
+
+ ~frmEventEditorADT();
+
+};
+
#endif //__APPXESTIACALENDAR_H__