It is possible but it requires a small change to GUITextureManager.cs (in core).
What I did was add a new static method called ReInit() which calls the main Dispose method and then sets _Dispose back to false (this clears the cache of all images).
Then, I hacked the MyRefresh slightly and added a call to the GUITextureManager::ReInit() method in the OnAction method.
I did cheat however and added the MyRefresh.cs to the ProcessPlugins project so that it is included in the ProcessPlugins.dll.
Not sure whether this is a good way of doing things and what possible impact it may have if used during normal use but I figured that its nota big deal during development of skins.
Hope Smirnoff doesn't object to me hacking around here.
What I did was add a new static method called ReInit() which calls the main Dispose method and then sets _Dispose back to false (this clears the cache of all images).
Then, I hacked the MyRefresh slightly and added a call to the GUITextureManager::ReInit() method in the OnAction method.
I did cheat however and added the MyRefresh.cs to the ProcessPlugins project so that it is included in the ProcessPlugins.dll.
Not sure whether this is a good way of doing things and what possible impact it may have if used during normal use but I figured that its nota big deal during development of skins.
Hope Smirnoff doesn't object to me hacking around here.