# Gaclib 0.8.1.0
Gaclib 0.8.1.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
- BREAKING CHANGES: Now normal structs and enums are not serializable.
- Struct (serialization):
- Old: Font="fontFamilies:{Segoe UI}"
- New: Font="fontFamilies:'Segoe UI'"
- Struct (syntax):
- Old: Font-bind="fontFamilies:$(myFont) size:$(mySizeAsString)"
- New: Font-bind="{fontFamilies:myFont size:(cast int mySizeAsString)} of FontProperties"
- Enum (serialization): No change in XML resource, but the mechanism is updated.
- Enum (syntax):
- Old:
cast (Button::ControlState) "Pressed"
- New:
Button::ControlState::Pressed
- Old:
- Struct (serialization):
- BREAKING CHANGES: Now normal structs and enums are not serializable.