[Ohrrpgce] SVN: jay/5076 gui*: generalizing. Not factory factory factory...

Jay Tennant hierandel8 at crazyleafgames.com
Sun Feb 26 07:27:03 PST 2012


> From: subversion at HamsterRepublic.com
> Sent: Sunday, February 26, 2012 9:20 AM
> 
> jay
> 2012-02-26 07:20:03 -0800 (Sun, 26 Feb 2012)
> 331
> gui*: generalizing. Not factory factory factory...
> 
> Restructuring the system to follow Window's design a little more closely, namely using a registration system and extra data associated with "GuiClass's", and the GuiClass instance extra data.
> 
> Added GuiObjectState to retrieve pertinent render state about a particular GUI object.
> ---
> U   wip/gui.h
> U   wip/guiBase.h
> _______________________________________________
> Ohrrpgce mailing list
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org 

The goal is making this easier to construct GUI objects in plotscripts.

I don't really know how the slice tree is adjusted whenever a node must
be manipulated/moved to another location in the tree. I was considering
just letting the GUI manager keep a tree, and allow that to be readable
through the functions guiGetChildCount() and guiGetChildByIndex().





More information about the Ohrrpgce mailing list