<?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>topic Re: eGUI - how to make button border not visible in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/eGUI-how-to-make-button-border-not-visible/m-p/187382#M2053</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;In the new 3.0 version of eGUI it does work! I had to remove all the flags:&lt;/P&gt;&lt;P&gt;D4D_OBJECT_F_FOCUSRECT,&lt;/P&gt;&lt;P&gt;D4D_BTN_F_3D,&lt;/P&gt;&lt;P&gt;D4D_BTN_F_CONT_RECT&lt;/P&gt;&lt;P&gt;to obtain the border-less button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the old 2.1 version it does not work.&lt;/P&gt;&lt;P&gt;I switched to the new version and now working with eGUI 3.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be very helpful to have these parameters described in a more detailed way in the documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for help&lt;/P&gt;&lt;P&gt;Maciek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Sep 2012 12:50:57 GMT</pubDate>
    <dc:creator>Maciek</dc:creator>
    <dc:date>2012-09-11T12:50:57Z</dc:date>
    <item>
      <title>eGUI - how to make button border not visible</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/eGUI-how-to-make-button-border-not-visible/m-p/187378#M2049</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 looking for a way to make eGUI button border not visible (I'm using v2.1). I may set (in a scheme) forecolor to the same color as screen background (this makes border not visible) but in this way I have the text in the same color as screen background also. I need the text (on the button) to be of a different color and the button border not visible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to do this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Maciek &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Sep 2012 11:34:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/eGUI-how-to-make-button-border-not-visible/m-p/187378#M2049</guid>
      <dc:creator>Maciek</dc:creator>
      <dc:date>2012-09-09T11:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: eGUI - how to make button border not visible</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/eGUI-how-to-make-button-border-not-visible/m-p/187379#M2050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the one way how to do it is, switch off the focus rectangle, in flags that describe the button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two possible ways:&lt;/P&gt;&lt;P&gt;1. If you want do this in whole project for all buttons - So in this case you can in d4d_usr_cfg.h file changed the default behaviour for all buttons in project. (remove D4D_OBJECT_F_FOCUSRECT and uncomment D4D_BTN_F_DEFAULT&amp;nbsp; macro to use it by project)&lt;/P&gt;&lt;P&gt;#define D4D_BTN_F_DEFAULT&amp;nbsp; (D4D_OBJECT_F_VISIBLE | D4D_OBJECT_F_ENABLED | D4D_OBJECT_F_TABSTOP | D4D_OBJECT_F_TOUCHENABLE&lt;SPAN style="text-decoration: line-through;"&gt; | D4D_OBJECT_F_FOCUSRECT&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If you do it individual. Then you can use the full version of button declaration macro&amp;nbsp; and create the own set of flags. The parameter &lt;EM&gt;flags &lt;/EM&gt;, without D4D_OBJECT_F_FOCUSRECT .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D4D_DECLARE_BUTTON(name, text, x, y, cx, cy, flags, pbmpN, pbmpF, pScheme, fontId, pUser, onclick, pOnUsrMsg)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gargy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2012 04:32:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/eGUI-how-to-make-button-border-not-visible/m-p/187379#M2050</guid>
      <dc:creator>Gargy</dc:creator>
      <dc:date>2012-09-10T04:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: eGUI - how to make button border not visible</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/eGUI-how-to-make-button-border-not-visible/m-p/187380#M2051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;it doesn't work for me. I'm not sure if I'm clear enough, so I've enclosed an explicit image (on the left is what I have now; on the right is what I would like to have). Red and green widgets on the picture are buttons. I'm experimenting with the demo project for k60n512 from 2.1 distribution of eGUI (if it helps).&lt;/P&gt;&lt;P&gt;This border is visible on all buttons at once, no matter they are 'focused' or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Maciek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2012 07:51:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/eGUI-how-to-make-button-border-not-visible/m-p/187380#M2051</guid>
      <dc:creator>Maciek</dc:creator>
      <dc:date>2012-09-10T07:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: eGUI - how to make button border not visible</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/eGUI-how-to-make-button-border-not-visible/m-p/187381#M2052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesn't matter if it focused or not, I'm talking if it has focus rectangle or not: &lt;/P&gt;&lt;P&gt;For example button definition without focus rectangle:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prototype:&lt;/P&gt;&lt;P&gt;D4D_DECLARE_BUTTON(name, text, x, y, cx, cy, flags, pbmpN, pbmpF, pScheme, fontId, pUser, onclick, pOnUsrMsg)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D4D_DECLARE_BUTTON(my_button, "My Button", 10, 10, 100, 50, &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;&lt;STRONG&gt;(D4D_OBJECT_F_VISIBLE | D4D_OBJECT_F_ENABLED | D4D_OBJECT_F_TABSTOP | D4D_OBJECT_F_TOUCHENABLE)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;, NULL, NULL, NULL, MY_FONT, NULL, MyOnCLickFunction, NULL)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Gargy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2012 08:03:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/eGUI-how-to-make-button-border-not-visible/m-p/187381#M2052</guid>
      <dc:creator>Gargy</dc:creator>
      <dc:date>2012-09-10T08:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: eGUI - how to make button border not visible</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/eGUI-how-to-make-button-border-not-visible/m-p/187382#M2053</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;In the new 3.0 version of eGUI it does work! I had to remove all the flags:&lt;/P&gt;&lt;P&gt;D4D_OBJECT_F_FOCUSRECT,&lt;/P&gt;&lt;P&gt;D4D_BTN_F_3D,&lt;/P&gt;&lt;P&gt;D4D_BTN_F_CONT_RECT&lt;/P&gt;&lt;P&gt;to obtain the border-less button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the old 2.1 version it does not work.&lt;/P&gt;&lt;P&gt;I switched to the new version and now working with eGUI 3.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be very helpful to have these parameters described in a more detailed way in the documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for help&lt;/P&gt;&lt;P&gt;Maciek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 12:50:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/eGUI-how-to-make-button-border-not-visible/m-p/187382#M2053</guid>
      <dc:creator>Maciek</dc:creator>
      <dc:date>2012-09-11T12:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: eGUI - how to make button border not visible</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/eGUI-how-to-make-button-border-not-visible/m-p/187383#M2054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the eGUI 3.00 brings a lot of new things and fixed bugs. I recommended to use it, at the moment we are waiting for new Converter utility to support all new features (UNICODE, binary resource files, 24bit colours etc.) to release it on web publicly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you right that the documentation is no perfect, but there is a lot of things what could be described better, and for now the document has 250 pages, and we don't want to do from it something terrible big.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gargy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2012 04:58:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/eGUI-how-to-make-button-border-not-visible/m-p/187383#M2054</guid>
      <dc:creator>Gargy</dc:creator>
      <dc:date>2012-09-12T04:58:07Z</dc:date>
    </item>
  </channel>
</rss>

