Can egui be used to make transparent overlay addon program over a game? #354
-
Apologies for the long question. in terms of GUI, there's 2 requirements for doing this.
i guess in terms of Qt, i want to be able to set the widget attributes Qt::WA_TranslucentBackground for transparency and the window attributes Qt::WindowStaysOnTopHint to keep it ontop of game and Qt::WindowTransparentForInput to allow input to pass through and finally Qt::FramelessWindowHint so that there's no minimize/close buttons or titlebar as the overlay should not be able to move; I just wanna know if this is possible in egui, as I really want want to use it over qt. the gui getting input from the socket/game shared memory, and drawing the routes/markers etc.. every frame seems like a job for immediate mode api. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
egui_glium
already supports transparent and non-decorated windows. Adding aalways_on_top
flag is easy.Passing on input should probably be doable, but I'm not sure how (help wanted?).