From 439e0a9588f83e93b609563bcef0a03b13928534 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 28 Jun 2015 20:19:19 +0200 Subject: Linux/MacOSX: Add dedicated PIM page in the volume creation wizard. Correct PIM value check logic. --- src/Main/Forms/Forms.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) mode change 100755 => 100644 src/Main/Forms/Forms.h (limited to 'src/Main/Forms/Forms.h') diff --git a/src/Main/Forms/Forms.h b/src/Main/Forms/Forms.h old mode 100755 new mode 100644 index 358e937a..143e5c8d --- a/src/Main/Forms/Forms.h +++ b/src/Main/Forms/Forms.h @@ -1011,6 +1011,32 @@ namespace VeraCrypt }; + /////////////////////////////////////////////////////////////////////////////// + /// Class VolumePimWizardPageBase + /////////////////////////////////////////////////////////////////////////////// + class VolumePimWizardPageBase : public WizardPage + { + private: + + protected: + wxBoxSizer* PimPanelSizer; + wxBoxSizer* PimSizer; + wxStaticText* VolumePimStaticText; + wxTextCtrl* VolumePimTextCtrl; + wxStaticText* VolumePinHelpStaticText; + wxStaticText* InfoStaticText; + + // Virtual event handlers, overide them in your derived class + virtual void OnPimChanged( wxCommandEvent& event ) { event.Skip(); } + + + public: + + VolumePimWizardPageBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL ); + ~VolumePimWizardPageBase(); + + }; + /////////////////////////////////////////////////////////////////////////////// /// Class VolumeSizeWizardPageBase /////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3