diff options
| author | Giuseppe Baruffa <gbaruffa@users.noreply.github.com> | 2007-06-16 17:28:47 +0000 |
|---|---|---|
| committer | Giuseppe Baruffa <gbaruffa@users.noreply.github.com> | 2007-06-16 17:28:47 +0000 |
| commit | 2845d9bf6440b15ad6a4712cf68c80c60855f6da (patch) | |
| tree | d92376d29350db8729d3b7dc1295866a52231089 /OPJViewer/source/OPJViewer.h | |
| parent | 3d626da232e8b7e3a812e145f22627df256c02a0 (diff) | |
Possibility to disable parsing in OPJViewer; also, saves common settings to the registry; automatic build numbering
Diffstat (limited to 'OPJViewer/source/OPJViewer.h')
| -rw-r--r-- | OPJViewer/source/OPJViewer.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/OPJViewer/source/OPJViewer.h b/OPJViewer/source/OPJViewer.h index 7757ec73..c69c55db 100644 --- a/OPJViewer/source/OPJViewer.h +++ b/OPJViewer/source/OPJViewer.h @@ -128,6 +128,7 @@ typedef unsigned long long int8byte; #define OPJ_APPLICATION_VERSION wxT("0.3 alpha")
#define OPJ_APPLICATION_TITLEBAR OPJ_APPLICATION_NAME wxT(" ") OPJ_APPLICATION_VERSION
#define OPJ_APPLICATION_COPYRIGHT wxT("(C) 2007, Giuseppe Baruffa")
+#define OPJ_APPLICATION_VENDOR wxT("OpenJPEG")
#ifdef __WXMSW__
#define OPJ_APPLICATION_PLATFORM wxT("Windows")
@@ -158,6 +159,7 @@ class OPJViewerApp: public wxApp // other methods
bool OnInit(void);
+ int OnExit(void);
void SetShowImages(bool show) { m_showImages = show; }
bool ShowImages() const { return m_showImages; }
void ShowCmdLine(const wxCmdLineParser& parser);
@@ -183,13 +185,16 @@ class OPJViewerApp: public wxApp int m_resizemethod;
// decoding engine parameters
- bool m_enabledeco;
+ bool m_enabledeco, m_enableparse;
int m_reducefactor, m_qualitylayers, m_components, m_framenum;
#ifdef USE_JPWL
bool m_enablejpwl;
int m_expcomps, m_maxtiles;
#endif // USE_JPWL
+ // application configuration
+ wxConfig *OPJconfig;
+
// private methods and variables
private:
bool m_showImages, m_showButtons;
@@ -619,7 +624,7 @@ public: ~OPJDecoderDialog();
wxBookCtrlBase* m_settingsNotebook;
- wxCheckBox *m_enabledecoCheck;
+ wxCheckBox *m_enabledecoCheck, *m_enableparseCheck;
wxSpinCtrl *m_reduceCtrl, *m_layerCtrl, *m_numcompsCtrl;
wxRadioBox* m_resizeBox;
@@ -644,6 +649,7 @@ protected: OPJDECO_QUALITYLAYERS,
OPJDECO_NUMCOMPS,
OPJDECO_ENABLEDECO,
+ OPJDECO_ENABLEPARSE,
OPJDECO_ENABLEJPWL,
OPJDECO_EXPCOMPS,
OPJDECO_MAXTILES,
|
