Skip to content

LoopyDev/ofxDatGui-LoopyDev

 
 

Repository files navigation

ofxDatGui (LoopyDev fork)

ofxDatGui is a simple, fully customizable, high-resolution GUI for openFrameworks, inspired by dat.gui.

This repository is a maintained fork by LoopyDev.
Upstream: https://github.com/braitsch/ofxDatGui

ofxDatGui
(Image credit: upstream project)


What’s different in this fork

  • Working in OF 0.12.1
  • Mouse capture - prevents control when dragging clicked mouse over GUI
  • Folder nesting

New components!

  • Horizontal button bar/radio group (it's a bit messy right now but it works, expect changes)
  • Cubic Bezier
  • Radio Group
  • Curve Editor

ofxDatGui-LoopyDev

Temp: Restructuring horizontally stacked gui components. To add a horizontally stacked GUI panel:

gui = new ofxDatGui(ofxDatGuiAnchor::TOP_LEFT);
gui->setWidth(ofGetWidth());
auto * row = gui->addPanel(ofxDatGuiPanel::Orientation::HORIZONTAL);
row->attachItem(new ofxDatGuiButton("Play"));
row->attachItem(new ofxDatGuiButton("Pause"));
row->attachItem(new ofxDatGuiButton("Stop"));
row->attachItem(new ofxDatGuiButton("Okeyyeh"));

About

High-resolution GUI for openFrameworks, with quality-of-life adjustments and new components.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 99.3%
  • C 0.7%