⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dcclient.h

📁 很牛的GUI源码wxWidgets-2.8.0.zip 可在多种平台下运行.
💻 H
字号:
/////////////////////////////////////////////////////////////////////////////// Name:        dcclient.h// Purpose:     wxClientDC, wxPaintDC and wxWindowDC classes// Author:      Stefan Csomor// Modified by:// Created:     1998-01-01// RCS-ID:      $Id: dcclient.h,v 1.11 2006/10/29 19:43:25 SC Exp $// Copyright:   (c) Stefan Csomor// Licence:     wxWindows licence/////////////////////////////////////////////////////////////////////////////#ifndef _WX_DCCLIENT_H_#define _WX_DCCLIENT_H_#include "wx/dc.h"//-----------------------------------------------------------------------------// classes//-----------------------------------------------------------------------------class WXDLLEXPORT wxPaintDC;class WXDLLEXPORT wxWindow;class WXDLLEXPORT wxWindowDC: public wxDC{  DECLARE_DYNAMIC_CLASS(wxWindowDC) public:  wxWindowDC(void);  // Create a DC corresponding to a canvas  wxWindowDC(wxWindow *win);  virtual ~wxWindowDC(void);  wxWindow *GetWindow() const { return m_window; }  protected :    virtual void DoGetSize( int *width, int *height ) const;    virtual wxBitmap DoGetAsBitmap(const wxRect *subrect) const;     wxWindow     *m_window;#if wxMAC_USE_CORE_GRAPHICS	bool		m_release;	int			m_width;	int			m_height;#endif};class WXDLLEXPORT wxClientDC: public wxWindowDC{  DECLARE_DYNAMIC_CLASS(wxClientDC) public:  wxClientDC(void);  // Create a DC corresponding to a canvas  wxClientDC(wxWindow *win);  virtual ~wxClientDC(void);protected:#if !wxMAC_USE_CORE_GRAPHICS  virtual void DoGetSize( int *width, int *height ) const;#endif};class WXDLLEXPORT wxPaintDC: public wxWindowDC{  DECLARE_DYNAMIC_CLASS(wxPaintDC) public:  wxPaintDC(void);  // Create a DC corresponding to a canvas  wxPaintDC(wxWindow *win);  virtual ~wxPaintDC(void);protected:#if !wxMAC_USE_CORE_GRAPHICS  virtual void DoGetSize( int *width, int *height ) const;#endif};#endif    // _WX_DCCLIENT_H_

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -