Ok one last version..
I polished up the minimap..
I made 1 plugin that handles, I think, all the "window options" thus far.. Except the remove fog thingie.. and it adds a few.. Allows you to change upto 4 of the default eq2map behaviours by copying files..
Full-list: (Besides default options and plugins from the old sytem)
CloseOptions:
Min/Restore with keyboard 'M key' Esc disabled
IconOptions:
Alway 50% transparent
33% transparent till mouseover
ConnectionsOptions:
Both Off on login
City Off on login
And my darkness filter:
Maps 15% Darker than default (this is the one I will be using)
Maps 30% Darker than default
The only change to eq2ui_mainhud_map.xml this time was:
I added a page above the WorldMap Image definition..
<Page AbsorbsInput="false" BackgroundColor="#FFFFFF" BackgroundOpacity="1.000" BackgroundTint="#000000" Location="1,2" Name="TM_DarknessOverlay" Opacity="0.000" ScrollExtent="436,506" Size="436,506"/>
Required for my darkness option
I also changed the plugins.xml so that all the event buttons are not visible..
Things we will have to note to window skinners if this system is used: (I'm sure you know)
The OnHide and OnShow event for the window frame and title bar have to call the plugin handlers that are present there in the default skin at the end of the event..
The Restore and Minimize OnActivate script must end with the plugin handler followed by Activated=false
The CloseButton OnActivate must end with Ativated=false
Edit: I reversed the order in which the callbacks in plugins.xml get called instead of 1 to 5 the now trigger backwards.. So that plugin 1 has priority over 5.. System now has priorty like the z order of the plugin windows..
This is something to tell to plugin authors
I think that's it from me.. I'm out of ideas for improvements to it..