Notes for GUI developers

Everything about development and the OpenMW source code.
Post Reply
User avatar
scrawl
Posts: 2152
Joined: 18 Feb 2012, 11:51

Notes for GUI developers

Post by scrawl »

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.
User avatar
psi29a
Posts: 5361
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: Notes for GUI developers

Post by psi29a »

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.
User avatar
scrawl
Posts: 2152
Joined: 18 Feb 2012, 11:51

Re: Notes for GUI developers

Post by scrawl »

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"/>
Post Reply