X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=blobdiff_plain;f=source%2Fcontacteditor%2FfrmContactEditorPicture.h;h=e28939def7cfb1bf20d4f1e667364eb472872fb5;hp=930a49584bfb27abd7ec718d1e7cf01f860a4ad4;hb=c240addfc3f8e8686707b012ac9032b9e2411b91;hpb=45729fca56479bd9158486e0cda0c4a94b4dd1dc diff --git a/source/contacteditor/frmContactEditorPicture.h b/source/contacteditor/frmContactEditorPicture.h index 930a495..e28939d 100644 --- a/source/contacteditor/frmContactEditorPicture.h +++ b/source/contacteditor/frmContactEditorPicture.h @@ -1,3 +1,21 @@ +// frmContactEditorPicture.h - frmContactEditorPicture form header. +// +// (c) 2012-2015 Xestia Software Development. +// +// This file is part of Xestia Address Book. +// +// Xestia Address Book 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 Address Book 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 Address Book. If not, see + #ifndef __frmContactEditorPicture__ #define __frmContactEditorPicture__ @@ -10,6 +28,7 @@ Subclass of frmContactEditorPictureADT, which is generated by wxFormBuilder. #include #include "../AppXestiaAddrBk.h" #include "../enums.h" +#include "../widgets/XABPriorityCtrl.h" //// end generated include @@ -18,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: @@ -35,10 +53,12 @@ class frmContactEditorPicture : public frmContactEditorPictureADT std::map *PictureListMediatype, std::map *PictureListPref, wxListCtrl *PictureListCtrl, - int PictureIndex ); + int PictureIndex, + bool PictureLogoIn ); //// end generated class members - bool EditorMode; + bool EditorMode = FALSE; + bool PictureLogo = FALSE; std::map *PictureListPtr; std::map *PictureListAltIDPtr; std::map *PictureListPIDPtr; @@ -49,9 +69,9 @@ class frmContactEditorPicture : public frmContactEditorPictureADT std::map *PictureListMediatypePtr; std::map *PictureListPrefPtr; wxListCtrl *PictureListCtrlPtr; - int PictureListIndex; + int PictureListIndex = 0; SectionType EditSectionType; - + XABPriorityCtrl *priorityCtrl = nullptr; }; #endif // __frmContactEditorPicture__