What’s new:
Even more control over the look of GUI!
Previously each button state required a bitmap, but now you can specify an alpha blended coloured rect instead. You can now also specify the distance of the text offset on mouse down (I didn’t like how it was hard coded +1 pixel in X an Y), and the colour of the caption text for mouse over and mouse down states. The new GUI control parameters are..
‘ caption colors (in the usual r,g,b,a integer format)
overcolor
downcolor
‘ image rects (colors in the r,g,b,a integer format)
normalrect
overrect
downrect
‘ text caption offset for individual control
downx
downy
‘ text caption offset for both values
downoffset
This means the only asset you need to get started with the GUI is a bitmap font.
Sprite methods renamed
Since I figured out scope resolution in Blitzmax I’ve been able to rename the following sprite methods.. Set_X, Set_Y, Set_Alpha, Set_Rotation, Set_Position, Get_X, Get_Y, Get_Alpha, Get_Rotation, Get_Position. Now none of them have that ugly underscore character.
Sprite animation methods added
CurrentFrame returns the current bitmap frame,
SetFrame sets the current bitmap frame,
TotalFrames returns the total number of bitmap frames.
Download links, links to the full changelog and updated docs in the usual place.
