Gaclib 0.9.0.0
Gaclib 0.9.0.0
GPU Accelerated C++ User Interface/Script Engine (Apache License 2.0 with extra conditions)
Website for this project: http://www.gaclib.net/
This repository contains the latest release for the GacUI project, including packed library source codes, development tools, demos and documents. Complete source code can be accessed in https://github.com/vczh-libraries .
Here is a simple description to the code
- Import Gaclib source code
- Tools
- GacGen.exe GacUI resource compiler and C++ code generator
- ParserGen.exe General LR parser to C++ code generator
- Tutorial Sample code
- Lib Static library projects for all tutorials
- GacUI_HelloWorlds Different ways to create a GacUI hello world project
- GacUI_Layout Demo how to use GacUI layout
- GacUI_Controls Demo how to use GacUI controls
- GacUI_ControlTemplate Demo how to create control templates (skin) for GacUI controls
- GacUI_Xml Demo how to author GacUI XML resource file
- Improvements
- USING XML DOES NOT REQUIRE REFLECTION ANYMORE!:
- Reduces 90% executable size
- Generate the whole Xml to C++ instead of just some wrappers which run byte code in the binary resource
env.ItemType
is required if you want to use bindable list controls (see Controls/AddressBook tutorial for details)- The format of
GacGenConfig
in the Xml resource file is changed, see tutorials for details. - This version of GacGen.exe is not compatible with the last one. If you want to upgrade, you should save all your code first, and then run GacGen.exe, and then carefully move your manual written code. Now in the generated code (if you don't say
ref.CodeBehind="false"
), you are only allowed to add code in event handler functions. For any other code, you should write them in your own files, and correctly set the NormalInclude inGacGenConfig
.
- USING XML DOES NOT REQUIRE REFLECTION ANYMORE!: