
Naja, kommt Zeit, kommt Beta...
Grüße ... Kiffi
Fred hat geschrieben:Hi folks,
update: beta 4 is out. Only bug fixes this time ! I have also published a new ui.xml example which show resizing (see below).
update: beta 5 is available. As always, some bug fixes and also the 'Module' lib fully renamed to 'Music'. Added #PB_Module support to Defined() for completeness.
Code: Alles auswählen
If OpenWindow(0, 0, 0, 300, 300, "2DDrawing Beispiel", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
If CreateImage(0, 300, 300) And StartDrawing(ImageOutput(0))
Box(0, 0, 300, 300, RGB(255, 255, 255))
Circle(150, 150, 125 ,$00FF00)
Circle(150, 150, 120 ,$FF0000)
LineXY(30, 150, 270, 150, $FFFFFF)
FillArea(150, 155, -1, $0000FF) ; Ersetze -1 durch $00FF00, und vergleiche das Ergebnis
StopDrawing()
ImageGadget(0, 0, 0, 300, 300, ImageID(0))
EndIf
Repeat
Event = WaitWindowEvent()
If GetAsyncKeyState_(#VK_E)
RunProgram("NotePad.exe","","",#PB_Program_Wait)
EndIf
Until Event = #PB_Event_CloseWindow
EndIf