<?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[Simple asset browser example]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I am looking for example code on how to create a TreeView GUI resembling (a bare minimum) S24 asset browser.</p>
<p dir="auto">Basically I would like to specify a folder inside my plugin folder and browse for folders inside it.<br />
This I can do using <a href="https://developers.maxon.net/docs/cpp/2023_2/page_manual_browsefiles.html" target="_blank" rel="noopener noreferrer nofollow ugc">BrowseFiles</a><br />
Typically this is a 1 level search, so no recursion is required.</p>
<p dir="auto">Inside each folder, there is a number of images.</p>
<p dir="auto">The TreeView should show a list of these folders. When the user selects an item from the TreeView list, the images inside each folder should be displayed respectively. The user then would invoque a command when an image is clicked (or double clicked).</p>
<p dir="auto">I already looked into <code>TreeView Made Simple 1</code>[URL-REMOVED] and <code>TreeView Made Simple 2</code>[URL-REMOVED]</p>
<p dir="auto">I would convert the found folders into a BaseArray and navigate inside it.<br />
But where should the array be created,  inside TreeViewFunctions or somewhere else, and more importantly, how to display the image content of each folder ?</p>
<p dir="auto">Thanks for any help on the subject.</p>
<hr />
<p dir="auto">[URL-REMOVED] <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/maxon">@<bdi>maxon</bdi></a>: This section contained a non-resolving link which has been removed.</p>
]]></description><link>http://developers.maxon.net/forum/topic/13382/simple-asset-browser-example</link><generator>RSS for Node</generator><lastBuildDate>Tue, 18 Aug 2026 01:30:23 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/topic/13382.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 23 May 2021 14:29:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Simple asset browser example on Mon, 14 Jun 2021 09:05:15 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/rox">@<bdi>Rox</bdi></a>,</p>
<p dir="auto">without any further questions or replies, we will consider  this topic as solved by Wednesday and flag it accordingly.</p>
<p dir="auto">Thank you for your understanding,<br />
Ferdinand</p>
]]></description><link>http://developers.maxon.net/forum/post/66907</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/66907</guid><dc:creator><![CDATA[ferdinand]]></dc:creator><pubDate>Mon, 14 Jun 2021 09:05:15 GMT</pubDate></item><item><title><![CDATA[Reply to Simple asset browser example on Thu, 27 May 2021 14:49:54 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto"><a href="https://developers.maxon.net/forum/topic/13173/oop-class-struggles-treeview-envoce-gui-refresh-outside-class-listview" target="_blank" rel="noopener noreferrer nofollow ugc">this thread</a> will probably help you.</p>
<p dir="auto">Cheers,<br />
Manuel</p>
]]></description><link>http://developers.maxon.net/forum/post/66750</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/66750</guid><dc:creator><![CDATA[Manuel]]></dc:creator><pubDate>Thu, 27 May 2021 14:49:54 GMT</pubDate></item><item><title><![CDATA[Reply to Simple asset browser example on Thu, 27 May 2021 14:10:42 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Example code on how to convert a folder structure into a GeListNode hierarchy, and how to use it in the TreeViewFunctions context would be helpful.</p>
]]></description><link>http://developers.maxon.net/forum/post/66749</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/66749</guid><dc:creator><![CDATA[Rox]]></dc:creator><pubDate>Thu, 27 May 2021 14:10:42 GMT</pubDate></item><item><title><![CDATA[Reply to Simple asset browser example on Tue, 25 May 2021 15:38:39 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Those examples are using a shader to store the hierarchy, but you can use <a href="https://developers.maxon.net/docs/cpp/2023_2/class_ge_list_node.html" target="_blank" rel="noopener noreferrer nofollow ugc">GeListNode</a>. I don't think you need a BaseArray to store all your folders as you can simply i<code>terate trough your hierarchy</code>[URL-REMOVED] if you got the root. And InsertUnder, GetName, SetName are coming for free with the GeListNode.</p>
<p dir="auto">If you want to keep the BaseArray approach, there's no "right place" where to create and store your information.<br />
To display all the images inside the view, you may want to use a bitmapbutton for each image or use a UserArea to draw all the images.<br />
Be careful that with the userArea you will need to manage the zone for each picture where the use may clic.</p>
<p dir="auto">Where are you stuck for now?</p>
<p dir="auto">Cheers,<br />
Manuel</p>
<hr />
<p dir="auto">[URL-REMOVED] <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/maxon">@<bdi>maxon</bdi></a>: This section contained a non-resolving link which has been removed.</p>
]]></description><link>http://developers.maxon.net/forum/post/66716</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/66716</guid><dc:creator><![CDATA[Manuel]]></dc:creator><pubDate>Tue, 25 May 2021 15:38:39 GMT</pubDate></item></channel></rss>