I got little problem it doesnt draw, its B+, Wheres my little error ;) Just started and I already got errors lol
practice1.bb
Include "MGUI.bb"
MGUI_Window( wndMain, "Testing", 0, 50, 200, 200, blue)
Repeat
Forever
MGUI
;----------------------------------
; Created by Kaisuo Ninji -
; Master GUI for BlitzPlus -
; This file contain the Functions -
;----------------------------------
;---------------------------------------------------------------
; This Function creates a Window -
Function MGUI_Window( winHandler, Name$, x, y, width, height, winColor)
; This creates the window
winHandler = CreateWindow(Name$,x,y,width,height,0,0)
; This creates the canvas for all the window's drawing events.
MGUI_Canvas = CreateCanvas(0,0,width,height,winHandler)
; Set the buffer
SetBuffer CanvasBuffer(MGUI_Canvas)
; This creates the window's Title Bar.
Select winColor
Case silver
; DRAW SILVER
Color 164,163,190
Rect 0, 0, width, 20, solid
Case blue
; DRAW BLUE
End Select
; UPDATE
Cls
FlipCanvas(MGUI_Canvas)
End Function
;---------------------------------------------------------------
|