Gui Native graphics drivers?

BlitzMax Forums/BlitzMax Programming/Gui Native graphics drivers?

AntonyWells(Posted 2005) [#1]
Are there any plans for native graphics drivers for windows? I.e like gdi for win, whatever for mac/linux.


Robert(Posted 2005) [#2]
MaxGUI uses GDI on Windows and Coca on MacOS X. So it is native on Windows and MacOS.

The only "non-native" solution is FLTK under Linux.


Chris C(Posted 2005) [#3]
errm oops


AntonyWells(Posted 2005) [#4]
robert, I mean native drawing commands.

SetGraphicsDever WinDowsNative()

SetBuffer( WindowGadget )

DrawLine

etc.

I've had to stop the gui designer because there's no concivable way of drawing sizes/guide lines etc.


skidracer(Posted 2005) [#5]
If you can survive with only vertical and horizontal lines I would use a panel per line for all your guides.

I had some luck with canvas overlays which would give you drawing like I think you are after with the GDI request.

But on Apple (and iirc Windows) for alpha to work they need to be in their own window ordered above your gui window, panels have a very fast pixmap interface so a Max2D driver for pixmaps would be ideal too perhaps.


AntonyWells(Posted 2005) [#6]
I was thinking of using a canvas underlay myself, but I just saw all popping problems in my head which put me off. I'm trying a app that doesn't require it now though so not too worried.