contextpeer.h

来自「这是VCF框架的代码」· C头文件 代码 · 共 497 行 · 第 1/2 页

H
497
字号
	with the native windowing systems default look and feel	*/	virtual void drawThemeSlider( Rect* rect, SliderState& state ) = 0;	/**	Draws a progress bar control, that is compliant	with the native windowing systems default look and feel	*/	virtual void drawThemeProgress( Rect* rect, ProgressState& state ) = 0;	virtual void drawThemeImage( Rect* rect, Image* image, DrawUIState& state ) = 0;	/**	Draws a header control that is compliant	with the native windowing systems default look and feel	*/	virtual void drawThemeHeader( Rect* rect, ButtonState& state ) = 0;	/**	draws edges, useful for separators, that is compliant	with the native windowing systems default look and feel.	use a mask or 1 or more values of type ContextPeer::EdgeType	to indicate which sides of the rect to draw an edge on	*/	virtual void drawThemeEdge( Rect* rect, DrawUIState& state, const long& edgeSides, const long& edgeStyle ) = 0;	/**	Draws a size gripper for resizing a control/window that is compliant	with the native windowing systems default look and feel	*/	virtual void drawThemeSizeGripper( Rect* rect, DrawUIState& state ) = 0;	/**	Draws a them compliant background	*/	virtual void drawThemeBackground( Rect* rect, BackgroundState& state ) = 0;	/**	Draws the background appropriate for a menu item that is compliant	with the native windowing systems default look and feel.	This is typically called first by a menu item to give it a standard	look and feel in it's background before drawing any thing else	*/	virtual void drawThemeMenuItem( Rect* rect, MenuState& state ) = 0;	virtual void drawThemeMenuItemText( Rect* rect, MenuState& state ) = 0;	virtual void drawThemeText( Rect* rect, TextState& state ) = 0;};};/***CVS Log info*$Log$*Revision 1.7  2006/04/07 02:35:41  ddiego*initial checkin of merge from 0.6.9 dev branch.**Revision 1.6.2.3  2006/03/12 22:42:07  ddiego*more doc updates - specific to graphicskit.**Revision 1.6.2.2  2006/03/01 04:34:57  ddiego*fixed tab display to use themes api.**Revision 1.6.2.1  2006/02/21 04:32:51  ddiego*comitting moer changes to theme code, progress bars, sliders and tab pages.**Revision 1.6  2005/07/09 23:05:58  ddiego*added missing gtk files**Revision 1.5  2005/01/02 03:04:24  ddiego*merged over some of the changes from the dev branch because they're important resoource loading bug fixes. Also fixes a few other bugs as well.**Revision 1.4.2.3  2005/06/26 01:27:53  marcelloptr*added images to a PushButton**Revision 1.4.2.2  2005/03/14 04:17:26  ddiego*adds a fix plus better handling of accelerator keys, ands auto menu title for the accelerator key data.**Revision 1.4.2.1  2004/12/19 04:05:02  ddiego*made modifications to methods that return a handle type. Introduced*a new typedef for handles, that is a pointer, as opposed to a 32bit int,*which was causing a problem for 64bit compiles.**Revision 1.4  2004/12/01 04:31:42  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.2.2.3  2004/11/07 19:32:20  marcelloptr*more documentation**Revision 1.2.2.2  2004/10/27 03:12:18  ddiego*integrated chrisk changes**Revision 1.2.2.1  2004/08/19 03:22:54  ddiego*updates so new system tray code compiles**Revision 1.3  2004/08/13 18:43:07  ddiego*fixed missing roundrect functionality, and incorrect value in vc70/71 projects**Revision 1.2  2004/08/07 02:49:17  ddiego*merged in the devmain-0-6-5 branch to stable**Revision 1.1.2.3  2004/07/09 03:39:30  ddiego*merged in changes from the OSX branch for new theming API. Added*support for controlling the use of locale translated strings in components.**Revision 1.1.2.2.2.4  2004/06/27 18:19:16  ddiego*more osx updates**Revision 1.1.2.2.2.3  2004/06/20 00:36:11  ddiego*finished the new theme API updates**Revision 1.1.2.2.2.2  2004/06/16 05:18:56  ddiego*further updates to OSX theme compliant drawing code**Revision 1.1.2.2.2.1  2004/06/15 04:04:38  ddiego*revamped osx theme drawing API**Revision 1.1.2.2  2004/04/29 04:10:26  marcelloptr*reformatting of source files: macros and csvlog and copyright sections**Revision 1.1.2.1  2004/04/28 03:40:31  ddiego*migration towards new directory structure**Revision 1.6.4.1  2004/04/26 21:58:41  marcelloptr*changes for dir reorganization: _VCF_MACRO_H__**Revision 1.6  2003/12/18 05:15:58  ddiego*merge from devmain-0-6-2 branch into the stable branch**Revision 1.5.2.1  2003/10/28 04:06:11  ddiego*updated the GraphicsContext and ContextPeer classes to support*slider control drawing. adjusted the Slider control accordingly.*Also changed some of the GraphicsKit headers to conform to the*current header style.**Revision 1.5  2003/08/09 02:56:44  ddiego*merge over from the devmain-0-6-1 branch*Changes*Features:*-Added additional implementation to better support the MVC architecture in*the VCF**-Added a Document/View architecure that is similar to MFC's or NextSteps's*Doc/View architectures**-Integrated the Anti Grain Graphics library into the GraphicsKit. There is*now basic support for it in terms of drawing vector shapes*(fills and strokes). Image support will come in the next release**-Added several documented graphics tutorials**Bugfixes:**[ 775744 ] wrong buttons on a dialog*[ 585239 ] Painting weirdness in a modal dialog ?*[ 585238 ] Modal dialog which makes a modal Dialog*[ 509004 ] Opening a modal Dialog causes flicker*[ 524878 ] onDropped not called for MLTcontrol**Plus an issue with some focus and getting the right popup window to activate*has also been fixed**Revision 1.4.2.2  2003/06/16 03:09:39  ddiego*beginning to add support for AGG into the VCF GraphicsKit*added some missing files*added some changes to the new version of xmake**Revision 1.4.2.1  2003/06/05 03:48:53  ddiego*added a way to get part of a graphics context into an image - no*implementation yet.**Revision 1.4  2003/05/17 20:37:11  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.3.2.3  2003/05/13 03:57:13  ddiego*cleaned up the GraphicsKit, got rid of some old crap files, cleaned*up the ContextPeer so that tehre are fewer methods to implement, and*moved the repetitive fillPath and strokePath code that was copied into*all the context peers back into the GraphicsContext where it belongs**Revision 1.3.2.2  2003/04/17 04:29:47  ddiego*updated scintilla, added gtk support for the application kit, with stubs*for the basic peers.**Revision 1.3.2.1  2003/03/23 03:23:49  marcelloptr*3 empty lines at the end of the files**Revision 1.3  2003/02/26 04:30:40  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.2.2.4  2003/02/20 02:46:01  ddiego*added in the base files for supporting a GTK peer implementation. Core parts*of the GTKContext work (basic line primitives), and working on the GTKImage*class.**Revision 1.2.2.3  2003/01/08 00:19:45  marcelloptr*mispellings and newlines at the end of all source files**Revision 1.2.2.2  2002/12/31 07:02:16  ddiego*trying to track issues with parenting in X. Made some fixes in the Color class*and the ContextPeer class to work in gcc/X**Revision 1.2.2.1  2002/12/28 21:51:18  marcelloptr*Fixes and improvements for WM_COPYDATA, Point, Rect, Size, GraphicsContext and StringUtils**Revision 1.2  2002/11/17 18:13:26  ddiego*added the "new" ContextPeer.h back into cvs**Revision 1.1.4.3  2002/10/04 05:02:54  ddiego*added beggining support for add new classes. Basic GUI is now in place.*Also preliminary support for class templates and class wizards*some documentation done on the format for the XML based class template**Revision 1.1.4.2  2002/09/27 23:31:19  ddiego**** empty log message *****Revision 1.1.4.1  2002/09/27 00:44:54  ddiego*added the renamed ContextPeer.h file back to CVS**Revision 1.12  2002/05/09 03:10:43  ddiego*merged over code from development branch devmain-0-5-1a into the main CVS trunk**Revision 1.11.4.1  2002/04/27 15:52:18  ddiego*Changed a bunch of files include and made it a bit faster and added better include*guards in the common headers**Revision 1.11  2002/01/24 01:46:48  ddiego*added a cvs "log" comment to the top of all files in vcf/src and vcf/include*to facilitate change tracking**/#endif // _VCF_CONTEXTPEER_H__

⌨️ 快捷键说明

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