1 // -*- C++ -*- 2 // VisualBoyAdvance - Nintendo Gameboy/GameboyAdvance (TM) emulator. 3 // Copyright (C) 1999-2003 Forgotten 4 // Copyright (C) 2004 Forgotten and the VBA development team 5 6 // This program is free software; you can redistribute it and/or modify 7 // it under the terms of the GNU General Public License as published by 8 // the Free Software Foundation; either version 2, or(at your option) 9 // any later version. 10 // 11 // This program is distributed in the hope that it will be useful, 12 // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 // GNU General Public License for more details. 15 // 16 // You should have received a copy of the GNU General Public License 17 // along with this program; if not, write to the Free Software Foundation, 18 // Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 20 #if !defined(AFX_HYPERLINK_H__BECEAB7D_31FB_4727_A42B_8732162EEBCC__INCLUDED_) 21 #define AFX_HYPERLINK_H__BECEAB7D_31FB_4727_A42B_8732162EEBCC__INCLUDED_ 22 23 #if _MSC_VER > 1000 24 #pragma once 25 #endif // _MSC_VER > 1000 26 // Hyperlink.h : header file 27 // 28 29 ///////////////////////////////////////////////////////////////////////////// 30 // Hyperlink window 31 32 class Hyperlink : public CStatic 33 { 34 // Construction 35 public: 36 Hyperlink(); 37 38 // Attributes 39 public: 40 41 // Operations 42 public: 43 44 // Overrides 45 // ClassWizard generated virtual function overrides 46 //{{AFX_VIRTUAL(Hyperlink) 47 protected: 48 virtual void PreSubclassWindow(); 49 //}}AFX_VIRTUAL 50 51 // Implementation 52 public: 53 bool m_over; 54 HCURSOR m_cursor; 55 afx_msg void OnClicked(); 56 CFont m_underlineFont; 57 virtual ~Hyperlink(); 58 59 // Generated message map functions 60 protected: 61 //{{AFX_MSG(Hyperlink) 62 afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor); 63 afx_msg BOOL OnEraseBkgnd(CDC* pDC); 64 afx_msg void OnMouseMove(UINT nFlags, CPoint point); 65 //}}AFX_MSG 66 67 DECLARE_MESSAGE_MAP() 68 }; 69 70 ///////////////////////////////////////////////////////////////////////////// 71 72 //{{AFX_INSERT_LOCATION}} 73 // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 74 75 #endif // !defined(AFX_HYPERLINK_H__BECEAB7D_31FB_4727_A42B_8732162EEBCC__INCLUDED_) 76