tobspr / LUI

Lightweight User Interface for Panda3D
MIT License
83 stars 26 forks source link

Added abstract base class for Layouts in the LUILayouts for consistency.... #2

Closed tzaeru closed 9 years ago

tzaeru commented 9 years ago

From least controversial to the most controversial:

1) Added horizontal layout to LUILayouts. 2) Added simplified button (LUISpriteButton) that has only two images: The default and Focus image. 3) Added abstract base class for LUILayouts to keep access methods to layouts consistent. I am not sure if this is the kind of design you want though, so I can just remove that change if you feel so. :-)

Tested the layouts and the sprite button, but I'm good at breaking things hiddenly.

Thanks, Tz

tobspr commented 9 years ago

thanks a lot! :)