Mercurial > vba-clojure
annotate src/win32/ZoomControl.h @ 8:08a8e09ca414
add files required by automake
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:54:39 -0600 |
parents | f9f4f1b99eed |
children |
rev | line source |
---|---|
rlm@1 | 1 #if !defined(AFX_ZOOMCONTROL_H__BC193230_D2D6_4240_93AE_28C2EF2C641A__INCLUDED_) |
rlm@1 | 2 #define AFX_ZOOMCONTROL_H__BC193230_D2D6_4240_93AE_28C2EF2C641A__INCLUDED_ |
rlm@1 | 3 |
rlm@1 | 4 #if _MSC_VER > 1000 |
rlm@1 | 5 #pragma once |
rlm@1 | 6 #endif // _MSC_VER > 1000 |
rlm@1 | 7 // ZoomControl.h : header file |
rlm@1 | 8 // |
rlm@1 | 9 #ifndef WM_COLINFO |
rlm@1 | 10 #define WM_COLINFO WM_APP+100 |
rlm@1 | 11 #endif |
rlm@1 | 12 |
rlm@1 | 13 ///////////////////////////////////////////////////////////////////////////// |
rlm@1 | 14 // ZoomControl window |
rlm@1 | 15 |
rlm@1 | 16 class ZoomControl : public CWnd |
rlm@1 | 17 { |
rlm@1 | 18 // Construction |
rlm@1 | 19 public: |
rlm@1 | 20 ZoomControl(); |
rlm@1 | 21 |
rlm@1 | 22 // Attributes |
rlm@1 | 23 public: |
rlm@1 | 24 // Operations |
rlm@1 | 25 public: |
rlm@1 | 26 // Overrides |
rlm@1 | 27 // ClassWizard generated virtual function overrides |
rlm@1 | 28 //{{AFX_VIRTUAL(ZoomControl) |
rlm@1 | 29 //}}AFX_VIRTUAL |
rlm@1 | 30 |
rlm@1 | 31 // Implementation |
rlm@1 | 32 public: |
rlm@1 | 33 void setColors(const u8 *c); |
rlm@1 | 34 static bool isRegistered; |
rlm@1 | 35 virtual ~ZoomControl(); |
rlm@1 | 36 |
rlm@1 | 37 // Generated message map functions |
rlm@1 | 38 protected: |
rlm@1 | 39 //{{AFX_MSG(ZoomControl) |
rlm@1 | 40 afx_msg void OnPaint(); |
rlm@1 | 41 afx_msg void OnLButtonDown(UINT nFlags, CPoint point); |
rlm@1 | 42 afx_msg BOOL OnEraseBkgnd(CDC*pDC); |
rlm@1 | 43 //}}AFX_MSG |
rlm@1 | 44 DECLARE_MESSAGE_MAP() |
rlm@1 | 45 private: |
rlm@1 | 46 int selected; |
rlm@1 | 47 u8 colors[3*64]; |
rlm@1 | 48 void registerClass(); |
rlm@1 | 49 }; |
rlm@1 | 50 |
rlm@1 | 51 ///////////////////////////////////////////////////////////////////////////// |
rlm@1 | 52 |
rlm@1 | 53 //{{AFX_INSERT_LOCATION}} |
rlm@1 | 54 // Microsoft Visual C++ will insert additional declarations immediately before the previous line. |
rlm@1 | 55 |
rlm@1 | 56 #endif // !defined(AFX_ZOOMCONTROL_H__BC193230_D2D6_4240_93AE_28C2EF2C641A__INCLUDED_) |