I'm working on a reusable and customizable GUI for computers. Everything is done in Ren'Py-screen-code, except for the icons. The icon is a
The icon behind the texteditor is still "hoverable" (is that a word?) and clickable. That's the problem.
Since Ren'Py internally has to deal with the same problem when it renders multiple screens there must be a way to handle hovering/clicking the same way.
In general the GUI can have a maximum of 2 'virtual' windows open. I use Ren'Py's tag-system for that. It allows only one window/screen per tag to be open.
Texteditor-screen/window made transparent for demonstration:
You must be registered to see the links
. The problem is the __is_hit__()-function of my icon. The purpose of this function is to detect whether the icon is being hovered with the mouse. It only checks for an area and is unaware of potential other screens that would prevent hovering/clicking the icon.The icon behind the texteditor is still "hoverable" (is that a word?) and clickable. That's the problem.
Since Ren'Py internally has to deal with the same problem when it renders multiple screens there must be a way to handle hovering/clicking the same way.
In general the GUI can have a maximum of 2 'virtual' windows open. I use Ren'Py's tag-system for that. It allows only one window/screen per tag to be open.
- Files, Recycle Bin, Updates, Ultron, Firetail, Anti Virus will open screens tagged as apps
- Photos, Text and other popups are tagged as file
- pc-screen with the background-image and icons on the left
- pc-files-screen with the icons 'toys' and 'Emily' tagged as app
- pc-text-screen showing the 'Texteditor KeLoga' tagged as file
You don't have permission to view the spoiler content.
Log in or register now.