osxbutton.h
来自「这是VCF框架的代码」· C头文件 代码 · 共 70 行
H
70 行
#ifndef _VCF_OSXBUTTON_H__#define _VCF_OSXBUTTON_H__#ifndef _VCF_DRAWUISTATE_H__# include "vcf/GraphicsKit/DrawUIState.h"#endif // _VCF_DRAWUISTATE_H__#ifndef _VCF_BUTTONPEER_H__# include "vcf/ApplicationKit/ButtonPeer.h"#endif // _VCF_BUTTONPEER_H__/*Copyright 2000-2004 The VCF Project.Please see License.txt in the top level directorywhere you installed the VCF.*/namespace VCF {class CommandButton;class OSXButton : public OSXControl, public ButtonPeer {public: OSXButton( CommandButton* control ); virtual ~OSXButton(); virtual Image* getImage(); virtual void setImage( Image* image ); virtual ButtonState getState(); virtual void create( Control* owningControl ); virtual String getText(); virtual void setText( const String& text ); protected: virtual OSStatus handleOSXEvent( EventHandlerCallRef nextHandler, EventRef theEvent ); ButtonState state_; CommandButton* commandButton_;};};/***CVS Log info*$Log$*Revision 1.2 2004/12/01 04:31:21 ddiego*merged over devmain-0-6-6 code. Marcello did a kick ass job*of fixing a nasty bug (1074768VCF application slows down modal dialogs.)*that he found. Many, many thanks for this Marcello.**Revision 1.1.2.1 2004/10/18 03:10:30 ddiego*osx updates - add initial command button support, fixed rpoblem in mouse handling, and added dialog support.**/#endif //_VCF_OSXBUTTON_H__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?