mseide-msegui icon indicating copy to clipboard operation
mseide-msegui copied to clipboard

msegui & bgrabitmap

Open codz01 opened this issue 2 years ago • 7 comments

Hi is bgrabitmap compatible with msegui ?

codz01 avatar Jun 13 '22 17:06 codz01

Hi. Yes. For example, this project uses BGRABitmap: strumpract (Look at the last screenshot, at the end of the page.)

rchastain avatar Jun 13 '22 18:06 rchastain

Yes, of course, since version [5.2.0.].

There is even a demo in BGRABitmap source with fractal_tree.prj mseide/ideU project file: https://github.com/bgrabitmap/bgrabitmap/tree/dev-bgrabitmap/test/test4ideu/fractal_tree

bgra_mseguitext

[EDIT] You will need to create the directory /units in the root directory of the project (empty directories are removed by GitHub)

fredvs avatar Jun 13 '22 18:06 fredvs

thanks , i download bgrabitmap and tryed open the project you mention ( fractal_tree ) , but i got lots of errors , do i need extra steps to compile this project ? Untitled

codz01 avatar Jun 13 '22 21:06 codz01

i am using msegui 5.6.7 about

codz01 avatar Jun 13 '22 21:06 codz01

Hello.

Did you set in Project Options-Make-Directories the dev-directory of BGRABitmap?

fractral_tree_dir

You will need to download the source of BGRABitmap from here: https://github.com/bgrabitmap/bgrabitmap/archive/refs/heads/dev-bgrabitmap.zip

Unzip it and set the directory of /dev-bgrabitmap/bgrabitmap in project options-make-directories.

To use BGRABitmap with MSEgui, you will need those fpc parameters: -dclass_bridge and -dBGRABITMAP_USE_MSEGUI

fractral_tree_par

And re-build all (better to first delete all the files in /units).

fredvs avatar Jun 13 '22 22:06 fredvs

Hi sorry for the delay , it was my mistake i forgot the -B switch , msegui should rebuild with class_bridge define it works fine now , thanks for the info

codz01 avatar Jun 15 '22 17:06 codz01

i forgot the -B switch

Aaargh, that "eternal" fpc bug is still not fixed, indeed, without -B, fpc ignore the content inside some {$ ifdef ...}.

fredvs avatar Jun 15 '22 18:06 fredvs