x11controlcontext.cpp

来自「这是VCF框架的代码」· C++ 代码 · 共 96 行

CPP
96
字号
//X11ControlContext.cpp/*Copyright 2000-2004 The VCF Project.Please see License.txt in the top level directorywhere you installed the VCF.*/#include "vcf/ApplicationKit/ApplicationKit.h"#include "vcf/ApplicationKit/ApplicationKitPrivate.h"#include "vcf/ApplicationKit/X11Control.h"#include "vcf/ApplicationKit/X11ControlContext.h"using namespace VCF;X11ControlContext::X11ControlContext( ControlPeer* controlPeer ){	X11Context::init();}X11ControlContext::~X11ControlContext(){}void X11ControlContext::setContext( GraphicsContext* context ){	X11Context::setContext ( context );	owningControlCtx_  = (ControlGraphicsContext*)( context );}Control* X11ControlContext::getOwningControl(){	Control* result = NULL;	if ( NULL != owningControlCtx_ ){		result = owningControlCtx_->getOwningControl();	}	return result;}void X11ControlContext::checkHandle(){	X11Context::checkHandle();}void X11ControlContext::releaseHandle(){	X11Context::releaseHandle();}/***CVS Log info*$Log$*Revision 1.2  2004/08/07 02:49:11  ddiego*merged in the devmain-0-6-5 branch to stable**Revision 1.1.2.2  2004/04/29 03:43:16  marcelloptr*reformatting of source files: macros and csvlog and copyright sections**Revision 1.1.2.1  2004/04/28 00:28:21  ddiego*migration towards new directory structure**Revision 1.3  2003/05/17 20:37:40  ddiego*this is the checkin for the 0.6.1 release - represents the merge over from*the devmain-0-6-0 branch plus a few minor bug fixes**Revision 1.2.2.1  2003/03/12 03:12:45  ddiego*switched all member variable that used the "m_"<name> prefix to* <name>"_" suffix nameing standard.*Also changed all vcf builder files to accomadate this.*Changes were made to the Stream classes to NOT multiple inheritance and to*be a little more correct. Changes include breaking the FileStream into two*distinct classes, one for input and one for output.**Revision 1.2  2003/02/26 04:30:52  ddiego*merge of code in the devmain-0-5-9 branch into the current tree.*most additions are in the area of the current linux port, but the major*addition to this release is the addition of a Condition class (currently*still under development) and the change over to using the Delegate class*exclusively from the older event handler macros.**Revision 1.1.2.1  2002/12/30 03:59:25  ddiego*more X11 porting code. Now have X11UIToolkit::runEventLoop partially implemented*Can create and paint in a Window object! Woo hoo!*Color class is crurently broken on linux, will fix pronto*Auto generated C++ implementation for class X11ControlContext*/

⌨️ 快捷键说明

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