How To make External Graphics

BlitzMax Forums/BlitzMax Programming/How To make External Graphics

Hardcoal(Posted 2012) [#1]
Lets say I want to make my own gui windows system
but i should not use windows gui.
I mean I want that on the desktop i will be able to get control on the graphics
and my window will be a filled square etc...

how do i get out of the blitzmax window boundries?


SystemError51(Posted 2012) [#2]
BlitzMax itself does not provide such functionality. However, I found a page with a few C++ classes that allow for irregularly shaped windows. I'm sure a wrapper for B/Max could be done, allowing applications a la WinAmp.



Win32 window skinning

tl;dr: Complete C++ Source


// EDIT

If you don't want to stick to Windows (the OS), you'd have to find a way to link to the APIs of the graphical display you're using. On Linux that would most likely be X11, on Mac OS it's Aqua, on Windows it's Win32.

Or if you really want to your complete own GUI, you could use some C source code that renders the pixels and sets a graphical resolution. That however would essentially be completely writing your own.

In case of the second choice, I'd recommend using DirectFB and create BlitzMax wrappers for that (DirectFB supports OpenGL, IIRC)

Last edited 2012


Hardcoal(Posted 2012) [#3]
tnx for the help


xlsior(Posted 2012) [#4]
SystemError51: a few years ago source was posted to the forums to create irregular shaped windows for blitzmax, but IIRC it was created for Splash screens.
Don't have a link, but at least something exists -- google may be of use.


Hardcoal(Posted 2012) [#5]
btw i like you website clean lines
reminds me of me

lol also the colors reminds me of commodore64

Last edited 2012


jsp(Posted 2012) [#6]
xlsior may refers to this one:
http://www.blitzmax.com/Community/posts.php?topic=87501#991905


Hardcoal(Posted 2012) [#7]
tnx ill check it