Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

ColorPopupDialog.h

00001 #if !defined(AFX_COLORPOPUPDIALOG_H__FF54B580_0EFC_468F_B8CA_04DD816DA134__INCLUDED_)
00002 #define AFX_COLORPOPUPDIALOG_H__FF54B580_0EFC_468F_B8CA_04DD816DA134__INCLUDED_
00003 
00004 #if _MSC_VER >= 1000
00005 #pragma once
00006 #endif // _MSC_VER >= 1000
00007 // ColorPopupDialog.h : header file
00008 //
00009 
00011 // CColorPopupDialog dialog
00012 
00013 class CColorPopupDialog : public CDialog
00014 {
00015 // Construction
00016 public:
00017         COLORREF GetSaturation(int x, int y);
00018         COLORREF GetHue(int y);
00019         void NewClick(CPoint point);
00020         COLORREF GetColor();
00021         CColorPopupDialog(CWnd* pParent = NULL);   // standard constructor
00022 
00023 // Dialog Data
00024         //{{AFX_DATA(CColorPopupDialog)
00025         enum { IDD = IDD_POPUP_COLOR };
00026         int             m_blue;
00027         int             m_green;
00028         int             m_red;
00029         //}}AFX_DATA
00030 
00031 
00032 // Overrides
00033         // ClassWizard generated virtual function overrides
00034         //{{AFX_VIRTUAL(CColorPopupDialog)
00035         protected:
00036         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00037         //}}AFX_VIRTUAL
00038 
00039 // Implementation
00040 protected:
00041         CPoint m_ptSaturation, m_ptHue;
00042         CRect  m_rcSaturation, m_rcHue;
00043         bool m_bLowColorDisplay;
00044         bool m_bInitialized;
00045         
00046         // Generated message map functions
00047         //{{AFX_MSG(CColorPopupDialog)
00048         afx_msg void OnPaint();
00049         afx_msg void OnChange();
00050         virtual BOOL OnInitDialog();
00051         afx_msg void OnMouseMove(UINT nFlags, CPoint point);
00052         afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
00053         //}}AFX_MSG
00054         DECLARE_MESSAGE_MAP()
00055 };
00056 
00057 //{{AFX_INSERT_LOCATION}}
00058 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00059 
00060 #endif // !defined(AFX_COLORPOPUPDIALOG_H__FF54B580_0EFC_468F_B8CA_04DD816DA134__INCLUDED_)

Generated at Wed Aug 29 19:58:55 2001 for Pocket Animator by doxygen1.2.5 written by Dimitri van Heesch, © 1997-2001