Repository navigation
Brisk v0.9.1 (alpha)
See https://docs.brisklib.com/ for the documentation.
Key Features and Updates
Modular Components
-
Core Module:
- String Manipulation: UTF support for versatile string handling.
- Data Compression & Cryptography: Basic cryptographic functions and data compression support.
- Reflection and Serialization: Reflection support for runtime type inspection and JSON serialization.
- App-Global Settings & Threading: Manages global settings and threading with multi-thread-safe bindings.
-
Graphics Module:
- Color & Geometry Support: Native color spaces and geometry types for UI element positioning and transformations.
- SVG Rasterization & Image Processing: SVG rendering and basic image manipulation functions.
- Font Handling: Advanced text shaping using HarfBuzz and support for font caching, improving rendering speed.
-
Window Module:
- Clipboard & Native Dialogs: OS-level clipboard access and support for native file dialogs.
- Display Information: Access to monitor/display information for responsive design.
-
GUI Module:
- CSS-Like Flex Layout & Styling: Flexbox-inspired layout engine with support for stylesheets, enabling CSS-style inheritance of properties.
- Drag-and-Drop: Drag-and-drop support for interactivity.
- Binding Support: Supports data binding with transform functions for enhanced reactivity.
-
Widgets Module:
- UI Components: Initial set of widgets includes buttons, sliders, text editors, lists, toggles, combo boxes, progress bars, and more.
- Layouts: CSS flex-style layout support for responsive designs.
- Text Editor: LTR and RTL text support in text editors for multilingual editing capabilities.
Platform & Backend Support
- Platform Support:
- Windows, macOS, and Linux platforms with partial support for widgets and graphics, and alpha support for the window system.
- Graphics Backend Support:
- Windows: D3D11, D3D12, and WebGPU.
- macOS: Metal and WebGPU.
- Linux: Vulkan and OpenGL.
Development Requirements
- C++20 Compiler: Requires a C++20-compatible compiler (MSVC 2022, Clang, XCode, GCC).
- Dependency Management: Uses
vcpkgfor simplified dependency management across platforms.
Known Issues & Limitations
- Documentation: The documentation is in progress and may not reflect the latest updates; developers are encouraged to refer to the code examples provided.
- API Stability: API may experience breaking changes as we refine the design and improve functionality.
Example Projects
Refer to the examples directory and the brisk-helloworld repository for a minimal demonstration of the Brisk library’s capabilities.
Licensing
- GPL v2.0 or Commercial License: Brisk is available under the GPL v2.0 license for open-source use. A commercial license is also available for proprietary applications.
For feedback, contributions, or commercial licensing inquiries, please contact us at brisk@brisklib.com.