The Geyser Layout Manager
Posted: Mon Mar 15, 2010 9:32 am
[Edit 20 Mar 10] Updated Geyser.xml package file with new color and Label:echo support. See the bugs/requests thread for details.
Here is the Geyser Layout Manager.
In essence, Geyser is an object oriented framework to handle Mudlet windows. That means, once you create a window and tell it were to go, Geyser will handle moving/resizing it as necessary during window resize events. But that's not all it does.
To get a good feel for it, run the Geyser.demo1() function, click on the buttons it creates and resize your Mudlet window.
It's not 100% fully functional, but has more than enough to get started using. I've tried to keep the design straightforward enough that it should be easy for others to extend. Of course suggestions are welcome! I just started learning Lua after downloading Mudlet a few weeks ago, and so there are likely areas for improvement in terms of efficiency and good lua style.
Enjoy,
guy
Here is the Geyser Layout Manager.
In essence, Geyser is an object oriented framework to handle Mudlet windows. That means, once you create a window and tell it were to go, Geyser will handle moving/resizing it as necessary during window resize events. But that's not all it does.
To get a good feel for it, run the Geyser.demo1() function, click on the buttons it creates and resize your Mudlet window.
It's not 100% fully functional, but has more than enough to get started using. I've tried to keep the design straightforward enough that it should be easy for others to extend. Of course suggestions are welcome! I just started learning Lua after downloading Mudlet a few weeks ago, and so there are likely areas for improvement in terms of efficiency and good lua style.
Enjoy,
guy