BltBitMapRastPort() problem

3 posts / 0 new
Last post
JosDuchIt
JosDuchIt's picture
Offline
Last seen: 7 years 4 months ago
Joined: 2012-01-08 20:57
BltBitMapRastPort() problem

I got new errors in the Gui4Cli source i did not touch much last years.
for the BltBitMapRastPort() function

error: 'ABC' undeclared (first use in this function)
error: 'ABNC' undeclared (first use in this function)
for the line
BltBitMapRastPort(img->bm, 0, 0, &rp, MinX, MinY + hpos, img->bmh.bmh_Width, ht, MINT); /

#define MINT (ABC | ABNC)
is in the source too and obviously is recognised.
So why this error? Did something change in the allowed minterms recently ?
If yes what should i use for MINT definition ??
(my knowledge of graphics.library is nearly zero a i hope this can be solved without mediggin into that libray.)

salass00
salass00's picture
Offline
Last seen: 1 year 2 months ago
Joined: 2011-02-03 11:27
Re: BltBitMapRastPort() problem

In the latest SDK the minterm constants have been prefixed with "MINTERM_" so you can either change it to:

#define MINT (MINTERM_ABC | MINTERM_ABNC)

or you could just use the value 0xC0 directly in your code (it is equivalent to the above macro constant).

JosDuchIt
JosDuchIt's picture
Offline
Last seen: 7 years 4 months ago
Joined: 2012-01-08 20:57
Re: BltBitMapRastPort() problem

Thanks

Log in or register to post comments