bgrabitmap / bgracontrols

🆗 BGRA Controls is a set of graphical UI elements that you can use with Lazarus LCL applications.
https://bgrabitmap.github.io/bgracontrols/
189 stars 32 forks source link

BGRAControls and MSEgui #86

Closed fredvs closed 4 years ago

fredvs commented 4 years ago

Hello.

I am trying to convert some BGRABitmap demos using MSEgui widgetset. Now I am busy with the "fractal_tree" demo.

But it fails to compile with that error:

bgravirtualscreen.pas(48,34) Fatal: Can't find unit LMessages used by BGRAVirtualScreen

Is it possible to use BGRAControls without the LCL LMessages unit (and all other LCL dependencies like graphtypes) ?

Thanks.

Fre;D

fredvs commented 4 years ago

Re-hello.

I did not catch the advantage of bgravirtualscreen, is it possible to draw on a canvas of a maximized form without bgravirtualscreen, would it be slower or give some limitation?

Thanks for some light.

Fre;D

fredvs commented 4 years ago

Re-re hello.

Ok, the convertion of "Fractal Tree" BGRABitmap demo using MSEgui widgetset is ok.

By the way, big WoW.

This without using bgravirtualscreen but directly on the canvas of a tmsepaintbox, so I dont know if it is the good way and if there will be problems.

Capture d’écran_2020-08-18_23-57-15

Here the source:

fractal_tree_mse.zip

lainz commented 4 years ago

It will be good without bgravirtualscreen. Looking good.

fredvs commented 4 years ago

Hello.

Here a Dancing Fractal Tree:

image_dancer.mp4.zip

circular17 commented 4 years ago

BGRAVirtualScreen can provide some optimizations but if it works well with a TMSEPaintBox, that's quite good. In particular if you refresh the whole area anyway.

fredvs commented 4 years ago

Ha ok, thanks. By the way, I dont use a TMSEPaintBox anymore but directly the canvas of a TMSEform and the result is perfect. (And faster than the same demo done with a TLCLform, but, ok, ok, no propaganda.)