Hello Fred,

you wrote on Sun, 19 May 2024 05:21:32 +0000:

> To use BRABitmap for MSEgui, do this:
> 
>   1.  Download BGRABitmap source from here:
> https://github.com/bgrabitmap/bgrabitmap

That's where I got it.

>   1.  In project options tab Make/Directories:
> Add using your BGRABitmap source directory:
> ${BGRABITMAPDIR}/bgrabitmap

I did it accordingly, although not in the ide's project options as I'm
mostly using my command line "make" script. This (now) can extract the
project options from the .prj file, but can also take additional options
for a casual modified compile. (It you were interested. I can, of course,
put it on my web site for you.)
One slight problem lies in the format of the unit references - you wrote
the names with capitals, but the file names use lower case only. This
inhibits Linux from finding them, and the compiler complains about wrong
file names if one creates correctly spelled links. So, for Linux (and other
unixen) the unit references should either be written with lower case
letters, or the shell must be set to find files disregarding the letter
case (bash "shopt -s nocaseglob", e.g.). Or the file names changed, of
course.

>   1.  In tab Make/Make Options add this parameters:
> -dBGRABITMAP_USE_MSEGUI -dclass_bridge

Here probabely lies the cause for my failure: Although I set the first
definition (which I derived from your code in your msefiledialogx unit), I
didn't know about the second one. But sadly, doesn't work out, see below.

>   1.  And in your source, in the uses section add those units:
> uses
>   BGRABitmap,
>   BGRADefaultBitmap,
>   BGRABitmapTypes, ...

This was done also, in accordance with the example code I found from your
units.

> Here the updated procedure:

Thank you very much.
But right now, I haven't yet included that in the test compile. So testing
has to wait a bit until the basic program works correctly with the BGRA
graphics units.
When I now tried to use the ide for building the project, I got the same
error message, and a lot of additional lines below. The origin of the
problem seems to be the declaration "tbitmapcomp1: TBGRABitmap;" of the
dialog form, which isn't, and cannot be, reflected in the .mfm file, as the
ide just doesn't provide such a component, and there is none in the
"bgrabitmap" directory. Is it possible that one had to recompile the IDE
with BGRA bitmapps enabled, to get access to the pertinent components and
to be able to use them?
Unfortunately, I couldn't find halp looking through the specifications of
your bgra project files for your ideU, because there you refer to elements
that I cannot associate with anything available, most prominently a number
of refreences to subdirectories named "bgragui*". I cannot find anything
corresponding to any of them anywhere.
So it doesn't seem to be as straightforward to use that stuff as seemed
from your optimistic presentation of the "simple" screen dump routine...

Anyway, have a nice time, and keep up the good work!

-- 
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
-----------------------------------------------------------
Mit freundlichen Grüßen, S. Schicktanz
-----------------------------------------------------------




_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to