Help

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

------=_NextPart_000_0005_01C003E2.3E115770
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Dear Coders,

I tried making the mouse available in graphics_mode but i failed and i =
knew I would cuz i started using EU few days back. I am so fascinated =
that i want to learn it and try all that i could. I read the ".e" file =
and went through lines of code and was able to understand a few lines. I =
know it would sound silly what i copied from the mouse.e file but i =
tried it anyways cuz i thought maybe it would work and the pointer would =
be seen running as i move the mouse on the pad.
So, what is the legal way to do it?

include mouse.e         --For mouse availibility, I tried, Phew!
include graphics.e      --For graphics mode 640x480 with 16 colors
clear_screen()          --Would be good
object kyo
kyo =3D graphics_mode(18)
position(7,29)          --For text position
puts(1, "Lets see how it works. ;)")
constant M_GET_MOUSE =3D 14       --Have no idea what i am doing.
  M_MOUSE_EVENTS =3D 15    --Saw this in mouse.e file and
  M_MOUSE_POINTER =3D 25   --thought it would do
global function get_mouse()     --No idea what im doing
return machine_function(M_GET_MOUSE, 0) -- No idea
end function        --Oh dear, still no idea.

Best wished for all coders

-Asif

------=_NextPart_000_0005_01C003E2.3E115770
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!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.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Dear Coders,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I tried making the mouse available in =
graphics_mode=20
but i failed and i knew I would cuz i started using EU few days back. I =
am so=20
fascinated that i want to learn it and try all that i could. I read the =
".e"=20
file and went through lines of code and was able to understand a few =
lines. I=20
know it would sound silly what i copied from the mouse.e file but i =
tried it=20
anyways cuz i thought maybe it would work and the&nbsp;pointer would be =
seen=20
running as i move the mouse on the pad.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>So, what is the legal way to do =
it?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>include=20
mouse.e&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --For mouse=20
availibility, I tried, Phew!<BR>include =
graphics.e&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
--For graphics mode 640x480 with 16=20
nbsp;=20
--Would be good<BR>object kyo<BR>kyo =3D=20
bsp;&nbsp;&nbsp;=20
--For text position<BR>puts(1, "Lets see how it works. ;)")<BR>constant=20
M_GET_MOUSE =3D 14&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --Have no idea =
what i am=20
doing.<BR>&nbsp; M_MOUSE_EVENTS =3D 15&nbsp;&nbsp;&nbsp; --Saw this in =
mouse.e=20
file and<BR>&nbsp; M_MOUSE_POINTER =3D 25&nbsp;&nbsp; --thought it would =

do<BR>global function get_mouse()&nbsp;&nbsp;&nbsp;&nbsp; --No idea what =
im=20
doing<BR>return machine_function(M_GET_MOUSE, 0) -- No idea<BR>end=20
function&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --Oh dear, still no=20
idea.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Best wished for all coders</FONT></DIV>
<DIV>&nbsp;</DIV>

------=_NextPart_000_0005_01C003E2.3E115770--

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

Search



Quick Links

User menu

Not signed in.

Misc Menu