C++ AntTweakBar:多个"variables"以某种方式链接。错误
C++ AntTweakBar: multiple "variables" appear linked in some way.. bug
对于了解AntTweakBar的人:
当我使多个TwAddVarRW(变量)链接到布尔值…(我总共有大约15个布尔条在彼此下面)
当我"检查"一个…在它下面的其他4个(大多数时候)也会立即被检查!而布尔值只从我点击的那个改变!这是怎么发生的?错误吗?
解释:(情况未检查)
bool 1 = false = "not checked"
bool 2 = false = "not checked"
bool 3 = false = "not checked"
bool 4 = false = "not checked"
bool 5 = false = "not checked"
bool 6 = false = "not checked"
——>点击/检查bool 2按钮
("2被点击"的情况)
bool 1 = false = "not checked"
bool 2 = true = "checked"
bool 3 = false = "checked"
bool 4 = false = "checked"
bool 5 = false = "checked"
bool 6 = false = "checked"
bool 1 = false = "not checked"
bool 2 = true = "checked"
bool 3 = false = "not checked"
bool 4 = false = "not checked"
bool 5 = false = "not checked"
bool 6 = false = "not checked"
但即使我取消了一个不应该被选中的,无论是哪个,他们都取消了....:年代所以这很奇怪……
问题是他们使用的布尔值是作为引用给出/使用的!我们放弃了它是"TW_TYPE_BOOL32",而它实际上是"TW_TYPE_BOOL8"…所以这样读参考文献是错误的!
相关文章:
- 为什么开关的优化方式与 c/c++ 中的链接不同?
- C++命名空间std的定义方式/位置(文档/标准链接)
- lib文件是以独占静态方式链接的,还是需要专门编译(VS2015)
- 如果与未使用的库链接,可执行文件的构建方式是否不同?
- 如何以Cmake的可移植方式获取LibstDCXX隐式链接目录
- 一种方式链接列表和不需要的第一个元素AFRTER填充
- 在 VS 中,以编程方式获取链接器>其他库目录属性,或获取宏值
- 带跳过列表的双链接列表,以排序方式插入
- Visual Studio静态链接的应用程序方式太小
- 为什么 GNU ld 在链接可执行文件和共享对象时以不同的方式解析符号
- 如何使用返回的临时链接的最佳方式
- CMake:拥有不同链接标志的正确方式
- 黄金链接器:指定节的对齐方式
- 如何在C/C++中以编程方式创建软链接
- C++ AntTweakBar:多个"variables"以某种方式链接。错误
- 如何以正确的方式编译和链接C/ c++共享对象库
- GCC 编译器在两台服务器上以不同的方式链接
- 为什么在c++中用shell链接查找快捷方式的目标路径时,它指的是windowsinstaller文件夹
- 链接谷歌TCMalloc库的最安全方式
- 是他们编译一个项目的一种方式,这样你的所有函数类都可以.进入一个可以链接的文件