bmpshape.h

来自「很牛的GUI源码wxWidgets-2.8.0.zip 可在多种平台下运行.」· C头文件 代码 · 共 49 行

H
49
字号
/////////////////////////////////////////////////////////////////////////////// Name:        bmpshape.h// Purpose:     wxBitmapShape// Author:      Julian Smart// Modified by:// Created:     12/07/98// RCS-ID:      $Id: bmpshape.h,v 1.6 2005/09/23 12:47:08 MR Exp $// Copyright:   (c) Julian Smart// Licence:     wxWindows licence/////////////////////////////////////////////////////////////////////////////#ifndef _OGL_BITMAP_H_#define _OGL_BITMAP_H_class WXDLLIMPEXP_OGL wxBitmapShape: public wxRectangleShape{ DECLARE_DYNAMIC_CLASS(wxBitmapShape) public:  wxBitmapShape();  ~wxBitmapShape();  void OnDraw(wxDC& dc);#if wxUSE_PROLOGIO  // I/O  void WriteAttributes(wxExpr *clause);  void ReadAttributes(wxExpr *clause);#endif  // Does the copying for this object  void Copy(wxShape& copy);  void SetSize(double w, double h, bool recursive = true);  inline wxBitmap& GetBitmap() const { return (wxBitmap&) m_bitmap; }  void SetBitmap(const wxBitmap& bm);  inline void SetFilename(const wxString& f) { m_filename = f; };  inline wxString GetFilename() const { return m_filename; }private:  wxBitmap      m_bitmap;  wxString      m_filename;};#endif  // _OGL_BITMAP_H_

⌨️ 快捷键说明

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