How to create a custom smart client theme?
It looks like it’d be simple to create a new Theme class on https://doc.developer.milestonesys.com/html/MIPhelp/class_video_o_s_1_1_platform_1_1_client_1_1_theme.html and then register it somehow but I can’t find how.
If that is not possible, can we at least modify the existing “Light” theme to have different colors?
Rik
(Rie Kiuchi (Milestone Systems))
March 31, 2021, 11:12am
2
I am sorry, but many developers are out of office due to Easter. We will get back to you as soon as possible. Sorry for the inconvenience.
No worries, thanks for letting me know.
@Bo Ellegård Andersen (Milestone Systems)thanks, but I want to theme the whole smart client. In the example they only theme one viewitem.
For example I want the whole interface to have the background color red.
No, it would be neat perhaps. The Smart Client only has the two themes and cannot be extended with more themes.
You are correct that the theming that I mentioned and that is possible then only apply to the UI controls that you have in your Smart Client plugin.
To me as a developer it makes no sense that you have all this theme concept only to fall short for custom ones.
It would be so simple to subclass https://doc.developer.milestonesys.com/html/MIPhelp/class_video_o_s_1_1_platform_1_1_client_1_1_theme.html then register it from a smart client plugin and voila, the whole smart client uses your theme.
Anyway, thanks for confirming that I can only tweak my own viewitems, I’ll probably simply display some overlays using ImageViewerAddOn that way anytime the user displays a video he can be warned (the idea for the whole interface going red is to warn him about something he must not ignore).
And yes, I already know about Toast messages and notifications