PureBasic 4.61 beta 4 !
Re: PureBasic 4.61 beta 4 !
Gah! Nevermind, it's me not reading code correctly...
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Re: PureBasic 4.61 beta 4 !
Thanks. 

https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
Re: PureBasic 4.61 beta 4 !
Is only a subjective impression. But since Beta 3/4 there are more often window redraws.
It looks a little bit like flickering ...
I'll further investigate and checking if SmartWindowRefresh() will help...
It looks a little bit like flickering ...
I'll further investigate and checking if SmartWindowRefresh() will help...
"Daddy, I'll run faster, then it is not so far..."
Re: PureBasic 4.61 beta 4 !
You mean in the IDE ?
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Re: PureBasic 4.61 beta 4 !
All works fine here - can't see any extra flickering at all.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
Re: PureBasic 4.61 beta 4 !
No. I do a lot with images usingFred wrote:You mean in the IDE ?
the ImageGadget(). It seems the
Images (24Bit) are more redrawed like
the 32 Bit Images since the Alpha
Channel support.
I'll continue to do some tests...
"Daddy, I'll run faster, then it is not so far..."
Re: PureBasic 4.61 beta 4 !
I come closer to the redraw issue...
It seems the ImageGadget() will now more redrawed,
if its over an other Gadget like ScrollAreaGadget()...
Unfortunately, I do not have a reproducible sample
But I'll keep trying...
It seems the ImageGadget() will now more redrawed,
if its over an other Gadget like ScrollAreaGadget()...
Unfortunately, I do not have a reproducible sample

But I'll keep trying...
"Daddy, I'll run faster, then it is not so far..."
Re: PureBasic 4.61 beta 4 !
PB 4.61B4 Win7 x86
What happens here: Once the Image Window will be visible,
there is a short flicker effect: first a gray screen and later
the gradient image.
If you switch to another window (e.g. the one in the background)
the image is going to redrawing.
This behaviour is since PB4.61 ... anyone can confirm it?
What happens here: Once the Image Window will be visible,
there is a short flicker effect: first a gray screen and later
the gradient image.
If you switch to another window (e.g. the one in the background)
the image is going to redrawing.
This behaviour is since PB4.61 ... anyone can confirm it?
Code: Select all
CreateImage(0, 800, 600)
If StartDrawing(ImageOutput(0))
DrawingMode(#PB_2DDrawing_Gradient)
BackColor($00FFFF)
FrontColor($FF0000)
BoxedGradient(0, 0, 800, 600)
Box(0, 0, 800, 600, $FFFFFF)
StopDrawing()
EndIf
If OpenWindow(1, 0, 0, ImageWidth(0) + 50, ImageHeight(0) + 50, "Image Viewer", #WS_OVERLAPPEDWINDOW)
If OpenWindow(0, 0, 0, ImageWidth(0), ImageHeight(0), "Image", #WS_OVERLAPPEDWINDOW|#PB_Window_Invisible, WindowID(1))
ScrollAreaGadget(1, 0, 0, ImageWidth(0), ImageHeight(0), ImageWidth(0), ImageHeight(0), 1, #PB_ScrollArea_BorderLess )
ImageGadget(2, 0, 0, ImageWidth(0), ImageHeight(0), ImageID(0) )
CloseGadgetList()
EndIf
EndIf
While WindowEvent() : Wend
HideWindow(0, #False)
Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow
"Daddy, I'll run faster, then it is not so far..."
- [blendman]
- Enthusiast
- Posts: 297
- Joined: Thu Apr 07, 2011 1:14 pm
- Location: 3 arks
- Contact:
Re: PureBasic 4.61 beta 4 !
I confirma, i have the same Flickering here, on win xp x86.
You should post on bugs/windows, I think (but I don't know if it's really a bug).
You should post on bugs/windows, I think (but I don't know if it's really a bug).