NvTweakBar.h File Reference

Implements a UI system for sample applications to display visual widgets for interacting with the C variables that control the application, using NvTweakVarBase to abstract access to those variables. More...

#include "NvUI/NvUI.h"
#include "NvUI/NvTweakVar.h"

Go to the source code of this file.

Classes

struct  NvTweakEnum< T >
 Template for objects that pair human-readable strings with their application-value counterparts. More...
class  NvTweakVarUIProxyBase
 An object that will help link an NvTweakVar with a proxied NvUIElement. More...
class  NvTweakVarUI< T >
 A templated object that links NvTweakVar of some datatype with an appropriate UI widget. More...
class  NvTweakEnumUI< T >
 A templated subclass of NvTweakVarUI specifically for handling one entry of an NvTweakEnum list/array passed into the tweakbar -- i.e., one button in a radio button group, or one menu item in a popup menu. More...
class  NvTweakBar
 Class representing a visual 'bar' of widgets (a 'tweakbar'). More...

Defines

#define TWEAKENUM_ARRAYSIZE(a)   (sizeof(a)/sizeof(a[0]))
 This is a helper macro to calculate the number of array entries for enum arrays, so one can declare such arrays unsized.
#define TWEAKBAR_ACTIONCODE_BASE   0x43210000
 This is a predefined base action code value for any codes defined/allocated inside of the NvTweakBar system itself.


Detailed Description

Implements a UI system for sample applications to display visual widgets for interacting with the C variables that control the application, using NvTweakVarBase to abstract access to those variables.