<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>MQX Software SolutionsのトピックRe: eGUI: How to draw a line ?</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/eGUI-How-to-draw-a-line/m-p/288160#M9168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;this points on any older version of eGUI, in current version (close to release) is handled children object also and the loop looks differently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In these thread you can find one latest snapshot of eGUI 3.0:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/323071#323071"&gt;https://community.freescale.com/message/323071#323071&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, if in the message the pObject pointer is NULL, then the message is targeted just only to screen!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 May 2013 05:06:39 GMT</pubDate>
    <dc:creator>Gargy</dc:creator>
    <dc:date>2013-05-17T05:06:39Z</dc:date>
    <item>
      <title>eGUI: How to draw a line ?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/eGUI-How-to-draw-a-line/m-p/288156#M9164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to draw straight line on eGUI screen, but I can't see it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have tried two line thickness settings and both lines are not visible :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong ? Any working example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Bulek.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Apr 2013 00:30:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/eGUI-How-to-draw-a-line/m-p/288156#M9164</guid>
      <dc:creator>robroz</dc:creator>
      <dc:date>2013-04-28T00:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: eGUI: How to draw a line ?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/eGUI-How-to-draw-a-line/m-p/288157#M9165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;there could be three reasons why you can't see the line on the screen:&lt;/P&gt;&lt;P&gt;1: you are drawing same color as is background&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2: you wrongly used coordinations, there is used system of drawing from last draw point. So the function is LineTo(...). For example good example how to draw triangle with points A,B,C - (ax,ay), (bx,by) and (cx,cy).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;D4D_MoveToXY(ax, ay);&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;D4D_LineToXY(bx, by, D4D_LINE_THIN, D4D_COLOR_RED);&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;D4D_LineToXY(cx, cy, D4D_LINE_THIN, D4D_COLOR_RED);&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;D4D_LineToXY(ax, ay, D4D_LINE_THIN, D4D_COLOR_RED);&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3: You are draw on place that will be redraw by any object/screen by eGUI automatically. For example one way how to draw on screen additional graphics after eGUI redraw the screen.To the ScreenOnMessage function add code like this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;// Screen on message function called with each internal massage for this screen&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;static Byte ScreenMain_OnObjectMsg(D4D_MESSAGE* pMsg)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // check that this is message for the screen (not for object - NULL pointer) and the message is draw done&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp; if((pMsg-&amp;gt;pObject == NULL) &amp;amp;&amp;amp; (pMsg-&amp;gt;nMsgId == D4D_MSG_DRAWDONE))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp; {&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // When the screen content is drawed - just draw the triangle&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D4D_MoveToXY(ax, ay);&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D4D_LineToXY(bx, by, D4D_LINE_THIN, D4D_COLOR_RED);&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D4D_LineToXY(cx, cy, D4D_LINE_THIN, D4D_COLOR_RED);&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D4D_LineToXY(ax, ay, D4D_LINE_THIN, D4D_COLOR_RED);&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp; }&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp; return D4D_MSG_NOSKIP;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 05:40:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/eGUI-How-to-draw-a-line/m-p/288157#M9165</guid>
      <dc:creator>Gargy</dc:creator>
      <dc:date>2013-04-29T05:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: eGUI: How to draw a line ?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/eGUI-How-to-draw-a-line/m-p/288158#M9166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robroz :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell us how was the example working! We'd like to know, was it useful?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Monica.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 May 2013 23:39:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/eGUI-How-to-draw-a-line/m-p/288158#M9166</guid>
      <dc:creator>Monica</dc:creator>
      <dc:date>2013-05-01T23:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: eGUI: How to draw a line ?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/eGUI-How-to-draw-a-line/m-p/288159#M9167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for advice...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hmm, something is wrong - I've setup breakpoint in that drawing part and it never gets in... I've set breakpoint on if clause and it seems that all messages are only for objects, never object is null...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in d4d_screen.c :&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;for(i=0; pScreen-&amp;gt;pObjects[i] != NULL; i++)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;{&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;pObj = (D4D_OBJECT*) pScreen-&amp;gt;pObjects[i];&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;if(!(pObj-&amp;gt;flags-&amp;gt;bits.bVisible))&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;continue;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;d4d_msg.pObject = pObj;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;and it seems that pObj never gets to NULL!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Am I wrong ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;I've added after for loop that message is sent once again with null pObject and it works for now... Do I have some outdated version of eGUI ?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Rob.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2013 17:40:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/eGUI-How-to-draw-a-line/m-p/288159#M9167</guid>
      <dc:creator>robroz</dc:creator>
      <dc:date>2013-05-16T17:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: eGUI: How to draw a line ?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/eGUI-How-to-draw-a-line/m-p/288160#M9168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;this points on any older version of eGUI, in current version (close to release) is handled children object also and the loop looks differently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In these thread you can find one latest snapshot of eGUI 3.0:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/323071#323071"&gt;https://community.freescale.com/message/323071#323071&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, if in the message the pObject pointer is NULL, then the message is targeted just only to screen!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 05:06:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/eGUI-How-to-draw-a-line/m-p/288160#M9168</guid>
      <dc:creator>Gargy</dc:creator>
      <dc:date>2013-05-17T05:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: eGUI: How to draw a line ?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/eGUI-How-to-draw-a-line/m-p/288161#M9169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for response. If I understand right, it's highly recommended to switch to prerelease V3.0 of eGUI? What are your experiences on potential migrating problems for v3.0?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bul.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 16:22:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/eGUI-How-to-draw-a-line/m-p/288161#M9169</guid>
      <dc:creator>robroz</dc:creator>
      <dc:date>2013-05-17T16:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: eGUI: How to draw a line ?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/eGUI-How-to-draw-a-line/m-p/288162#M9170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I really recommended to migrate, in 3.0 is big amount of new features and the object could for example use bevels to make softer visual appearance, object could be compounded from other objects (group box etc), multilanguage, unicode etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The effort what you have to do for migration is not so big, there is only few non compatibility in object declaration in general.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just switch the source codes (also in your project - there is a new files).&lt;/P&gt;&lt;P&gt;Check the includes paths in project - now is needed just one to root D4D folder.&lt;BR /&gt;And go through the compilation errors (and check the new declarations in eGUI headers).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know how hard was this :-)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 04:30:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/eGUI-How-to-draw-a-line/m-p/288162#M9170</guid>
      <dc:creator>Gargy</dc:creator>
      <dc:date>2013-05-20T04:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: eGUI: How to draw a line ?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/eGUI-How-to-draw-a-line/m-p/288163#M9171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for response... Will do this as soon as possible...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you also have any kind of "prerelase" documentation or at least a list of novelties in v3.0 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any kind of even non-complete documentation will be of great help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm particularly after "multilanguage" and Unicode support...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bul.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 10:56:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/eGUI-How-to-draw-a-line/m-p/288163#M9171</guid>
      <dc:creator>robroz</dc:creator>
      <dc:date>2013-05-20T10:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: eGUI: How to draw a line ?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/eGUI-How-to-draw-a-line/m-p/288164#M9172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, at the moment I working on switch complete API of eGUI description into DOXYGEN comment direct in code , give me some time to finish it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The DRM116 document is little bit out date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 May 2013 12:21:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/eGUI-How-to-draw-a-line/m-p/288164#M9172</guid>
      <dc:creator>Gargy</dc:creator>
      <dc:date>2013-05-27T12:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: eGUI: How to draw a line ?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/eGUI-How-to-draw-a-line/m-p/288165#M9173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please post even partial and not finished documents as you work on it... Something is much better than nothing :-)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bul.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 May 2013 19:43:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/eGUI-How-to-draw-a-line/m-p/288165#M9173</guid>
      <dc:creator>robroz</dc:creator>
      <dc:date>2013-05-27T19:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: eGUI: How to draw a line ?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/eGUI-How-to-draw-a-line/m-p/288166#M9174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried to draw a simple line with the eGUI, but I got into lots of expression syntax error and messages about identifier 'D4D_MoveToXY(unsigned short, unsigned short) was originally declared as '__regabi void (unsigned short, unsigned short)'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is part of my screen_hello_world.c :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13868741428117147" jivemacro_uid="_13868741428117147"&gt;
&lt;P style="text-align: left; padding-left: 30px;"&gt;#include "main.h"&lt;/P&gt;
&lt;P style="text-align: left; padding-left: 30px;"&gt;#include "pictures.h"&lt;/P&gt;
&lt;P style="text-align: left; padding-left: 30px;"&gt;#include "d4d.h"&lt;/P&gt;
&lt;P style="text-align: left; padding-left: 30px;"&gt;&lt;/P&gt;
&lt;P style="text-align: left; padding-left: 30px;"&gt;&lt;/P&gt;
&lt;P style="text-align: left; padding-left: 30px;"&gt;D4D_COOR ax = 150, ay = 200;&lt;/P&gt;
&lt;P style="text-align: left; padding-left: 30px;"&gt;D4D_COOR bx = 300, by = 400;&lt;/P&gt;
&lt;P style="text-align: left; padding-left: 30px;"&gt;D4D_COLOR clr = D4D_COLOR_RED;&lt;/P&gt;
&lt;P style="text-align: left; padding-left: 30px;"&gt;&lt;/P&gt;
&lt;P style="text-align: left; padding-left: 30px;"&gt;&lt;/P&gt;
&lt;P style="text-align: left; padding-left: 30px;"&gt;// Declaration of example Label&lt;/P&gt;
&lt;P style="text-align: left; padding-left: 30px;"&gt;D4D_DECLARE_STD_LABEL_AUTOSIZE(lbl_HelloWorld, "Hello World", 70, 50, FONT_8x14_BIG)&lt;/P&gt;
&lt;P style="text-align: left; padding-left: 30px;"&gt;&lt;/P&gt;
&lt;P style="text-align: left; padding-left: 30px;"&gt;&lt;/P&gt;
&lt;P style="text-align: left; padding-left: 30px;"&gt;// mutam logical cursor&lt;/P&gt;
&lt;P style="text-align: left; padding-left: 30px;"&gt;D4D_MoveToXY( ax, ay );&lt;/P&gt;
&lt;P style="text-align: left; padding-left: 30px;"&gt;&lt;/P&gt;
&lt;P style="text-align: left; padding-left: 30px;"&gt;// desenam linia - de la logical cursor la ppt (pointer to point)&lt;/P&gt;
&lt;P style="text-align: left; padding-left: 30px;"&gt;D4D_LineToXY( bx, by, D4D_LINE_THICK, clr);&lt;/P&gt;
&lt;P style="text-align: left; padding-left: 30px;"&gt;&lt;/P&gt;
&lt;P style="text-align: left; padding-left: 30px;"&gt;// Standard screen declaration with 3 objects&lt;/P&gt;
&lt;P style="text-align: left; padding-left: 30px;"&gt;//D4D_DECLARE_STD_SCREEN_BEGIN(screen_HelloWorld, ScreenHelloWorld_)&lt;/P&gt;
&lt;P style="text-align: left; padding-left: 30px;"&gt;D4D_DECLARE_SCREEN_BEGIN(screen_HelloWorld, ScreenHelloWorld_, 0, 0, 319, 239, "MyHelloWorld", FONT_8x14_BIG, NULL, D4D_SCR_F_BCKG | D4D_SCR_F_TITLEBAR, NULL)&lt;/P&gt;
&lt;P style="text-align: left; padding-left: 30px;"&gt;&amp;nbsp; D4D_DECLARE_SCREEN_OBJECT(lbl_HelloWorld)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P style="text-align: left; padding-left: 30px;"&gt;D4D_DECLARE_SCREEN_END()&lt;/P&gt;
&lt;/PRE&gt;&lt;P style="text-align: left; padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;and these are the first errors appeared in Console ( I didn't paste the hole output as there are many "syntax error"s after these ones &lt;SPAN class="lia-unicode-emoji" title=":disappointed_face:"&gt;&lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P style="padding-left: 30px;"&gt;C:/Freescale/CW_MCU_v10.2/MCU/ColdFire_Tools/Command_Line_Tools/mwccmcf|Compiler|Error&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;(D:\CWWorkspace\JM128EGUI\App\screen_hello_world.c|29|22|1|684|1)&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;=D4D_MoveToXY( ax, ay );&amp;nbsp; &lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&amp;gt;identifier 'D4D_MoveToXY(unsigned short, unsigned short)' redeclared as&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&amp;gt;'__regabi int (...)'&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;(D:\CWWorkspace\JM128EGUI\Freescale_Embedded_Gui\common_files\d4d.h|152|41|1|5638|1)&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;=void D4D_MoveToXY(D4D_COOR x, D4D_COOR y);&amp;nbsp; &lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&amp;gt;identifier 'D4D_MoveToXY(unsigned short, unsigned short)' was originally&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&amp;gt;declared as '__regabi void (unsigned short, unsigned short)'&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;(D:\CWWorkspace\JM128EGUI\App\screen_hello_world.c|36|1|6|920|24)&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;= extern const D4D_OBJECT * const screen_HelloWorld_objects[]; static vo&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&amp;gt;expression syntax error&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;C:/Freescale/CW_MCU_v10.2/MCU/ColdFire_Tools/Command_Line_Tools/mwccmcf|Compiler|Error&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;(D:\CWWorkspace\JM128EGUI\App\screen_hello_world.c|36|32|6|920|24)&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;=st screen_HelloWorld_objects[]; static void ScreenHelloWorld_OnInit(); static void ScreenHelloWorld_On&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&amp;gt;expression syntax error&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P style="text-align: left; padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;If you could help me understand, it would be great!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Simona&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 18:49:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/eGUI-How-to-draw-a-line/m-p/288166#M9174</guid>
      <dc:creator>simona-marinela</dc:creator>
      <dc:date>2013-12-12T18:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: eGUI: How to draw a line ?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/eGUI-How-to-draw-a-line/m-p/288167#M9175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;Hi &lt;SPAN class="SpellE"&gt;Simona&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can't call a function D4D_MoveToXY( ax, ay ); at that code point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could call the function D4D_LCD_Line, defined in d4d_low.c All the drawing functions are in d4d_low.c , but you must call them inside a function body.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 21:42:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/eGUI-How-to-draw-a-line/m-p/288167#M9175</guid>
      <dc:creator>LuisCasado</dc:creator>
      <dc:date>2013-12-12T21:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: eGUI: How to draw a line ?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/eGUI-How-to-draw-a-line/m-p/288168#M9176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's basic C, I don't know how I didn't realize that I was outside a function body&amp;nbsp; :-). I think I'm not used with this type of code ( never worked on hardware before ).&lt;/P&gt;&lt;P&gt;Anyway, my fault.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 10:38:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/eGUI-How-to-draw-a-line/m-p/288168#M9176</guid>
      <dc:creator>simona-marinela</dc:creator>
      <dc:date>2013-12-18T10:38:12Z</dc:date>
    </item>
  </channel>
</rss>

