/
README
34 lines (26 loc) · 1.11 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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");