mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-21 12:40:34 +00:00
Changes: * Move FreehandAlgorithm/InkType/RotationAlgorithm/SelectionMode to app::tools namespace * Removed ISettings, IToolSettings, IBrushSettings, ISelectionSettings, and IColorSwatchesStore (and implementations from UISettingsImpl) * Added app::tools::PreferenceGlue to do some adjustments that UIToolSettingsImpl was doing * Remove signals from App related to brush size/angle changes, and current tool change (there events can be observed directly from Preferences) * Remove ColorBar::FgColor/BgColor, these options can be observed from Preferences::colorBar.fg/bgColor
Aseprite Code Generator
Copyright (C) 2014 David Capello
Distributed under MIT license
This utility generates source code from XML files. Its aim is to convert XML files (dynamic data) to C++ files (static structures) that can be checked in compile-time. There are three areas of interest:
- To create
ui::Widget
s subclasses from data/widgets/*.xml files. In this way we can create wrappers that can access to each XML file directly in a easier way (e.g. one member for each widget with anid
parameter on it). - To create configuration wrappers from a special
config-metadata.xml
file (so we can replaceget/set_config_int/bool/string()
function calls). There is an ongoingcfg
module to replace the whole reading/writing operations of user's settings/preferences. - To create a wrapper class for theme data access. From data/skins/default/ we can create a C++ class with a member function to access each theme slice, color, style, etc.