INDEO.H

// This code and information is provided "as is" without warranty of 
// any kind, either expressed or implied, including but not limited to
// the implied warranties of merchantability and/or fitness for a
// particular purpose.

// Copyright (C) 1996 - 1997 Intel corporation. All rights reserved.

// indeo.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CIndeo form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

#include <afxcmn.h> // for CSliderCtrl

class CIndeo : public CFormView
{
protected:
CIndeo(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CIndeo)

DWORDm_dwInitTransRGBVal;
COLORREF m_clrefUserCustClrs[16];

// Form Data
public:
//{{AFX_DATA(CIndeo)
enum { IDD = IDD_INDEO };
CButtonm_btnCustomColors;
CButtonm_checkDontDropQuality;
CButtonm_checkDontDropFrames;
CEditm_editSaturation;
CEditm_editContrast;
CEditm_editBrightness;
CEditm_editTransFillGreen;
CEditm_editTransFillBlue;
CEditm_editTransFillRed;
CButtonm_checkAltLine;
CEditm_editDecodeTime;
CEditm_editViewWidth;
CEditm_editViewY;
CEditm_editViewX;
CEditm_editViewHeight;
CEditm_editKeyValue;
CEditm_editDecodeY;
CEditm_editDecodeX;
CEditm_editDecodeWidth;
CButtonm_checkAccessKey;
CButtonm_btnDefaults;
CButtonm_btnApply;
CEditm_editDecodeHeight;
CSliderCtrlm_tbSaturation;
CSliderCtrlm_tbContrast;
CSliderCtrlm_tbBrightness;
BOOLm_bAccessKey;
DWORDm_dwDecodeHeight;
DWORDm_dwDecodeWidth;
DWORDm_dwDecodeX;
DWORDm_dwDecodeY;
DWORDm_dwKeyValue;
DWORDm_dwViewHeight;
DWORDm_dwViewWidth;
DWORDm_dwViewX;
DWORDm_dwViewY;
intm_intBrightness;
intm_intContrast;
intm_intSaturation;
DWORDm_dwDecodeTime;
CButton m_radTransFill;
CButton m_radTransNoFill;
BOOLm_bAltLine;
intm_intGreen;
intm_intRed;
intm_intBlue;
BOOLm_bDontDropFrames;
BOOLm_bDontDropQuality;
CButton m_radFrameOrigin;
CButton m_radViewOrigin;
intm_bViewOrigin;
intm_bTransFill;
//}}AFX_DATA

// Attributes
public:

// Operations
public:
void EnableSeqOptions();
void DisableSeqOptions();

// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CIndeo)
public:
virtual void OnInitialUpdate();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
//}}AFX_VIRTUAL

// Implementation
protected:
virtual ~CIndeo();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif

// Helper functions
void EnableAllOptions();
void DisableAllOptions();

// Generated message map functions
//{{AFX_MSG(CIndeo)
afx_msg void OnIndeoApply();
afx_msg void OnIndeoDefaults();
afx_msg void OnChangeDecodeHeight();
afx_msg void OnChangeDecodeWidth();
afx_msg void OnChangeDecodeX();
afx_msg void OnChangeDecodeY();
afx_msg void OnChangeViewHeight();
afx_msg void OnChangeViewWidth();
afx_msg void OnChangeViewX();
afx_msg void OnChangeViewY();
afx_msg void OnAccesskey();
afx_msg void OnChangeDecodeTime();
afx_msg void OnChangeKeyValue();
afx_msg void OnTransFill();
afx_msg void OnTransNofill();
afx_msg void OnAltline();
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnChangeGreenEdit();
afx_msg void OnChangeRedEdit();
afx_msg void OnChangeBlueEdit();
afx_msg void OnDontDropFrames();
afx_msg void OnDontDropQuality();
afx_msg void OnViewOrigin();
afx_msg void OnFrameOrigin();
afx_msg void OnCustomColors();
afx_msg void OnUpdateBSCText();
afx_msg void OnClickBSCColorcontrol(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////