<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="SV" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">Dear all, I am a novice with respect to UR/Web and I want to use it together with SVG. I found the prototype ffi for SVG at <a href="https://github.com/karsar/urweb-examples/tree/master/SVGTest" target="_blank">https://github.com/karsar/urweb-examples/tree/master/SVGTest</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#222222;background:white"> after reading through the material, doing all the tutorials and generally digging around internet.</span><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222"> <o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">Anyway, I took the example from <a href="https://github.com/karsar/urweb-examples/tree/master/SVGTest" target="_blank">https://github.com/karsar/urweb-examples/tree/master/SVGTest</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#222222;background:white"> and tried to modify it; I fail repeatedly, so now I turn to this email list.</span><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222"> <o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">Instead of the SVGTest.ur that has all the functionality in main, I tried to break it out to a separate function “proc”. I took the idea from <a href="http://www.impredicative.com/ur/demo/sql.html" target="_blank">http://www.impredicative.com/ur/demo/sql.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#222222;background:white"> to generate an html page into a variable and then add that as return statement in the main function as seen below.</span><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222"> <o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">===== Modified SVGTest.ur with respect to <a href="https://github.com/karsar/urweb-examples/tree/master/SVGTest" target="_blank">https://github.com/karsar/urweb-examples/tree/master/SVGTest</a><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222"> <o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">open SVG<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">    <o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">con intPair = int*int<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222"> <o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">fun fst (x: intPair) = x.1<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">fun snd (x: intPair) = x.2<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">fun circleDraw(x: intPair): xsvg =<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">    <xml><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">     <circle cx={show ((fst x)-60)} cy={show ((snd x)-100)} r="10" stroke="red" fill="blue"/><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">    </xml><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222"> <o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222"> <o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">fun proc (x: intPair) =<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">    x <- source x;<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">    return<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">                             <xml><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">                               <body onmousemove={fn ev => set x (ev.ScreenX,ev.SceenY)}><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">                                 <div style="width:800; heigth:800"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">                                   <dyn signal={x<-signal x;<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">                                                                                          return<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">                                                                                              <xml><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">                                                                                                                     <svg width="800" height="800"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">                                                                                                                       {circleDraw x}<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">                                                                                                                     </svg><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">                                                                                              </xml>}/><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">                                                                                                                          </div><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">                                 </body><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">                               </xml><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222"> <o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">  <o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222"> <o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">fun main(): transaction page =<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">    xml <- proc (0,0);<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">    return<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">                             <xml><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">                               <head><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">                                 Banzai<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">                               </head><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">                               <body><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">                                 {xml}<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">                               </body><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">                             </xml><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222"> <o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222">   <o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222"> <o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#222222"> <o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">I have tried different options (e.g., that the proc should return transaction page, xbody, xsvg) and I fail in different ways. (I tried to add other functionality initially, but I removed it to try to get to the bottom
 of the problem).<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222"> <o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">The compiler tells me:<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222"> <o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222"> <o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222"> <o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">urweb SVGTest<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">/home/a/SVGTest2/SVGTest.ur:33:4: (to 44:2) Error in final record unification<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">Can't unify record constructors<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">Have:  [Dyn = (), MakeForm = (), Body = ()]<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">Need:  [Html = ()]<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">/home/a/SVGTest2/SVGTest.ur:33:4: (to 44:2) Stuck unifying these records after canceling matching pieces:<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">Have:  [Dyn = (), MakeForm = (), Body = ()]<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">Need:  [Html = ()]<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">/home/a/SVGTest2/SVGTest.ur:17:7: (to 17:64) Error in final record unification<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">Can't unify record constructors<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">   Have:<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">[Data = data_attr, Onload = transaction {},<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">  Onresize = transaction {}, Onunload = transaction {},<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">  Onhashchange = transaction {},<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">  [<<< REMOVED to reduce size of message>>>]<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">Value 1:<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">{ScreenX : int, ScreenY : int, ClientX : int, ClientY : int,<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">  CtrlKey : bool, ShiftKey : bool, AltKey : bool, MetaKey : bool,<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">  Button : mouseButton} -> transaction {}<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">Value 2:<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">$(([ScreenX = int, SceenY = int]) ++ <UNIF:U141::{Type}>) -><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222"> transaction {}<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">Can't unify record constructors<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">Have:<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">[ScreenX = int, ScreenY = int, ClientX = int, ClientY = int,<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">  CtrlKey = bool, ShiftKey = bool, AltKey = bool, MetaKey = bool,<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">  Button = mouseButton]<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">Need:  <UNIF:U141::{Type}> ++ [ScreenX = int, SceenY = int]<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222"> <o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">Compilation exited abnormally with code 1 at Wed Apr 11 08:45:06<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222"> <o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222">Thanks in advance, Jonas Mellin, Senior Lecturer, University of Skövde<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222"> <o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="color:#222222"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</body>
</html>