<?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 Changing label text color in D4d (EGUI) in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-label-text-color-in-D4d-EGUI/m-p/161268#M1267</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working with MQX 3.8 and EGUI on an MK60FX512 and I am attempting to produce labels with multiple text colors on a single screen. &amp;nbsp;Of course this should be feasible using different color schemes for each call to&amp;nbsp;D4D_DECLARE_LABEL. However, when I try to do that the compiler (Ewarm 6.3) produces an error stating that the pscheme must be a constant.. &amp;nbsp;This is despite the fact that I am creating the alternate color schemes using exactly the same call as that used to created the default color scheme:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;D4D_DECLARE_CLR_SCHEME(d4d_clr_scheme_default, \&lt;BR /&gt;D4D_COLOR_SCR_DESKTOP, D4D_COLOR_SCR_OUTLINE, D4D_COLOR_SCR_TITLEBAR, D4D_COLOR_SCR_TILTLETEXT, D4D_COLOR_SCR_EXIT_BTN_FORE, D4D_COLOR_SCR_EXIT_BTN_BCKG,\&lt;BR /&gt;D4D_COLOR_BCKG_NORM, D4D_COLOR_BCKG_DISABLED, D4D_COLOR_BCKG_FOCUS, D4D_COLOR_BCKG_CAPTURE,\&lt;BR /&gt;D4D_COLOR_FORE_NORM, D4D_COLOR_FORE_DISABLED, D4D_COLOR_FORE_FOCUS, D4D_COLOR_FORE_CAPTURE,\&lt;BR /&gt;D4D_COLOR_GAUG_HUB, D4D_COLOR_GAUG_POINTER,\&lt;BR /&gt;D4D_COLOR_SLDR_BAR_BCKG, D4D_COLOR_SLDR_BAR_FORE, D4D_COLOR_SLDR_BAR_START, D4D_COLOR_SLDR_BAR_END,\&lt;BR /&gt;D4D_COLOR_CHECKBOX_ICON_BCKG,\&lt;BR /&gt;D4D_COLOR_GRAPH_GRID,\&lt;BR /&gt;D4D_COLOR_PRGRS_BAR_BAR_BCKG, D4D_COLOR_PRGRS_BAR_BAR_FORE, D4D_COLOR_PRGRS_BAR_BAR_END\&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;static D4D_CLR_SCHEME *pSchemeGreen = (D4D_CLR_SCHEME*)&amp;amp;d4d_clr_scheme_default;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to use pSchemeGreen the compiler throws an error "expression must have a constant value"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am guessing that this is something obvious, but I am stuck so any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 May 2012 21:36:38 GMT</pubDate>
    <dc:creator>MarkW_</dc:creator>
    <dc:date>2012-05-09T21:36:38Z</dc:date>
    <item>
      <title>Changing label text color in D4d (EGUI)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-label-text-color-in-D4d-EGUI/m-p/161268#M1267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working with MQX 3.8 and EGUI on an MK60FX512 and I am attempting to produce labels with multiple text colors on a single screen. &amp;nbsp;Of course this should be feasible using different color schemes for each call to&amp;nbsp;D4D_DECLARE_LABEL. However, when I try to do that the compiler (Ewarm 6.3) produces an error stating that the pscheme must be a constant.. &amp;nbsp;This is despite the fact that I am creating the alternate color schemes using exactly the same call as that used to created the default color scheme:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;D4D_DECLARE_CLR_SCHEME(d4d_clr_scheme_default, \&lt;BR /&gt;D4D_COLOR_SCR_DESKTOP, D4D_COLOR_SCR_OUTLINE, D4D_COLOR_SCR_TITLEBAR, D4D_COLOR_SCR_TILTLETEXT, D4D_COLOR_SCR_EXIT_BTN_FORE, D4D_COLOR_SCR_EXIT_BTN_BCKG,\&lt;BR /&gt;D4D_COLOR_BCKG_NORM, D4D_COLOR_BCKG_DISABLED, D4D_COLOR_BCKG_FOCUS, D4D_COLOR_BCKG_CAPTURE,\&lt;BR /&gt;D4D_COLOR_FORE_NORM, D4D_COLOR_FORE_DISABLED, D4D_COLOR_FORE_FOCUS, D4D_COLOR_FORE_CAPTURE,\&lt;BR /&gt;D4D_COLOR_GAUG_HUB, D4D_COLOR_GAUG_POINTER,\&lt;BR /&gt;D4D_COLOR_SLDR_BAR_BCKG, D4D_COLOR_SLDR_BAR_FORE, D4D_COLOR_SLDR_BAR_START, D4D_COLOR_SLDR_BAR_END,\&lt;BR /&gt;D4D_COLOR_CHECKBOX_ICON_BCKG,\&lt;BR /&gt;D4D_COLOR_GRAPH_GRID,\&lt;BR /&gt;D4D_COLOR_PRGRS_BAR_BAR_BCKG, D4D_COLOR_PRGRS_BAR_BAR_FORE, D4D_COLOR_PRGRS_BAR_BAR_END\&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;static D4D_CLR_SCHEME *pSchemeGreen = (D4D_CLR_SCHEME*)&amp;amp;d4d_clr_scheme_default;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to use pSchemeGreen the compiler throws an error "expression must have a constant value"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am guessing that this is something obvious, but I am stuck so any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 21:36:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-label-text-color-in-D4d-EGUI/m-p/161268#M1267</guid>
      <dc:creator>MarkW_</dc:creator>
      <dc:date>2012-05-09T21:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Changing label text color in D4d (EGUI)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-label-text-color-in-D4d-EGUI/m-p/161269#M1268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mark, i´m in the same trouble, have you alredy fixed? Can you help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thiago&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 20:08:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-label-text-color-in-D4d-EGUI/m-p/161269#M1268</guid>
      <dc:creator>james07</dc:creator>
      <dc:date>2012-10-11T20:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Changing label text color in D4d (EGUI)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-label-text-color-in-D4d-EGUI/m-p/161270#M1269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How is the project going guys? &lt;/P&gt;&lt;P&gt;Freescale's Techs are working to help you out ASAP...thanks for your patience!&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>Thu, 08 Nov 2012 23:47:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-label-text-color-in-D4d-EGUI/m-p/161270#M1269</guid>
      <dc:creator>Monica</dc:creator>
      <dc:date>2012-11-08T23:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Changing label text color in D4d (EGUI)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-label-text-color-in-D4d-EGUI/m-p/161271#M1270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just received a similar question and I developed a simple screen example that uses two labels. The first one uses the color scheme I created (check below, only font color was changed) and the seconde one the default scheme.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D4D_DECLARE_CLR_SCHEME(d4d_clr_scheme_one, \&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D4D_COLOR_SCR_DESKTOP, D4D_COLOR_SCR_OUTLINE, D4D_COLOR_SCR_TITLEBAR,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D4D_COLOR_SCR_TILTLETEXT, D4D_COLOR_SCR_EXIT_BTN_FORE, D4D_COLOR_SCR_EXIT_BTN_BCKG,\&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D4D_COLOR_BCKG_NORM_ONE, D4D_COLOR_BCKG_DISABLED, D4D_COLOR_BCKG_FOCUS, D4D_COLOR_BCKG_CAPTURE,\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D4D_COLOR_FORE_NORM_ONE, D4D_COLOR_FORE_DISABLED, D4D_COLOR_FORE_FOCUS, D4D_COLOR_FORE_CAPTURE,\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D4D_COLOR_GAUG_HUB, D4D_COLOR_GAUG_POINTER,\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D4D_COLOR_SLDR_BAR_BCKG, D4D_COLOR_SLDR_BAR_FORE, D4D_COLOR_SLDR_BAR_START, D4D_COLOR_SLDR_BAR_END,\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D4D_COLOR_CHECKBOX_ICON_BCKG,\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D4D_COLOR_GRAPH_GRID,\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D4D_COLOR_PRGRS_BAR_BAR_BCKG, D4D_COLOR_PRGRS_BAR_BAR_FORE, D4D_COLOR_PRGRS_BAR_BAR_END\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D4D_DECLARE_RLABEL_AUTOSIZE(LBL_ONE,"ONE", 40, 40, 3, D4D_LBL_F_DEFAULT, (D4D_CLR_SCHEME*)&amp;amp;d4d_clr_scheme_one, FONT_ARIAL7_BIG, NULL, NULL)&lt;/P&gt;&lt;P&gt;D4D_DECLARE_RLABEL_AUTOSIZE(LBL_TWO,"TWO", 80, 80, 3, D4D_LBL_F_DEFAULT, NULL, FONT_ARIAL7_BIG, NULL, NULL)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you find it useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Ali&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 23:08:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-label-text-color-in-D4d-EGUI/m-p/161271#M1270</guid>
      <dc:creator>Ali_Pina</dc:creator>
      <dc:date>2012-12-11T23:08:38Z</dc:date>
    </item>
  </channel>
</rss>

