home *** CD-ROM | disk | FTP | other *** search
/ The Net: Ultimate Internet Guide / WWLCD1.ISO / mac / SiteBldr / AMOVIE / SDK / _SETUP / COMMON.Z / indeo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-06-15  |  3.1 KB  |  124 lines

  1. // This code and information is provided "as is" without warranty of
  2. // any kind, either expressed or implied, including but not limited to
  3. // the implied warranties of merchantability and/or fitness for a
  4. // particular purpose.
  5.  
  6. // Copyright (C) 1996 Intel corporation.  All rights reserved.
  7.  
  8. // indeo.h : header file
  9. //
  10.  
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CIndeo form view
  13.  
  14. #ifndef __AFXEXT_H__
  15. #include <afxext.h>
  16. #endif
  17.  
  18. #include <afxcmn.h>  // for CSliderCtrl
  19.  
  20. class CIndeo : public CFormView
  21. {
  22. protected:
  23.     CIndeo();           // protected constructor used by dynamic creation
  24.     DECLARE_DYNCREATE(CIndeo)
  25.  
  26. // Form Data
  27. public:
  28.     //{{AFX_DATA(CIndeo)
  29.     enum { IDD = IDD_INDEO };
  30.     CButton    m_checkAltLine;
  31.     CEdit    m_editDecodeTime;
  32.     CEdit    m_editViewWidth;
  33.     CEdit    m_editViewY;
  34.     CEdit    m_editViewX;
  35.     CEdit    m_editViewHeight;
  36.     CButton    m_checkScalability;
  37.     CEdit    m_editKeyValue;
  38.     CEdit    m_editDecodeY;
  39.     CEdit    m_editDecodeX;
  40.     CEdit    m_editDecodeWidth;
  41.     CButton    m_checkAccessKey;
  42.     CButton    m_btnDefaults;
  43.     CButton    m_btnApply;
  44.     CEdit    m_editDecodeHeight;
  45.     CSliderCtrl    m_tbSaturation;
  46.     CSliderCtrl    m_tbContrast;
  47.     CSliderCtrl    m_tbBrightness;
  48.     BOOL    m_bAccessKey;
  49.     DWORD    m_dwDecodeHeight;
  50.     DWORD    m_dwDecodeWidth;
  51.     DWORD    m_dwDecodeX;
  52.     DWORD    m_dwDecodeY;
  53.     DWORD    m_dwKeyValue;
  54.     BOOL    m_bScalability;
  55.     DWORD    m_dwViewHeight;
  56.     DWORD    m_dwViewWidth;
  57.     DWORD    m_dwViewX;
  58.     DWORD    m_dwViewY;
  59.     int        m_intBrightness;
  60.     int        m_intContrast;
  61.     int        m_intSaturation;
  62.     DWORD    m_dwDecodeTime;
  63.     CButton m_radTransFill;
  64.     BOOL    m_bTransFill;
  65.     CButton m_radTransNoFill;
  66.     BOOL    m_bAltLine;
  67.     //}}AFX_DATA
  68.  
  69. // Attributes
  70. public:
  71.  
  72. // Operations
  73. public:
  74.        void EnableSeqOptions();
  75.     void DisableSeqOptions();
  76.  
  77. // Overrides
  78.     // ClassWizard generated virtual function overrides
  79.     //{{AFX_VIRTUAL(CIndeo)
  80.     public:
  81.     virtual void OnInitialUpdate();
  82.     protected:
  83.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  84.     virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
  85.     //}}AFX_VIRTUAL
  86.  
  87. // Implementation
  88. protected:
  89.     virtual ~CIndeo();
  90. #ifdef _DEBUG
  91.     virtual void AssertValid() const;
  92.     virtual void Dump(CDumpContext& dc) const;
  93. #endif
  94.  
  95. // Helper functions
  96.     void EnableAllOptions();
  97.     void DisableAllOptions();
  98.  
  99.     // Generated message map functions
  100.     //{{AFX_MSG(CIndeo)
  101.     afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
  102.     afx_msg void OnIndeoApply();
  103.     afx_msg void OnIndeoDefaults();
  104.     afx_msg void OnChangeDecodeHeight();
  105.     afx_msg void OnChangeDecodeWidth();
  106.     afx_msg void OnChangeDecodeX();
  107.     afx_msg void OnChangeDecodeY();
  108.     afx_msg void OnChangeViewHeight();
  109.     afx_msg void OnChangeViewWidth();
  110.     afx_msg void OnChangeViewX();
  111.     afx_msg void OnChangeViewY();
  112.     afx_msg void OnAccesskey();
  113.     afx_msg void OnChangeDecodeTime();
  114.     afx_msg void OnScalability();
  115.     afx_msg void OnChangeKeyValue();
  116.     afx_msg void OnTransFill();
  117.     afx_msg void OnTransNofill();
  118.     afx_msg void OnAltline();
  119.     //}}AFX_MSG
  120.     DECLARE_MESSAGE_MAP()
  121. };
  122.  
  123. /////////////////////////////////////////////////////////////////////////////
  124.