Calendar Widget

by Unknown

Back to Mechanic's Corner.

Unknown2011-06-03 04:28:39
I've rewritten my old calendar widget for Lusternia to take advantage of the Geyser layout manager, and to be a bit more configurable.

Options include:
location: currently you can choose from the four corners of the screen
active color: the purple in the screenshot
inactive color: the green in the screenshot
fontsize: pretty self explanatory

and whether to display the herb window or not.





The xml file
An mpackage file


The mpackage is a new format for Mudlet and isn't available except in the latest rc version... but in this case it's just the xml zipped up. I include it primarily for completeness' sake.

Edit:

I forgot to include one function which I make use of in this package... next version I upload will have it included. I added some functionality to the Geyser miniconsole object that I found to be lacking.
CODE
function Geyser.MiniConsole:clear ()
   clearWindow(self.name)
end

Ilyarin2011-06-03 10:54:18
That's pretty beautiful. smile.gif
Sylphas2011-06-03 16:31:36
Any chance you can add the ability to show Full/New moon in a different color on that day?
Unknown2011-06-03 17:07:46
What about the time of day? wink.gif
Unknown2011-06-03 18:13:41
Still working on time of day, I have to find my old profile I'd been using for that and merge it in.

And sure, I can add an option for the color to change with New/Full moons