Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiacalendar
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added existing common code from Xestia Address Book
[xestiacalendar/.git]
/
source
/
widgets
/
XCCalendarManipulator.h
diff --git
a/source/widgets/XCCalendarManipulator.h
b/source/widgets/XCCalendarManipulator.h
index
bce03cc
..
1a69bc1
100644
(file)
--- a/
source/widgets/XCCalendarManipulator.h
+++ b/
source/widgets/XCCalendarManipulator.h
@@
-16,6
+16,9
@@
// You should have received a copy of the GNU General Public License along
// with Xestia Calendar. If not, see <http://www.gnu.org/licenses/>
// You should have received a copy of the GNU General Public License along
// with Xestia Calendar. If not, see <http://www.gnu.org/licenses/>
+#ifndef __WIDGETS_XCCALENDARMANIPULATOR_H__
+#define __WIDGETS_XCCALENDARMANIPULATOR_H__
+
#include <string>
#include <wx/wx.h>
#include <string>
#include <wx/wx.h>
@@
-24,7
+27,9
@@
#include "events.h"
#include "XCCalendarMonthSelect.h"
#include "events.h"
#include "XCCalendarMonthSelect.h"
+#include "XCCalendarList.h"
#include "../bitmaps.h"
#include "../bitmaps.h"
+#include "../libraries/CalendarDataStorage/CalendarDataStorage.h"
class XCCalendarManipulator: public wxPanel
{
class XCCalendarManipulator: public wxPanel
{
@@
-35,12
+40,16
@@
class XCCalendarManipulator: public wxPanel
wxPanel *pnlMain = nullptr;
wxButton *PreviousButton = nullptr;
wxButton *NextButton = nullptr;
wxPanel *pnlMain = nullptr;
wxButton *PreviousButton = nullptr;
wxButton *NextButton = nullptr;
+ wxButton *CalendarsButton = nullptr;
wxButton *DateButton = nullptr;
XCCalendarMonthSelect *Moo = nullptr;
wxButton *DateButton = nullptr;
XCCalendarMonthSelect *Moo = nullptr;
+ XCCalendarList *calendarList = nullptr;
+ CalendarDataStorage *dataStorage = nullptr;
int Month = 0;
int Year = 2016;
wxBitmap NextIconBitmap;
wxBitmap PreviousIconBitmap;
int Month = 0;
int Year = 2016;
wxBitmap NextIconBitmap;
wxBitmap PreviousIconBitmap;
+ wxBitmap CalendarsIconBitmap;
void UpdateDateButtonText();
protected:
void UpdateDateButtonText();
protected:
@@
-50,12
+59,15
@@
class XCCalendarManipulator: public wxPanel
void ChangeGrid(wxCommandEvent &event);
void NextMonth(wxCommandEvent &event);
void PreviousMonth(wxCommandEvent &event);
void ChangeGrid(wxCommandEvent &event);
void NextMonth(wxCommandEvent &event);
void PreviousMonth(wxCommandEvent &event);
+ void ShowCalendarsList(wxCommandEvent &event);
public:
public:
- XCCalendarManipulator(wxWindow* parent, const wxString& title, const wxPoint& pos, const wxSize& size);
+ XCCalendarManipulator(wxWindow* parent, const wxString& title, const wxPoint& pos, const wxSize& size
, CalendarDataStorage *dataStorage
);
~XCCalendarManipulator();
int GetMonth();
int GetYear();
DECLARE_EVENT_TABLE()
~XCCalendarManipulator();
int GetMonth();
int GetYear();
DECLARE_EVENT_TABLE()
-};
\ No newline at end of file
+};
+
+#endif
\ No newline at end of file
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy