FreeBASIC Compiler - Version 0.21.0 (01-23-2010) for win32 (target:win32)
while doing some specific job... i found again some bugs
and this time i decided to report they...
1) WindowTitle is causing it to the update the screen even when the screen is locked
2) ScreenControl(fb.SET_WINDOW_POS) isnt updating the clipping area, so the area is only updated later (maybe when mouse get out of the screen and then back again...)
Code: Select all
#include "fbgfx.bi"
screenres 320,240,16
Screencontrol(fb.SET_WINDOW_POS,16,16)
' ****************************************************************
' ***************************** BUG 1 ****************************
' ****************************************************************
screenlock
for CNT as integer = 1 to 512
circle(rnd*320,rnd*240),100,rgb(rnd*255,rnd*255,rnd*255),,,,f
WindowTitle("Count=" & CNT) ' <- this is causing it to update
sleep 1,1
next CNT
screenunlock
' ****************************************************************
' **************************** BUG 2 *****************************
' ****************************************************************
setmouse ,,,1
Screencontrol(fb.SET_WINDOW_POS,400,300) ' <- not updating clip area
sleep