Not logged inOpenClonk Forum
Up Topic Script Menus - Preliminary Documentation

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Zapper
Okay, a write-up about some changes that I think are either necessary or at least pretty good ideas:

- change position syntax from X/Y/Wdt/Hgt = [<rel>, <abs>]  to Left/Top/Right/Bottom = "<rel>%+<abs>em"[DONE]
     - this of course includes changing the absolute position from pixels to em (1em = font height)[DONE]
     - also this would allow decimal values (f.e. Top = "1.5em")[DONE]

- add "Player" property for visibility (currently solved via "Target" property + Visibility for target object) [DONE]
- make the naming of the Gui functions consistent
- get rid of "CreateCustomMenu"[DONE - use CreateObject now]
- add a "Margin" property as described by Newton[DONE]
- change order of parameters of GuiAction_SetTag to be more intuitive[DONE]

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill