You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From there, we can look into ways of creating transparent overlays, rendering graphics, etc. The biggest hurdle is figuring out the scope and what we could actually do. Obviously writing a UI framework is out of the question but how would we go about displaying stuff on windows? Perhaps we'll need to integrate with a library of some sort? Maybe just have one function to draw an image?
The text was updated successfully, but these errors were encountered:
Having a Create function as part of the Window class is a bit problematic. For one, the current implementation of the Window class assumes no manual control of the window's data structures. It's designed to manipulate external windows whose memory and resources are managed by another application. For this functionality to change, additional logic would need to be added to track which Windows are managed.
Additionally, window creation is pointless without some serious event handling logic. Thinking about libraries like Qt and SDL, they have entire frameworks set up just for handling window events. Moreover, rendering to a window would also become complex. Even if all that's possible is rendering an image, are we suddenly going to allow rendering to external windows? How would that even work with different surface types and rendering contexts?
This brings us to the final question. What is the problem this issue is trying to solve? The problem is that robot needs an ability to draw on other windows. Well, this can solved easily by just creating and positioning a transparent window on top of other windows and drawing on that. The functionality would be a lot simpler and wouldn't require any of the more complex aspects that libraries like Qt and SDL implement.
With that, this particular issue is going to be closed. As for overlay windows, it will be implemented by #69.
Need to add an ability to create windows:
From there, we can look into ways of creating transparent overlays, rendering graphics, etc. The biggest hurdle is figuring out the scope and what we could actually do. Obviously writing a UI framework is out of the question but how would we go about displaying stuff on windows? Perhaps we'll need to integrate with a library of some sort? Maybe just have one function to draw an image?
The text was updated successfully, but these errors were encountered: