1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 19:08:26 -06:00

Linux/MacOSX: Add dedicated PIM page in the volume creation wizard. Correct PIM value check logic.

This commit is contained in:
Mounir IDRASSI
2015-06-28 20:19:19 +02:00
parent da8aec4292
commit 439e0a9588
11 changed files with 660 additions and 10 deletions

26
src/Main/Forms/Forms.h Executable file → Normal file
View File

@@ -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
///////////////////////////////////////////////////////////////////////////////