Loading object position etc from file
« on: 03 July 2013, 12:37:40 »
Is there any tutorial how exactly file with widget's position etc should look like?

I don't mean a theme file. I mean a file where I can put widget name, type, size, position etc so I can change most basic things without recompilation.

I wanted to create AngelScript wrapper of TGUI so I could handle GUI by scripts, but I found info about loading object positions from file on TGUI's site so I think it may be easier for me. I just can't find info about it.
« Last Edit: 03 July 2013, 12:40:49 by netrick »

*

texus

  • *****
  • 1161
    • View Profile
    • Texus's Blog
Re: Loading object position etc from file
« Reply #1 on: 03 July 2013, 18:00:45 »
There is a small explanation on object files on the old site (which means outdated, but still usable).

You should also take a look at the FormObjectsWindow.txt in the Form Builder folder. It only gives an example for Picture and Button, but it always has the latest syntax (e.g. uses ConfigFile instead of Pathname).
« Last Edit: 03 July 2013, 18:02:29 by texus »