uitoolkit.h
来自「这是VCF框架的代码」· C头文件 代码 · 共 1,066 行 · 第 1/3 页
H
1,066 行
and return true, or it should return false, indicating that the control didn't have any context help to display. */ virtual bool internal_displayContextHelpForControl( Control* control, const String& helpBookName, const String& helpDirectory ) = 0; virtual void internal_systemSettingsChanged() = 0; virtual void internal_handleKeyboardEvent( KeyboardEvent* event ); virtual VirtualKeyCode internal_findMnemonic( const String& caption ); const Image* internal_getStandardStopImage(); const Image* internal_getStandardWarningImage(); const Image* internal_getStandardQuestionImage(); const Image* internal_getStandardInformationImage(); void internal_registerComponentInfo( const String& componentUUID, ComponentInfo* info ); void internal_removeComponentInfo( ComponentInfo* info ); void internal_registerAccelerator( AcceleratorKey* accelerator ); void internal_removeAccelerator( const VirtualKeyCode& keyCode, const ulong32& modifierMask, Object* src ); Button* internal_getDefaultButton(); void internal_setDefaultButton( Button* defaultButton ); void internal_removeDefaultButton( Button* defaultButton ); AcceleratorKey* internal_getAccelerator( const VirtualKeyCode& keyCode, const ulong32& modifierMask, Object* src ); void internal_removeAcceleratorKeysForControl( Control* control ); void internal_removeAcceleratorKeysForMenuItem( MenuItem* menuItem ); void internal_removeAcceleratorKeysForObject( Object* src ); bool internal_findMatchingAccelerators( AcceleratorKey* key, std::vector<AcceleratorKey*>& matchingAccelerators ); virtual void internal_idleTime(); ComponentInfo* internal_getComponentInfo( const String& componentUUID ); ComponentInfo* internal_getComponentInfo( Class* componentClass ); UIMetricsManager* internal_getUIMetricsManager() { return metricsMgr_; } UIPolicyManager* internal_getUIPolicyManager() { return policyMgr_; } void internal_addToUpdateList( Component* component ); void internal_removeFromUpdateList( Component* component ); void internal_setUpdateTimerSpeed( const unsigned long& milliseconds ); void onUpdateComponentsTimer( TimerEvent* e ); void handleTabKeyboardEvent( KeyboardEvent* event );};};/***CVS Log info*$Log$*Revision 1.6 2006/04/07 02:35:26 ddiego*initial checkin of merge from 0.6.9 dev branch.**Revision 1.5.2.10 2006/03/28 04:10:17 ddiego*tweaked some function names for the update process.**Revision 1.5.2.9 2006/03/28 04:04:36 ddiego*added a slight adjustment to idle message handling. Component*updating is now handled there instead of a timer.**Revision 1.5.2.8 2006/03/18 22:17:42 ddiego*removed par tag for doxygen comments as its not needed and*screws up the doc formatting.**Revision 1.5.2.7 2006/03/14 02:25:47 ddiego*large amounts of source docs updated.**Revision 1.5.2.6 2006/03/06 03:48:30 ddiego*more docs, plus update add-ins, plus migrated HTML browser code to a new kit called HTMLKit.**Revision 1.5.2.5 2006/03/01 04:34:56 ddiego*fixed tab display to use themes api.**Revision 1.5.2.4 2006/02/23 05:54:23 ddiego*some html help integration fixes and new features. context sensitive help is finished now.**Revision 1.5.2.3 2006/02/21 04:32:51 ddiego*comitting moer changes to theme code, progress bars, sliders and tab pages.**Revision 1.5.2.2 2005/10/07 16:41:21 kiklop74*Added support for building ApplicationKit with Borland Free Compiler**Revision 1.5.2.1 2005/09/07 04:19:54 ddiego*filled in initial code for help support.**Revision 1.5 2005/07/09 23:14:56 ddiego*merging in changes from devmain-0-6-7 branch.**Revision 1.4 2005/01/02 03:04:21 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.3.2.10 2005/06/06 02:34:06 ddiego*menu changes to better support win32 and osx.**Revision 1.3.2.9 2005/06/02 16:17:34 marcelloptr*some more documentation**Revision 1.3.2.8 2005/05/15 23:17:38 ddiego*fixes for better accelerator handling, and various fixes in hwo the text model works.**Revision 1.3.2.7 2005/04/25 00:11:57 ddiego*added more advanced text support. fixed some memory leaks. fixed some other miscellaneous things as well.**Revision 1.3.2.6 2005/04/20 02:26:00 ddiego*fixes for single line text and formatting problems in text window creation.**Revision 1.3.2.5 2005/03/14 04:17:24 ddiego*adds a fix plus better handling of accelerator keys, ands auto menu title for the accelerator key data.**Revision 1.3.2.4 2005/03/06 22:50:59 ddiego*overhaul of RTTI macros. this includes changes to various examples to accommadate the new changes.**Revision 1.3.2.3 2005/01/26 22:43:18 ddiego*added some docs on event handler and post event mechanics.**Revision 1.3.2.2 2004/12/19 07:09:18 ddiego*more modifications to better handle resource bundles, especially*if they are part of a LibraryApplication instance.**Revision 1.3.2.1 2004/12/19 04:04:59 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.3 2004/12/01 04:31:39 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/09/21 23:41:24 ddiego*made some big changes to how the base list, tree, text, table, and tab models are laid out. They are not just plain interfaces. The actual*concrete implementations of them now derive from BOTH Model and the specific*tree, table, etc model interface.*Also made some fixes to the way the text input is handled for a text control.*We now process on a character by character basis and modify the model one*character at a time. Previously we were just using brute force and setting*the whole models text. This is more efficent, though its also more complex.**Revision 1.2.2.2 2004/08/31 04:12:12 ddiego*cleaned up the GraphicsContext class - made more pervasive use*of transformation matrix. Added common print dialog class. Fleshed out*printing example more.**Revision 1.2.2.1 2004/08/18 21:20:24 ddiego*added initial system tray code for win32**Revision 1.2 2004/08/07 02:49:10 ddiego*merged in the devmain-0-6-5 branch to stable**Revision 1.1.2.3 2004/06/06 07:05:31 marcelloptr*changed macros, text reformatting, copyright sections**Revision 1.1.2.2 2004/04/29 03:43:15 marcelloptr*reformatting of source files: macros and csvlog and copyright sections**Revision 1.1.2.1 2004/04/28 00:28:19 ddiego*migration towards new directory structure**Revision 1.37.4.1 2004/04/26 21:58:49 marcelloptr*changes for dir reorganization: _VCF_MACRO_H__**Revision 1.37 2003/12/18 05:15:59 ddiego*merge from devmain-0-6-2 branch into the stable branch**Revision 1.36.2.4 2003/12/08 05:05:28 ddiego*added a bunch more documentation to classes, and added support for new doc*keywords (@delegates, @del, @delegate, @event, and @eventtype). This*makes it easier to see at a glance what events a class fires off.*Added finishing touches for the Action implementation and have a partially*complete example for this checked in.**Revision 1.36.2.3 2003/10/31 05:06:38 ddiego*added toolbar impl**Revision 1.36.2.2 2003/09/21 04:15:35 ddiego*moved the cvs info data to teh bottom of the header instead of the*top so it is easier to get to the actual header class declarations*instead of having to wade through all the cvs info stuff.**Revision 1.36.2.1 2003/09/12 00:09:34 ddiego*added better tabbing behaviour - fixed an earlier bug.*Code is easier to understand and it simplified the implementation*a bit as well*Moved around the RTTI definitions for various Appkit classes to a*single inline and stripped them from the various class headers**Revision 1.36 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.35.2.3 2003/07/24 04:10:43 ddiego*added fixes for the following tasks:*Task #82279 ApplicationKit: add static methods to singleton objects*Task #82277 FoundationKit: add static methods to singleton objects*this required a bunch of changes in terms of getting rid of older style code**Revision 1.35.2.2 2003/07/06 01:20:29 ddiego*added basic Document/View classes. These are based on the existing MVC*architecture already present in the framework already, and exapnd on the*existing functionality. Many of the ideas were influenced by the NeXT/Cocoa's*Document/View architecture. Some of the new features are:* automatic creation and connection of the various parts including the* Document, view and Window.* Automatic default menu items, to ensure standard UI conformance. The menu* items are merged with an existing ones.* Automatic clipboard support in the form of cut/copy/paste and connecting this* directly to the current document* Support for Undo/Redo item as well, including default menu item validation* Default support for opening and saving documents, including presenting the* correct Dialogs to the User, and properly filling the default data, based* on the documents data.* Support for multiple document types* Support for differnt Document Interface policies. Currently we support* SDI (Single Document Interface) and MDI (Multiple Document Interface)**Revision 1.35.2.1 2003/06/30 02:53:16 ddiego*Allow getting the selected filter from a CommonFileDialog*Added a quitCurrentEventLoop to the UIToolkit to allow programatic*termination of a program if there is no main window specified*added a getTag method to the Item class**Revision 1.35 2003/05/17 20:37:17 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.34.2.2 2003/03/23 03:23:53 marcelloptr*3 empty lines at the end of the files**Revision 1.34.2.1 2003/03/12 03:11:52 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.34 2003/02/26 04:30:44 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.33.2.2 2003/01/08 00:19:48 marcelloptr*mispellings and newlines at the end of all source files**Revision 1.33.2.1 2002/12/27 23:04:44 marcelloptr*Improved macros for automatic import/export of libraries. - Warning fixes. - Other Minor Changes.**Revision 1.33 2002/11/18 00:46:08 ddiego*this is the merge over of all the bug fixes and features (mostly*VCF Builder stuff) from the devmain-0-5-8 branch**Revision 1.32.4.1 2002/09/27 23:38:35 ddiego*added support for geting various layout information*added support for drawing various graphics UI primitives like scroll buttons*tabs, tab pages, etc, partially to have this support in place for use*in MacOSX.*Also added scrolling buttons to TabbedPages, this fixes task 56652 in the*ApplicationKit list**Revision 1.32 2002/09/12 03:26:05 ddiego*merged over the changes from the devmain-0-5-5b branch**Revision 1.31.6.2 2002/07/02 05:35:11 marcelloptr*fixes for vc6, vc7, separated builds, automatic library selection, stlport**Revision 1.31.6.1 2002/06/28 17:45:30 ddiego*migrated over lucki's changes (from his branch) for drag drop*compiles OK, made chages to control and UIToolkit as neccessary*still testing though.**Revision 1.31 2002/05/09 03:10:43 ddiego*merged over code from development branch devmain-0-5-1a into the main CVS trunk**Revision 1.30.4.1 2002/04/27 15:52:21 ddiego*Changed a bunch of files include and made it a bit faster and added better include*guards in the common headers**Revision 1.30 2002/02/20 04:07:59 ddiego*consolidated event handling code a bit*introduced a virtual handleEvent() method to Component*clean up some of the event constants, so they are now localized in the*appropriate control classes.**Revision 1.29 2002/02/07 04:38:55 ddiego*fixes to Win32Edit, which include problems with setting text, and a bug that*caused it to crash in Win 98. All textControls now default to the "EDIT"*window class unles they are multiline, in which case an attempt is made to*load the richedit control, and if that fails then the EDIT class is used*Removed responding to WM_COMMAND messages*in the default parent in the Win32Toolkit, also to fix the Win32Edit crash in 9.x**Revision 1.28 2002/01/26 15:11:09 ddiego*Default button now working**Revision 1.27 2002/01/24 01:46:49 ddiego*added a cvs "log" comment to the top of all files in vcf/src and vcf/include*to facilitate change tracking**/#endif // _VCF_UITOOLKIT_H__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?