Skip to content

valine/zpath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZPath

Interactive, hardware accelerated computation graphs Screenshot 2024-02-15 at 6 03 14 PM

Build instructions

Dependencies

To build on Linux

Packages to install on ubuntu

  • libfreetype6-dev
  • libglu1-mesa-dev
cd zpath 
mkdir build && cd build
cmake ..
make

To build on Windows

Install Visual Studio build tools

From the Developer command prompt run

cd zpath 
mkdir build && cd build
cmake ..
msbuild ALL_BUILD.vsfx

To build on MacOS

Install CMake and XCode

From Terminal cd zpath mkdir build && cd build camke -DCMAKE_INSTALL_PREFIX=/Applications .. make

UI Examples

// Button example
auto* button = new ZButton("Button name", parent);
saveButton->setOnClick([this](ZView* sender) {
    // Handle click
});

// Slider example
auto* slider = new ZSlider("Slider name", min, max, defaultValue, parent);
slider->setOnSlide([this](ZView* sender, float value, bool wasUserAction) {
    // Handle slide
});

// Checkbox example
auto* checkbox = new ZCheckbox("Checkbox name", parent);
checkbox->setOnClick([this](ZView* sender, bool checked) {
    // Handle check change
});

About

Interactive, hardware accelerated computation graphs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages