Voici mon code :
Code : Tout sélectionner
Largeur=200
Hauteur=150
If OpenWindow(0, 0, 0, Largeur, Hauteur, "Cercles", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
If StartDrawing(WindowOutput(0))
Circle(50, 50, 50 ,RGB(19, 12, 236))
Circle(50, 50, 10 ,RGB(245, 8, 10))
StopDrawing()
EndIf
Repeat : Event = WaitWindowEvent() : Until Event = #PB_Event_CloseWindow
EndIf