cursor.h

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

H
47
字号
/////////////////////////////////////////////////////////////////////////////// Name:        cursor.h// Purpose:// Author:      Vaclav Slavik// Id:          $Id: cursor.h,v 1.12 2006/10/30 19:26:27 VZ Exp $// Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)// Licence:     wxWindows licence/////////////////////////////////////////////////////////////////////////////#ifndef __WX_CURSOR_H__#define __WX_CURSOR_H__#include "wx/defs.h"#include "wx/object.h"#include "wx/gdicmn.h"class MGLCursor;//-----------------------------------------------------------------------------// wxCursor//-----------------------------------------------------------------------------class WXDLLEXPORT wxCursor: public wxObject{public:    wxCursor();    wxCursor(int cursorId);    wxCursor(const char bits[], int width, int  height,              int hotSpotX=-1, int hotSpotY=-1,              const char maskBits[]=0, wxColour *fg=0, wxColour *bg=0);    wxCursor(const wxString& name,             long flags = wxBITMAP_TYPE_CUR_RESOURCE,             int hotSpotX = 0, int hotSpotY = 0);    virtual ~wxCursor();    bool Ok() const { return IsOk(); }    bool IsOk() const;    // implementation    MGLCursor *GetMGLCursor() const;private:    DECLARE_DYNAMIC_CLASS(wxCursor)};#endif // __WX_CURSOR_H__

⌨️ 快捷键说明

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