Skip to content

Simple clean GUI system for openFrameworks based on AntTweakbar

Notifications You must be signed in to change notification settings

morethanlogic/ofxTweakbar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ofxTweakbar
===========
AntTweakbar addon for openFrameworks. AntTweakbar is a clean, small and simple
GUI system designed to tweak parameters. This is a must have GUI when you need
to tweak certain parameters in your app. The addon is designed to be as clear
and versatile as possible.


Compiling AntTweakbar on MacOS (static lib)
============================================
Copy the Makefile.osx in the src directory of AntTweakbar to Makefile

Change lines to this: (just check the variables)
+++++++++++++++++++++++++++++++++++++++++++++++++
SO_EXT		= .a
CXXCFG   	= -O3 -arch i386 -arch x86_64 
LFLAGS		= -arch i386 -arch x86_64 

At the bottom change this:
+++++++++++++++++++++++++
$(TARGET): $(OBJS)
	@echo "====== Archive $@ ==========="
	$(AR) $(OUT_DIR)/lib$(TARGET)$(SO_EXT) $(OBJS)


I've put the Makefile in the "doc" directory.


Small / simple example
======================
settings->addBool("boolean", &test_bool_a);
settings->addInt("int32", &test_standard_int, "min=1 max=100 key=b");
settings->addVec3f("test", &dir)->setGroup("color");
settings->addColor3f("color3f", &colors)->setLabel("Colour")->setGroup("color");

About

Simple clean GUI system for openFrameworks based on AntTweakbar

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 96.2%
  • Perl 3.8%