You are on page 1of 1

AntTweakBar GUI library to tweak parameters of your OpenGL and DirectX programs [AntTweakBar]

21/09/2016

AntTweakBar

Search

Index
Contents

AntTweakBar
AntTweakBar
Download/Install/Contact
Overview
Examples
What is AntTweakBar
Design and integration
Users Gallery
License
How to integrate AntTweakBar
Download
Overview
Start with AntTweakBar
License
Change Log
What is AntTweakBar
RotoSlider
TwAddButton (function)
AntTweakBar is a small and easy-to-use C/C++ library that allows programmers to quickly add a light and intuitive graphical user interface into graphic applications
TwAddSeparator (function)
based on OpenGL (compatibility and core profiles), DirectX 9, DirectX 10 or DirectX 11 to interactively tweak parameters on-screen.
TwAddVarCB (function)
TwAddVarRO (function)
TwAddVarRW (function)
TwBar (structure)
TwBar parameters syntax
TwCopyCDStringToClientFunc (function)
TwCopyCDStringToLibrary (function)
TwCopyStdStringToClientFunc (function)
TwCopyStdStringToLibrary (function)
TwDefine (function)
TwDefineEnum (function)
TwDefineEnumFromString (function)
TwDefineStruct (function)
C/C++ variables can be bound to graphical controls that allow users to modify them. Thus, variables exposed by programmers can be easily modified. They are displayed into the graphical application
TwDeleteAllBars (function)
through one or more embedded windows called tweak bars.
TwDeleteBar (function)
TwDraw (function)
The AntTweakBar library mainly targets graphical applications that need a quick way to tune parameters (even in fullscreen mode) and see the result in real-time like 3D demos, games, prototypes, inline
editors, debug facilities of weightier graphical applications, etc.
TwEnumVal (structure)
TwGetBarByIndex (function)
Design and integration
TwGetBarByName (function)
TwGetBarCount (function)
The library is designed to minimize programmer's work while offering a fast, clean, intuitive and non-intrusive graphical interface. For instance, numerical values are automatically
TwGetBarName (function)
mapped to a RotoSlider control for rapid editing.
TwGetBottomBar (function)
TwGetCurrentWindow (function)
It is composed of few easy-to-learn functions. Common variables like booleans, integers, floats and enums can be directly mapped to a graphic control through pointers or
TwGetLastError (function)
callback functions. Additional editing information like min and max values can be provided. Keyboard shortcuts can also be associated to controls and a help window which
TwGetParam (function)
summarizes these shortcuts can be displayed. Programmers are not required to design the graphical interface by providing coordinates or by using a visual UI editor. Controls
TwGetTopBar (function)
are automatically organized following an optional given hierarchy. In most cases, only one line of code is needed to add a new variable to a tweak bar.
TwGraphAPI (enum)
While the library itself is written in C++, its programming interface is a C interface, and then it can be directly integrated in any C++ or C program.
TwHanldeErrors (function)
TwInit (function)
It has been designed with performance in mind. Embedded in a typical 3D application, its rendering time is almost insignificant. Bars can also be iconified to fully minimize their rendering time.
TwKeyModifier (enum)
AntTweakBar works with GNU/Linux, Windows and OSX, and can be easily integrated with your own windowing system or with existing toolkits. Examples of integration with GLFW, SDL,
TwKeyPressed (function)
GLUT, SFML and DirectX are provided.
TwKeySpecial (enum)
TwKeyTest (function)
License
TwMouseAction (enum)
TwMouseButton (function)
AntTweakBar is free to use and redistribute. See license for details.
TwMouseButtonID (enum)
TwMouseMotion (function)
Download
TwMouseWheel (function)
TwNewBar (function)
Download the latest version of the AntTweakBar library. It includes the header file and the library, as well as examples provided as commented source code (and executable Windows binaries).
TwParamValueType (enum)
TwRefreshBar (function)
TwRemoveAllVars (function)
Start with AntTweakBar
TwRemoveVar (function)
TwSetBottomBar (function)
Tutorial: How to integrate AntTweakBar into your application.
TwSetCurrentWindow (function)
Examples: Some commented programs.
TwSetParam (function)
Reference: Use the index (on the top-left side of this page) to browse the documentation.
TwSetTopBar (function)
TwStructMember (structure)
TwTerminate (function)
TwType (enum)
Back to top
TwWindowExists (function)
TwWindowSize (function)
Variable parameters syntax
Variables of type String

AntTweakBar

http://anttweakbar.sourceforge.net/doc/

1/1

You might also like