Results 1 to 2 of 2

Thread: Does anybody use AntTweakBar here string question

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2009
    Posts
    22

    Does anybody use AntTweakBar here string question

    Hello,
    Im tryingto use AnttweakBar in my application I having trouble with loading strings, I have asked for help on there forum but it doesnt appear very active so Im posting here and hoping for the best

    Here my code:
    in_mm_res_to_string(x_buffer, x, units);
    sprintf(buffer
    "%s %s", x_buffer, units);
    TwAddVarRW(pointBar,
    "X:", TW_TYPE_CSSTRING(sizeof(buffer)), buffer, "");


    Basically when I run the debigger The data is in the buffer correctly but it is not being displayed in the tweakbar ( im getting just garbage )

    Thanks for your help

    -Derrek

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Jan 2012
    Location
    Australia
    Posts
    1,117
    I don't use AntTweakBar but this sort of problem often comes from it not finding the font texture. I would check if the font texture is loaded correctly

Similar Threads

  1. AntTweakBar Problem
    By Rockinredross867 in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 01-11-2016, 05:04 AM
  2. FCollada string bug?
    By samurle in forum COLLADA
    Replies: 0
    Last Post: 08-01-2010, 02:38 PM
  3. error to string?
    By ibbles in forum OpenCL
    Replies: 4
    Last Post: 10-20-2009, 06:29 AM
  4. Sensible Extensions String
    By Simon Arbon in forum OpenGL: General
    Replies: 0
    Last Post: 08-12-2008, 11:36 PM
  5. Dispay string
    By in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 10-18-2003, 07:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean