I'm almost finished with the transition to 3.2, so here are a few notes to GUI developers.
1. Changed widgets names:
- StaticImage -> ImageBox
- StaticText -> TextBox
- Edit -> EditBox
2. No pointer defines (instead of StaticImagePtr, use ImageBox*)
3. Use multi-delegates (instead of "= newDelegate" use "+= newDelegate")
4. Check MyGUI.log regularly to make sure you are not using any deprecated stuff.
Notes for GUI developers
- psi29a
- Posts: 5361
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: Notes for GUI developers
For those interested, our PPA has mygui3 (3.2.0) available to be used:
https://launchpad.net/~openmw/+archive/ ... es_filter=
This includes:
ibmygui-dev
libmygui3
mygui-doc
mygui-tools
for 32 and 64 bit arches from Precise to Lucid.
Note: getdeb has their own 3.2 available as well. If you use both PPAs you will likely get theirs. That should not matter, but you never know.
https://launchpad.net/~openmw/+archive/ ... es_filter=
This includes:
ibmygui-dev
libmygui3
mygui-doc
mygui-tools
for 32 and 64 bit arches from Precise to Lucid.
Note: getdeb has their own 3.2 available as well. If you use both PPAs you will likely get theirs. That should not matter, but you never know.
Re: Notes for GUI developers
5. in the layout files, do not use type prefix for properties. example: instead of
<Property key="Widget_Caption" value="Race"/>
use
<Property key="Caption" value="Race"/>
<Property key="Widget_Caption" value="Race"/>
use
<Property key="Caption" value="Race"/>