Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
widgets: Widget controls updated
[xestiacalendar/.git] / source / widgets / XCCalendarListCalendarCtrl.h
index 3463f94..39c982a 100644 (file)
@@ -26,6 +26,7 @@
 #include "types.h"
 #include "colour.h"
 #include "events.h"
+#include "XCCalendarMenu.h"
 
 class XCCalendarListCalendarCtrl: public wxPanel{
 
@@ -34,18 +35,23 @@ class XCCalendarListCalendarCtrl: public wxPanel{
                wxCheckBox *chkShowCalendar = nullptr;
                wxStaticText *lblCalendarName = nullptr;
                wxStaticBitmap *imgCalendarIcon = nullptr;
+               XCCalendarMenu *calendarMenu = nullptr;
                wxPanel *pnlColour = nullptr;
+               int accountPreferencesID = 0;
        protected:
                int calendarID = 0;
                std::string calendarName = "";
                bool showCalendar = true;
                void ShowAllCheckboxClick( wxMouseEvent &mouseEvent );
+               void PopupMenu( wxMouseEvent &mouseEvent );
        public:
                XCCalendarListCalendarCtrl(wxWindow* parent, string calendarName, Colour calendarColour);
                ~XCCalendarListCalendarCtrl();
                wxCheckBoxState GetShowCheckboxState();
                int GetCalendarID();
                void SetCalendarID(int calendarID);
+               void SetAccountPreferencesID(int accountID);
+               void SetCheckBoxValue(wxCheckBoxState newValue);
        
 };
  
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy