Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
frmContactEditorPicture: Implemented priority control
[xestiaab/.git] / source / contacteditor / frmContactEditorPicture.h
index 5773503..e28939d 100644 (file)
@@ -28,6 +28,7 @@ Subclass of frmContactEditorPictureADT, which is generated by wxFormBuilder.
 #include <string>
 #include "../AppXestiaAddrBk.h"
 #include "../enums.h"
+#include "../widgets/XABPriorityCtrl.h"
 
 //// end generated include
 
@@ -36,7 +37,6 @@ class frmContactEditorPicture : public frmContactEditorPictureADT
 {
        protected:
                // Handlers for frmContactEditorPictureADT events.
-               void EnablePriority( wxCommandEvent& event );
                void ProcessData( wxCommandEvent& event );
                void CloseWindow( wxCommandEvent& event );
        public:
@@ -53,10 +53,12 @@ class frmContactEditorPicture : public frmContactEditorPictureADT
                        std::map<int, wxString> *PictureListMediatype,  
                        std::map<int, int> *PictureListPref,
                        wxListCtrl *PictureListCtrl,
-                       int PictureIndex );
+                       int PictureIndex,
+                       bool PictureLogoIn );
        //// end generated class members
        
-               bool EditorMode;
+               bool EditorMode = FALSE;
+               bool PictureLogo = FALSE;
                std::map<int, std::string> *PictureListPtr;
                std::map<int, wxString> *PictureListAltIDPtr;
                std::map<int, wxString> *PictureListPIDPtr;
@@ -67,9 +69,9 @@ class frmContactEditorPicture : public frmContactEditorPictureADT
                std::map<int, wxString> *PictureListMediatypePtr;               
                std::map<int, int> *PictureListPrefPtr;
                wxListCtrl *PictureListCtrlPtr;
-               int PictureListIndex;
+               int PictureListIndex = 0;
                SectionType EditSectionType;
-       
+               XABPriorityCtrl *priorityCtrl = nullptr;
 };
 
 #endif // __frmContactEditorPicture__
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