S-UI

BlitzMax Forums/BlitzMax Programming/S-UI

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Looks pretty good for what you have so far and the speed is nice too. Is this based on max2d or openGL and quads?
Max2D

The speed is good because all gadgets are 'pre-rendered' for example, a gadget is created at startup and drawn into an image array for each of the gadget states ie. minimised, clicked, disabled.

The advantage of doing this means you only have to draw one image per gadget per frame.

The disadvantage of doing this means every time you resize a window for example you have to recreate the image, which may be a bit slow realtime.