home *** CD-ROM | disk | FTP | other *** search
/ Game Programming in C++ - Start to Finish / GameProgrammingS.iso / developer_install / ReplicaNetFreewareV5_4.exe / data1.cab / Program_Executable_Files / Example5 / font.h < prev    next >
Encoding:
C/C++ Source or Header  |  2005-10-30  |  1.8 KB  |  59 lines

  1. /* START_LICENSE_HEADER
  2.  
  3. Copyright (C) 2000 Martin Piper, original design and program code
  4. Copyright (C) 2001-2005 Replica Software
  5.  
  6. This program file is copyright (C) Replica Software and can only be used under license.
  7. For more information visit: http://www.replicanet.com/
  8. Or email: info@replicanet.com
  9.  
  10. END_LICENSE_HEADER */
  11. #if !defined(AFX_FONT_H__F2CC9237_91AE_4080_B9CC_D76D0D7127A0__INCLUDED_)
  12. #define AFX_FONT_H__F2CC9237_91AE_4080_B9CC_D76D0D7127A0__INCLUDED_
  13.  
  14. #if _MSC_VER > 1000
  15. #pragma once
  16. #endif // _MSC_VER > 1000
  17. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  18.  
  19. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  20. //  Microsoft Visual C++, your modifications will be overwritten.
  21.  
  22. /////////////////////////////////////////////////////////////////////////////
  23. // COleFont wrapper class
  24.  
  25. class COleFont : public COleDispatchDriver
  26. {
  27. public:
  28.     COleFont() {}        // Calls COleDispatchDriver default constructor
  29.     COleFont(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  30.     COleFont(const COleFont& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  31.  
  32. // Attributes
  33. public:
  34.     CString GetName();
  35.     void SetName(LPCTSTR);
  36.     CY GetSize();
  37.     void SetSize(const CY&);
  38.     BOOL GetBold();
  39.     void SetBold(BOOL);
  40.     BOOL GetItalic();
  41.     void SetItalic(BOOL);
  42.     BOOL GetUnderline();
  43.     void SetUnderline(BOOL);
  44.     BOOL GetStrikethrough();
  45.     void SetStrikethrough(BOOL);
  46.     short GetWeight();
  47.     void SetWeight(short);
  48.     short GetCharset();
  49.     void SetCharset(short);
  50.  
  51. // Operations
  52. public:
  53. };
  54.  
  55. //{{AFX_INSERT_LOCATION}}
  56. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  57.  
  58. #endif // !defined(AFX_FONT_H__F2CC9237_91AE_4080_B9CC_D76D0D7127A0__INCLUDED_)
  59.