Which looks for and loads a dll file called UI.dll and another called MainMenu.dll. If I don't want to use the UI.dll (but rather load everyhing from MainMenu.dll) I'll have to clear all the contents out of the UI.dll file to stop it from showing anything.Code:Assembly pluginAssembly = Assembly.Load("UI"); IHighLevel availablePlugin = (IHighLevel)Activator.CreateInstance(pluginAssembly.GetTypes()); pluginCollection.Add(availablePlugin); availablePlugin.initialize(theHost); pluginAssembly = Assembly.Load("MainMenu"); IHighLevel mmPlugin = (IHighLevel)Activator.CreateInstance(pluginAssembly.GetTypes()); pluginCollection.Add(mmPlugin); mmPlugin.initialize(theHost);
Why is the system built so it forces a skin to use both UI.dll and MainMenu.dll. Wouldn't it be more correct if the UI.dll (if wanted) was loaded from MainMenu.dll?
Basically just removing the ".png" part from this line:
testing and devloping a skin it's better to be able to control (simulate) the target resolution so that it's easier to get all the placements and objects in the correct location without any scaling.Code:im.image = Image.FromFile(Path.Combine(SkinPath, imageName + ".png"));
What about panels? Can I only have (and show) one panel at a screen (screenmanager) at a time?
Could the ui form obect be exposed to the skinner trough the pluginhost? Or would this give to much control to the skinner? That way the form itself could be controlled from the skin (if needed).
Could the exit animation also be controllable from the skin, like the other transitions?
Maybe some skins want it and some not. Or at least the actual animation speed should be controllable (this also goes for any other transition).
If I wanted to trigg an action on a screen the first time it's shown, how would I detect this? Is an event trigged after it's shown?
Pew... Lot's of questions but we'll have to call it development...