Changes between Version 1 and Version 2 of documentation/C++Manual/Packages
- Timestamp:
- 09/22/10 06:30:08 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
documentation/C++Manual/Packages
v1 v2 2 2 = Packages = 3 3 4 Rocket ships with five libraries, two of which are open-sourced. 5 6 == EMPCore == 7 8 EMPCore is the types and utility library that Rocket relies on. It has definitions for 2-, 3- and 4-dimensional vectors, colours and types for single- and double-byte variables. It also has a stream API, a simple XML parser and a logging system, and the data source types that are used in the datagrid elements in RocketControls. 9 10 EMPCore lies within the EMP::Core namespace. The types you will most often run into while using Rocket are the two-dimensional vector types (EMP::Core::Vector2i for signed integer types, EMP::Core::Vector2f for floating-point), the two-byte unsigned integer type (EMP::Core::word) and the one-byte unsigned integer type (EMP::Core::byte). 4 Rocket ships with four libraries, all with full source code. 11 5 12 6 == RocketCore == 13 7 14 RocketCore is the main Rocket library. It contains the basic element hierarchy, the style sheet and property system, the layout engine and the RML parser.8 RocketCore is the main Rocket library. It contains all the basic types, the basic element hierarchy, the style sheet and property system, the layout engine and the RML parser. RocketCore is all you need to display content from C++. 15 9 16 10 To use RocketCore, include <Rocket/Core.h> in your application and link with RocketCore or RocketCore_d. 18 12 == RocketControls == 19 13 20 RocketControls is an open-sourced library for Rocket whichcontains custom elements for form controls (radio buttons, range sliders, etc), data tables and tabbed windows. You are free to use the plugin as-is in your application, or use the elements as a starting point for more specialised controls in your application.14 RocketControls contains custom elements for form controls (radio buttons, range sliders, etc), data tables and tabbed windows. You are free to use the plugin as-is in your application, or use the elements as a starting point for more specialised controls in your application. 21 15 22 16 This package is a great place to look at for examples of creating new elements and writing custom XML parsing. 23 17 24 To use RocketControls, include <Rocket/Controls.h> in your application and link with RocketControls or RocketControls_d. The source code can be found in src/Rocket/Controls/, and a VC8 project file and SConstruct file in src/Rocket/Controls/build/.18 To use RocketControls, include <Rocket/Controls.h> in your application and link with RocketControls or RocketControls_d. 25 19 26 20 This package also contains all the required code to expose the controls to Python if you are using Rocket with RocketPython. 28 22 == RocketDebugger == 29 23 30 RocketDebugger is a n open-sourced Rocket plugin. It is a visual debugger for Rocket elements, inspired by similar debuggers for Firefox. We strongly recommend you use this in your application during development! As the project is open-sourced, you are free to modify and extend the debugger to suit the debugging needs of your application.24 RocketDebugger is a visual debugger for Rocket elements, inspired by similar debuggers for Firefox. We strongly recommend you use this in your application during development! 31 25 32 To use RocketDebugger, include <Rocket/Debugger.h> in your application and link with RocketDebugger or RocketDebugger_d. The source code and can found in src/Rocket/Debugger/, and a VC8 project file and SConstruct file in src/Rocket/Debugger/build/.26 To use RocketDebugger, include <Rocket/Debugger.h> in your application and link with RocketDebugger or RocketDebugger_d. 33 27 34 28 == RocketPython == 35 29 36 RocketPython provides Python language bindings to RocketCore via a Python extension module. RocketPython requires a small additional license fee, but will greatly improve programmer productivity.30 RocketPython provides Python language bindings to RocketCore via a Python extension module. RocketPython greatly improves programmer productivity, via the power of scripting. It's what JavaScript is to the Web.