<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: CLASS_ATTRIBUTE_STYLE with &quot;file&quot;</title>
		<atom:link href="http://cycling74.com/forums/topic/class_attribute_style-with-file/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/class_attribute_style-with-file/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 01:19:38 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/class_attribute_style-with-file/#post-55394</guid>
					<title><![CDATA[CLASS_ATTRIBUTE_STYLE with &quot;file&quot;]]></title>
					<link>http://cycling74.com/forums/topic/class_attribute_style-with-file/#post-55394</link>
					<pubDate>Tue, 08 Mar 2011 11:48:48 +0000</pubDate>
					<dc:creator>Peter Castine</dc:creator>

					<description>
						<![CDATA[
						<p>Is there any sample code for using the CLASS_ATTRIBUTE_STYLE macros with the style &#8220;file&#8221;?</p>
<p>I&#8217;ve grepped &#038; eyballed the sample code without any luck.</p>
<p>All I want to store in my object is a Symbol* that points to the file name. No information about path or file pointers (the file&#8217;s supposed to be in the search path). But it might be nifty if I could get the little &#8220;Choose…&#8221; button in my inspector.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/class_attribute_style-with-file/#post-199352</guid>
					<title><![CDATA[Re: CLASS_ATTRIBUTE_STYLE with &#8220;file&#8221;]]></title>
					<link>http://cycling74.com/forums/topic/class_attribute_style-with-file/#post-199352</link>
					<pubDate>Mon, 14 Mar 2011 12:16:46 +0000</pubDate>
					<dc:creator>tap</dc:creator>

					<description>
						<![CDATA[
						<p>Here is how it is done in the fpic object:</p>
<pre>CLASS_ATTR_SYM(c,"pic",0,t_jfpic,j_sym);
	CLASS_ATTR_ACCESSORS(c,"pic",NULL,jfpic_setattr_pict);
	CLASS_ATTR_DEFAULT_SAVE_PAINT(c,"pic",0,"<none>");
	CLASS_ATTR_STYLE_LABEL(c, "pic", 0, "imagefile", "Image File");</none></pre><p>Cheers,<br />
  Tim</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/class_attribute_style-with-file/#post-199353</guid>
					<title><![CDATA[Re: CLASS_ATTRIBUTE_STYLE with &#8220;file&#8221;]]></title>
					<link>http://cycling74.com/forums/topic/class_attribute_style-with-file/#post-199353</link>
					<pubDate>Mon, 14 Mar 2011 17:23:52 +0000</pubDate>
					<dc:creator>Peter Castine</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks, that gets me started. So, basically, a custom setter is the key. Nice to know about the style &#8220;imagefile&#8221;. </p>
<p>I don&#8217;t suppose there is a way to specify only .PNG files to the file chooser dialog?</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

