Mercurial > vba-linux
view src/win32/ZoomControl.h @ 7:c0a590a394c3
ignore generated files
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:50:33 -0600 |
parents | f9f4f1b99eed |
children |
line wrap: on
line source
1 #if !defined(AFX_ZOOMCONTROL_H__BC193230_D2D6_4240_93AE_28C2EF2C641A__INCLUDED_)2 #define AFX_ZOOMCONTROL_H__BC193230_D2D6_4240_93AE_28C2EF2C641A__INCLUDED_4 #if _MSC_VER > 10005 #pragma once6 #endif // _MSC_VER > 10007 // ZoomControl.h : header file8 //9 #ifndef WM_COLINFO10 #define WM_COLINFO WM_APP+10011 #endif13 /////////////////////////////////////////////////////////////////////////////14 // ZoomControl window16 class ZoomControl : public CWnd17 {18 // Construction19 public:20 ZoomControl();22 // Attributes23 public:24 // Operations25 public:26 // Overrides27 // ClassWizard generated virtual function overrides28 //{{AFX_VIRTUAL(ZoomControl)29 //}}AFX_VIRTUAL31 // Implementation32 public:33 void setColors(const u8 *c);34 static bool isRegistered;35 virtual ~ZoomControl();37 // Generated message map functions38 protected:39 //{{AFX_MSG(ZoomControl)40 afx_msg void OnPaint();41 afx_msg void OnLButtonDown(UINT nFlags, CPoint point);42 afx_msg BOOL OnEraseBkgnd(CDC*pDC);43 //}}AFX_MSG44 DECLARE_MESSAGE_MAP()45 private:46 int selected;47 u8 colors[3*64];48 void registerClass();49 };51 /////////////////////////////////////////////////////////////////////////////53 //{{AFX_INSERT_LOCATION}}54 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.56 #endif // !defined(AFX_ZOOMCONTROL_H__BC193230_D2D6_4240_93AE_28C2EF2C641A__INCLUDED_)