summaryrefslogtreecommitdiff
path: root/OPJViewer/source/OPJViewer.h
diff options
context:
space:
mode:
authorGiuseppe Baruffa <gbaruffa@users.noreply.github.com>2007-04-22 22:41:01 +0000
committerGiuseppe Baruffa <gbaruffa@users.noreply.github.com>2007-04-22 22:41:01 +0000
commitfbc9a5edcb84f97b48692b4f1871ac34a04b9320 (patch)
tree8ccbb5deab3734b843be6e4e4ffa6a29d8bf9854 /OPJViewer/source/OPJViewer.h
parent110b54c7c6f1ceea769264e78424883ff4a4701d (diff)
enable/disable decoding in OPJViewer
Diffstat (limited to 'OPJViewer/source/OPJViewer.h')
-rw-r--r--OPJViewer/source/OPJViewer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/OPJViewer/source/OPJViewer.h b/OPJViewer/source/OPJViewer.h
index deb3e8f0..c1413b74 100644
--- a/OPJViewer/source/OPJViewer.h
+++ b/OPJViewer/source/OPJViewer.h
@@ -182,6 +182,7 @@ class OPJViewerApp: public wxApp
int m_resizemethod;
// decoding engine parameters
+ bool m_enabledeco;
int m_reducefactor, m_qualitylayers, m_components, m_framenum;
#ifdef USE_JPWL
bool m_enablejpwl;
@@ -562,9 +563,13 @@ public:
OPJDecoderDialog(wxWindow* parent, int dialogType);
~OPJDecoderDialog();
+ wxBookCtrlBase* m_settingsNotebook;
+ wxCheckBox *m_enabledecoCheck;
wxSpinCtrl *m_reduceCtrl, *m_layerCtrl, *m_numcompsCtrl;
wxRadioBox* m_resizeBox;
+ void OnEnableDeco(wxCommandEvent& event);
+
wxPanel* CreateMainSettingsPage(wxWindow* parent);
wxPanel* CreatePart1SettingsPage(wxWindow* parent);
wxPanel* CreatePart3SettingsPage(wxWindow* parent);
@@ -583,6 +588,7 @@ protected:
OPJDECO_REDUCEFACTOR,
OPJDECO_QUALITYLAYERS,
OPJDECO_NUMCOMPS,
+ OPJDECO_ENABLEDECO,
OPJDECO_ENABLEJPWL,
OPJDECO_EXPCOMPS,
OPJDECO_MAXTILES,