What I meant is that in OpenMobile.Core you're doing this:
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()[0]); pluginCollection.Add(availablePlugin); availablePlugin.initialize(theHost); pluginAssembly = Assembly.Load("MainMenu"); IHighLevel mmPlugin = (IHighLevel)Activator.CreateInstance(pluginAssembly.GetTypes()[0]); 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?
Your controls can handle all formats that .net is using so I don't see why they have to be limited in PluginHost.getSkinImage, couldn't the filetype just be a part of the filename that your passing when using it instad?
Basically just removing the ".png" part from this line:
When 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...
Cheers



LinkBack URL
About LinkBacks

Reply With Quote

Bookmarks