<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[XPM-Format - Datei einbinden???]]></title><description><![CDATA[<p>Hey!</p>
<p>Weiß jemand eine einfache Lösung, wie man ein XPM-Bild in eine C++ Datei einbinden kann?</p>
<p>in der XPM-Bilddatei steht ja z.B. folgendes:</p>
<pre><code class="language-cpp">/* XPM */
static char * example_xpm[] = {
&quot;24 20 3 1&quot;,
&quot;  c None&quot;,
&quot;. c #0000FF&quot;,
&quot;+ c #FF0000&quot;,
&quot;                        &quot;,
&quot;    ..                  &quot;,
&quot;   ....                 &quot;,
&quot;  ......++++++++        &quot;,
&quot; .........+++++++       &quot;,
&quot; ..........+++++++      &quot;,
&quot; ............++++++     &quot;,
&quot; .............++++++    &quot;,
&quot;  ..............++++    &quot;,
&quot;   +.............+++    &quot;,
&quot;   ++.............++    &quot;,
&quot;   +++.............+    &quot;,
&quot;   +++++.............   &quot;,
&quot;   ++++++.............. &quot;,
&quot;   ++++++++............ &quot;,
&quot;   +++++++++........... &quot;,
&quot;    +++++++++.........  &quot;,
&quot;     ++++++++++.......  &quot;,
&quot;      ++++++++++.....   &quot;,
&quot;       +++++++++ ...    &quot;};
</code></pre>
<p>Also prinzipiell eine Variablendefinition. Muss ich das ganze parsen oder kann ich das sonst irgendwie einbinden?</p>
<p>Wäre für Hilfe dankbar!</p>
<p>LG</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/240135/xpm-format-datei-einbinden</link><generator>RSS for Node</generator><lastBuildDate>Tue, 22 Sep 2026 05:03:11 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/240135.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 02 May 2009 13:44:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to XPM-Format - Datei einbinden??? on Sat, 02 May 2009 13:44:43 GMT]]></title><description><![CDATA[<p>Hey!</p>
<p>Weiß jemand eine einfache Lösung, wie man ein XPM-Bild in eine C++ Datei einbinden kann?</p>
<p>in der XPM-Bilddatei steht ja z.B. folgendes:</p>
<pre><code class="language-cpp">/* XPM */
static char * example_xpm[] = {
&quot;24 20 3 1&quot;,
&quot;  c None&quot;,
&quot;. c #0000FF&quot;,
&quot;+ c #FF0000&quot;,
&quot;                        &quot;,
&quot;    ..                  &quot;,
&quot;   ....                 &quot;,
&quot;  ......++++++++        &quot;,
&quot; .........+++++++       &quot;,
&quot; ..........+++++++      &quot;,
&quot; ............++++++     &quot;,
&quot; .............++++++    &quot;,
&quot;  ..............++++    &quot;,
&quot;   +.............+++    &quot;,
&quot;   ++.............++    &quot;,
&quot;   +++.............+    &quot;,
&quot;   +++++.............   &quot;,
&quot;   ++++++.............. &quot;,
&quot;   ++++++++............ &quot;,
&quot;   +++++++++........... &quot;,
&quot;    +++++++++.........  &quot;,
&quot;     ++++++++++.......  &quot;,
&quot;      ++++++++++.....   &quot;,
&quot;       +++++++++ ...    &quot;};
</code></pre>
<p>Also prinzipiell eine Variablendefinition. Muss ich das ganze parsen oder kann ich das sonst irgendwie einbinden?</p>
<p>Wäre für Hilfe dankbar!</p>
<p>LG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1704454</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1704454</guid><dc:creator><![CDATA[Dax]]></dc:creator><pubDate>Sat, 02 May 2009 13:44:43 GMT</pubDate></item><item><title><![CDATA[Reply to XPM-Format - Datei einbinden??? on Sat, 02 May 2009 13:48:12 GMT]]></title><description><![CDATA[<p>Was verstehst du unter einbinden?</p>
<p>Grüssli</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1704455</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1704455</guid><dc:creator><![CDATA[Dravere]]></dc:creator><pubDate>Sat, 02 May 2009 13:48:12 GMT</pubDate></item><item><title><![CDATA[Reply to XPM-Format - Datei einbinden??? on Sat, 02 May 2009 14:00:00 GMT]]></title><description><![CDATA[<p>include &quot;test.xpm&quot; und dann auf dieses struct zugreifen, den namen davon weiß ich jedoch natürlich leider nicht und wenn die datei &quot;text.xpm&quot; einen syntax fehler hat, dann sollte das auch erst beim laufen des programms festgestellt werden und nicht beim kompilieren...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1704460</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1704460</guid><dc:creator><![CDATA[Dax]]></dc:creator><pubDate>Sat, 02 May 2009 14:00:00 GMT</pubDate></item><item><title><![CDATA[Reply to XPM-Format - Datei einbinden??? on Sat, 02 May 2009 16:43:40 GMT]]></title><description><![CDATA[<p>Mit wxWidgets gibt es dafür vorgefertigte Funktionen, die nicht nur mit xpm zurechtkommen.<br />
Hast du dich da schon umgeschaut?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1704522</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1704522</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Sat, 02 May 2009 16:43:40 GMT</pubDate></item></channel></rss>