| View previous topic :: View next topic |
| Author |
Message |
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2428 Location: Yateley, Hants, UK
|
Posted: Wed Apr 01, 2020 2:23 pm Post subject: |
|
|
Paul,
Is that the right approach? Presumably, if one has to call use_resource_library@, then it might be possible to put all the icons etc relating to a particular, customisable, appearance in its own library, and then other appearances in other libraries. Then, load the appropriate library at startup.
I'm not sure how you would switch 'themes' on the fly with this.
Eddie |
|
| Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8281 Location: Salford, UK
|
Posted: Wed Apr 01, 2020 6:27 pm Post subject: |
|
|
Eddie
If a DLL is not loaded then the ClearWin+ library will not be able to find resources in it. Perhaps I am missing something but the new approach seems sound to me. |
|
| Back to top |
|
 |
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2428 Location: Yateley, Hants, UK
|
Posted: Thu Apr 02, 2020 12:11 am Post subject: |
|
|
Absolutely no adverse criticism intended. It was a question, really. If it was possible to selectively load dlls, and someone had used that to set optional themes, then loading all dlls would lead to multiple definitions - maybe? That's all.
Eddie |
|
| Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8281 Location: Salford, UK
|
Posted: Thu Apr 02, 2020 7:57 am Post subject: |
|
|
I didn't take it as a criticism.
By way of further explanation, the new mechanism will only kick in when the existing one fails to find the resource, a kind of "long stop". So the existing mechanism will continue to work as now. |
|
| Back to top |
|
 |
|