Interface for adding params to your window. Wraps AntTweakBar.
Show All |
Public Member Functions
-
voidaddParamCallbackImpl (const function< void(T)> &setter, const function< T()> &getter, const Options< T > &options)
-
CI_API InterfaceGl::Options< bool >addParam (const std::string &name, bool *param, bool readOnly)
-
CI_API InterfaceGl::Options< char >addParam (const std::string &name, char *param, bool readOnly)
-
CI_API InterfaceGl::Options< int8_t >addParam (const std::string &name, int8_t *param, bool readOnly)
-
CI_API InterfaceGl::Options< uint8_t >addParam (const std::string &name, uint8_t *param, bool readOnly)
-
CI_API InterfaceGl::Options< int16_t >addParam (const std::string &name, int16_t *param, bool readOnly)
-
CI_API InterfaceGl::Options< uint16_t >addParam (const std::string &name, uint16_t *param, bool readOnly)
-
CI_API InterfaceGl::Options< int32_t >addParam (const std::string &name, int32_t *param, bool readOnly)
-
CI_API InterfaceGl::Options< uint32_t >addParam (const std::string &name, uint32_t *param, bool readOnly)
-
CI_API InterfaceGl::Options< float >addParam (const std::string &name, float *param, bool readOnly)
-
CI_API InterfaceGl::Options< double >addParam (const std::string &name, double *param, bool readOnly)
-
CI_API InterfaceGl::Options< string >addParam (const std::string &name, string *param, bool readOnly)
-
CI_API InterfaceGl::Options< Color >addParam (const std::string &name, Color *param, bool readOnly)
-
CI_API InterfaceGl::Options< ColorA >addParam (const std::string &name, ColorA *param, bool readOnly)
-
CI_API InterfaceGl::Options< quat >addParam (const std::string &name, quat *param, bool readOnly)
-
CI_API InterfaceGl::Options< dquat >addParam (const std::string &name, dquat *param, bool readOnly)
-
CI_API InterfaceGl::Options< vec3 >addParam (const std::string &name, vec3 *param, bool readOnly)
-
CI_API InterfaceGl::Options< dvec3 >addParam (const std::string &name, dvec3 *param, bool readOnly)
Static Public Member Functions
Protected Member Functions
-
voidinit (app::WindowRef window, const std::string &title, const ivec2 &size, const ColorA color)
-
voidimplAddParamDeprecated (const std::string &name, void *param, int type, const std::string &optionsStr, bool readOnly)
-
Options< T >addParamImpl (const std::string &name, T *param, int type, bool readOnly)
-
voidaddParamCallbackImpl (const std::function< void(T)> &setter, const std::function< T()> &getter, const Options< T > &options)
Protected Attributes
-
std::weak_ptr< app::Window >mWindow
-
std::shared_ptr< TwBar >mBar
-
intmTwWindowId
-
std::map< std::string, std::shared_ptr< void > >mStoredCallbacks