X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fdialogs.h;h=43167294cc35ec77f830e39cccadf25b8aeae13d;hb=df521cfe14a9e0b47bdcd98d1f67d03acf242162;hp=0bb051043e71e45e96e2d748ab7ddbc960a94362;hpb=7c695eef645b25a1df6a95c4fc72f6b2994a3630;p=ctsim.git diff --git a/src/dialogs.h b/src/dialogs.h index 0bb0510..4316729 100644 --- a/src/dialogs.h +++ b/src/dialogs.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: dialogs.h,v 1.26 2001/02/14 18:39:47 kevin Exp $ +** $Id: dialogs.h,v 1.31 2001/02/22 18:22:40 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -39,6 +39,15 @@ #include "projections.h" +class CTSimHelpButton : public wxButton +{ +public: + CTSimHelpButton (wxWindow* parent, int id) + : wxButton (parent, id, "Help") + {} +}; + + // CLASS StringValueAndTitleListBox // // A superclass of wxListBox that can handle string values and titles @@ -47,24 +56,24 @@ class StringValueAndTitleListBox : public wxListBox { public: - StringValueAndTitleListBox (wxDialog* pParent, int nChoices, const char* aszTitle[], const char* aszValue[]); + StringValueAndTitleListBox (wxDialog* pParent, int nChoices, const char* const aszTitle[], const char* const aszValue[]); const char* getSelectionStringValue () const; private: - const char** m_ppszValues; + const char* const* m_ppszValues; }; class StringValueAndTitleRadioBox : public wxRadioBox { public: - StringValueAndTitleRadioBox (wxDialog* pParent, const wxString& strTitle, int nChoices, const char* aszTitle[], const char* aszValue[]); + StringValueAndTitleRadioBox (wxDialog* pParent, const wxString& strTitle, int nChoices, const char* const aszTitle[], const char* const aszValue[]); const char* getSelectionStringValue () const; private: - const char** m_ppszValues; + const char* const* m_ppszValues; }; @@ -103,15 +112,22 @@ class DialogGetComparisonImage : public wxDialog class DialogPreferences : public wxDialog { public: - DialogPreferences (wxWindow* pParent, const char* const pszTitle, bool bAdvanced, bool bAskNewDocs); + DialogPreferences (wxWindow* pParent, const char* const pszTitle, bool bAdvanced, bool bAskNewDocs, + bool bVerboseLogging, bool bStartupTips, bool bUseBackgroundTasks); virtual ~DialogPreferences (); bool getAdvancedOptions (); bool getAskDeleteNewDocs (); + bool getVerboseLogging (); + bool getStartupTips (); + bool getUseBackgroundTasks(); private: wxCheckBox* m_pCBAdvancedOptions; wxCheckBox* m_pCBAskDeleteNewDocs; + wxCheckBox* m_pCBVerboseLogging; + wxCheckBox* m_pCBStartupTips; + wxCheckBox* m_pCBUseBackgroundTasks; };