2014-06-18, 14:54
Hopefully quite a simple one, I'm trying to locate this in the code to patch together myself, but pointers/help appreciated.
I think it would be useful to be able to set a size of the notification popup. I am triggering this using the web JSON interface and function 'GUI.ShowNotification'
So would it be possible to add another parameter as size or size-multiplier
What I'm after, is being able to popup the notification popup with my custom image and set the size of the popup as the custom image I use is my webcam for when there is somebody at the door.
In the past I've 'hacked' at the skin to force the size of the popup to be large, but this means all notifications are large, so I think a trigger method somewhere probably in GUIDialogKaiToast.cpp to set a size and it will then take the size defined in the skin and multiply the dimensions by the parameter amount.
Happy to get into the code if somebody gives me the relevant pointers.
I think it would be useful to be able to set a size of the notification popup. I am triggering this using the web JSON interface and function 'GUI.ShowNotification'
So would it be possible to add another parameter as size or size-multiplier
What I'm after, is being able to popup the notification popup with my custom image and set the size of the popup as the custom image I use is my webcam for when there is somebody at the door.
In the past I've 'hacked' at the skin to force the size of the popup to be large, but this means all notifications are large, so I think a trigger method somewhere probably in GUIDialogKaiToast.cpp to set a size and it will then take the size defined in the skin and multiply the dimensions by the parameter amount.
Happy to get into the code if somebody gives me the relevant pointers.