Backcolor graphics mode DOS32

new topic     » topic index » view thread      » older message » newer message

------=_NextPart_000_0018_01C0B85E.D61DFCE0
	charset="iso-8859-1"

Hello,

I'm relatively new at Euphoria, so maybe this is a trivial question.
However, help is appreciated!
Given the following coding (DOS32):

    include graphics.e
    object dummy
    dummy =3Dgraphics_mode(18)   =20
    clear_screen()
    bk_color(BLUE)
    polygon(BRIGHT_WHITE,1,{{60,150},{200,150},{200,285},{60,285}})
    position(11,09)
    text_color(MAGENTA)
    ?(12345)=20

This results in a magenta number on a blue background inside a
white rectangle.
I would like to have the number in magenta on the white background=20
of the rectangle, without losing the blue background of the rest of
the screen.

Is that possible at all ? Thanks for the help!

Fritz Deneken.



------=_NextPart_000_0018_01C0B85E.D61DFCE0
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
trivial question.<BR>However, help is appreciated!<BR>Given the =
following coding=20
(DOS32):</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; include=20
graphics.e<BR>&nbsp;&nbsp;&nbsp; object dummy<BR>&nbsp;&nbsp;&nbsp; =
dummy=20
=3Dgraphics_mode(18)&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;=20
clear_screen()<BR>&nbsp;&nbsp;&nbsp; =
bk_color(BLUE)<BR>&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;=20
position(11,09)<BR>&nbsp;&nbsp;&nbsp; =
text_color(MAGENTA)<BR>&nbsp;&nbsp;&nbsp;=20
?(12345)&nbsp;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>This results in a magenta number on a =
blue=20
background inside a<BR>white rectangle.<BR>I would like to have the =
number in=20
magenta on the white background <BR>of the rectangle, without losing the =
blue=20
background of the rest of<BR>the screen.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Is that possible at all ? Thanks for =
the=20
help!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Fritz Deneken.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>


------=_NextPart_000_0018_01C0B85E.D61DFCE0--

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu