1. CORNERS

The 11/07/97 16:21:45 Eric Dobbertin wrote :
>Subject:      Graphics Questions
>I have 2 questions...
>1) i was wondering if there is any way of using the read_bitmap() and
>display_image() to display BMP files (which i already do fine) while not
>having a box around the screen (may be a stupid question but i just can't
>figure it out) ...
.
I had the same problem. I added this little code at the end of the
displayer code and the box disappeared (without tampering the palette)
Hope it helps.
.
-- DOSBORD.EX  Interrupt example
include graphics.e
include machine.e
constant  ERR = 2
sequence reg_list -- list of register values
reg_list = repeat(0, 10)
reg_list[REG_AX] = #1001   -- function: AH = #10 AL= #01 => Color of border
reg_list[REG_BX] = #1000   -- BH : set color of border (0 is black)
reg_list = dos_interrupt(#10, reg_list) -- Call DOS interrupt #10
---End code -----
Regards,
Jean H.

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu