using Desktop TGadget from inside Graphics

BlitzMax Forums/MaxGUI Module/using Desktop TGadget from inside Graphics

skidracer(Posted 2015) [#1]
Just a thought but what if - after a BlitzMax Graphics function sets up the screen the Desktop() TGadget referred to the backing window of the Graphics screen?

This I think would work on Windows, MacOS and Wayland based Linux desktops.

The idea is that gadgets could then be placed atop of live BlitzMax graphics.


skidracer(Posted 2015) [#2]
Oh, and I have decided the best thing I can do for BlitzMax is to continue to support MaxGUI.

Today I am attempting a clean up of the code base and some tests on the Raspberry PI using the BlitzMax NG tool chain.

I would like to include a tool built by said tool chain with the first release of my Nitro Entertainment System which I am busy getting ready for Santa.


kfprimm(Posted 2015) [#3]
Sounds good to me, but maybe introduce a new function though. Taking over Desktop() could cause some compatibility issues.

How do you plan on acquiring the platform-specific handles? I think you'll need some patches to the graphics drivers.