Results 1 to 2 of 2

Thread: AntTweakBar for Delphi

  1. #1
    Legendary Member cairnswm's Avatar
    Join Date
    Nov 2002
    Location
    Randburg, South Africa
    Posts
    1,537

    AntTweakBar for Delphi

    I saw a nice set of UI components on GameDev.net a while ago - take a look at AntTweakBar

    http://www.antisphere.com/Wiki/doku....ls:anttweakbar

    How would you do something like this for delphi.

    I could do something simple like this and then when adding a variable to the bar you could give the address of the var you want on the bar

    [pascal]Var
    MyVar : Integer;

    AddVar('MyVarName',@MyVar);[/pascal]
    William Cairns
    My Games: http://www.cairnsgames.co.za (Currently very inactive)
    MyOnline Games: http://TheGameDeveloper.co.za (Currently very inactive)

  2. #2

    AntTweakBar for Delphi

    what about just pass some formatted structure with a pointer to actual record variable, which would automaticly create them all for you? something like delphi's data inspector (but data inspector is smarter)

    say you have a packed record or an object with those structures, you could tell it pointer to first object, and describe the objects on that memory address, the tweak bar would then allow you to manipulate those objects, you could do this with a xml structure...
    This is my game project - Top Down City:
    http://www.pascalgamedevelopment.com...y-Topic-Reboot

    My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
    http://www.pascalgamedevelopment.com...source+manager

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •