<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: A shaped input example with gtk+, cairo and XShape 1.1</title>
	<atom:link href="http://macslow.net/?feed=rss2&#038;p=26" rel="self" type="application/rss+xml" />
	<link>http://macslow.net/?p=26</link>
	<description>stuff happening on macslow.net</description>
	<pubDate>Sat, 31 Jul 2010 23:42:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: MacSlow</title>
		<link>http://macslow.net/?p=26&#038;cpage=1#comment-133013</link>
		<dc:creator>MacSlow</dc:creator>
		<pubDate>Wed, 05 Nov 2008 13:00:08 +0000</pubDate>
		<guid isPermaLink="false">http://macslow.thepimp.net/?p=26#comment-133013</guid>
		<description>@ BoAC: You can add them too. But you have to do that yourself, in application-code, because the window-managers decorations are switched off. For example in cairo-clock I do that via the theme SVGs. In composite-aware gksu, in current Ubuntu 8.10, I've done it in-application. In the long run to do these an related kinds of visual elements, we should do &#34;client drawn decorations&#34;. That means the toolkit will have to provide the rendering of decorations and _not_ the window-manager. This move makes a lot of sense and will enable us to do a lot UI-elements we currently cannot do at all or achieve in an easy manner.</description>
		<content:encoded><![CDATA[<p>@ BoAC: You can add them too. But you have to do that yourself, in application-code, because the window-managers decorations are switched off. For example in cairo-clock I do that via the theme SVGs. In composite-aware gksu, in current Ubuntu 8.10, I&#8217;ve done it in-application. In the long run to do these an related kinds of visual elements, we should do &quot;client drawn decorations&quot;. That means the toolkit will have to provide the rendering of decorations and _not_ the window-manager. This move makes a lot of sense and will enable us to do a lot UI-elements we currently cannot do at all or achieve in an easy manner.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BoAC</title>
		<link>http://macslow.net/?p=26&#038;cpage=1#comment-132424</link>
		<dc:creator>BoAC</dc:creator>
		<pubDate>Sat, 01 Nov 2008 12:50:23 +0000</pubDate>
		<guid isPermaLink="false">http://macslow.thepimp.net/?p=26#comment-132424</guid>
		<description>What about drop shadows for this kind of windows?</description>
		<content:encoded><![CDATA[<p>What about drop shadows for this kind of windows?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MacSlow</title>
		<link>http://macslow.net/?p=26&#038;cpage=1#comment-131751</link>
		<dc:creator>MacSlow</dc:creator>
		<pubDate>Sun, 26 Oct 2008 22:04:55 +0000</pubDate>
		<guid isPermaLink="false">http://macslow.thepimp.net/?p=26#comment-131751</guid>
		<description>@ Viet: I don't know if any X11-server for Windows supports XShape 1.1+, but you best bet on Windows will be the xming X11-server.</description>
		<content:encoded><![CDATA[<p>@ Viet: I don&#8217;t know if any X11-server for Windows supports XShape 1.1+, but you best bet on Windows will be the xming X11-server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Viet</title>
		<link>http://macslow.net/?p=26&#038;cpage=1#comment-131691</link>
		<dc:creator>Viet</dc:creator>
		<pubDate>Sun, 26 Oct 2008 17:13:21 +0000</pubDate>
		<guid isPermaLink="false">http://macslow.thepimp.net/?p=26#comment-131691</guid>
		<description>Hi!

Thank you for sharing. Really great stuff! May I know if the same is possible on Windows with GTK+ &amp; Cairo and without Cygwin (the code you wrote can run on Linux &amp; Mac only). Please kindly advise.

Thank you,
Viet.</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>Thank you for sharing. Really great stuff! May I know if the same is possible on Windows with GTK+ &amp; Cairo and without Cygwin (the code you wrote can run on Linux &amp; Mac only). Please kindly advise.</p>
<p>Thank you,<br />
Viet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pedro Lopes</title>
		<link>http://macslow.net/?p=26&#038;cpage=1#comment-92335</link>
		<dc:creator>Pedro Lopes</dc:creator>
		<pubDate>Mon, 14 Jul 2008 00:39:17 +0000</pubDate>
		<guid isPermaLink="false">http://macslow.thepimp.net/?p=26#comment-92335</guid>
		<description>This sample is very nice. One problem I found is that it doesnt gracefully degrade in the case of having no compositing manager - you get an ugly black square as background. Fortunately this is very easy to fix using the old style shaped window api. Add these 2 lines in update_input_shape (after the endif):

gtk_widget_shape_combine_mask (pWindow, NULL, 0, 0);
gtk_widget_shape_combine_mask (pWindow, pShapeBitmap, 0, 0);

This way it still looks reasonably good even if there is no compositing manager running.</description>
		<content:encoded><![CDATA[<p>This sample is very nice. One problem I found is that it doesnt gracefully degrade in the case of having no compositing manager - you get an ugly black square as background. Fortunately this is very easy to fix using the old style shaped window api. Add these 2 lines in update_input_shape (after the endif):</p>
<p>gtk_widget_shape_combine_mask (pWindow, NULL, 0, 0);<br />
gtk_widget_shape_combine_mask (pWindow, pShapeBitmap, 0, 0);</p>
<p>This way it still looks reasonably good even if there is no compositing manager running.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chandra shekhar sengupta</title>
		<link>http://macslow.net/?p=26&#038;cpage=1#comment-58864</link>
		<dc:creator>chandra shekhar sengupta</dc:creator>
		<pubDate>Wed, 23 Apr 2008 14:24:06 +0000</pubDate>
		<guid isPermaLink="false">http://macslow.thepimp.net/?p=26#comment-58864</guid>
		<description>I was trying this code to add transparency to a widget. In this code i have added a drawing area as a child of pWindow and drawn the shape in drawing area. But  the drawing area was having black background. Could anyone tell me how to make that drawing area transparent.</description>
		<content:encoded><![CDATA[<p>I was trying this code to add transparency to a widget. In this code i have added a drawing area as a child of pWindow and drawn the shape in drawing area. But  the drawing area was having black background. Could anyone tell me how to make that drawing area transparent.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Su</title>
		<link>http://macslow.net/?p=26&#038;cpage=1#comment-53564</link>
		<dc:creator>James Su</dc:creator>
		<pubDate>Wed, 02 Apr 2008 11:57:14 +0000</pubDate>
		<guid isPermaLink="false">http://macslow.thepimp.net/?p=26#comment-53564</guid>
		<description>I tried this program, it\'s amazing. However I found an issue: if the image opacity is less than 0.5, then the mask will be zero, then the program won\'t receive any mouse event. Is there any way to fix it to make the area with non zero opacity clickable?</description>
		<content:encoded><![CDATA[<p>I tried this program, it\&#8217;s amazing. However I found an issue: if the image opacity is less than 0.5, then the mask will be zero, then the program won\&#8217;t receive any mouse event. Is there any way to fix it to make the area with non zero opacity clickable?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MacSlow</title>
		<link>http://macslow.net/?p=26&#038;cpage=1#comment-570</link>
		<dc:creator>MacSlow</dc:creator>
		<pubDate>Sat, 01 Jul 2006 19:12:39 +0000</pubDate>
		<guid isPermaLink="false">http://macslow.thepimp.net/?p=26#comment-570</guid>
		<description>@malted: This was recorded on an AMD 1.6 GHz with a GeForceFX 5900 using gvidcap.</description>
		<content:encoded><![CDATA[<p>@malted: This was recorded on an AMD 1.6 GHz with a GeForceFX 5900 using gvidcap.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: malted method</title>
		<link>http://macslow.net/?p=26&#038;cpage=1#comment-568</link>
		<dc:creator>malted method</dc:creator>
		<pubDate>Sat, 01 Jul 2006 18:15:18 +0000</pubDate>
		<guid isPermaLink="false">http://macslow.thepimp.net/?p=26#comment-568</guid>
		<description>Your AVI demo looks very smooth.  Just curious, what graphics card/processor and amount of RAM were you using when you took it?</description>
		<content:encoded><![CDATA[<p>Your AVI demo looks very smooth.  Just curious, what graphics card/processor and amount of RAM were you using when you took it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike&#8217;s Journal &#187; Blog Archive &#187; more bling</title>
		<link>http://macslow.net/?p=26&#038;cpage=1#comment-36</link>
		<dc:creator>Mike&#8217;s Journal &#187; Blog Archive &#187; more bling</dc:creator>
		<pubDate>Mon, 27 Mar 2006 10:38:21 +0000</pubDate>
		<guid isPermaLink="false">http://macslow.thepimp.net/?p=26#comment-36</guid>
		<description>[...] He has also done it far better than I did, with even a spiffy video to go with the code. That said, the code to set input area along with the drawing is quite complicated, so hopefully GTK+ will soon be supporting all this natively so we don&#8217;t have to write the boilerplate screen/cm handling code over and over (as pointed out by desrt in the comments, I got this slightly wrong). [...]</description>
		<content:encoded><![CDATA[<p>[...] He has also done it far better than I did, with even a spiffy video to go with the code. That said, the code to set input area along with the drawing is quite complicated, so hopefully GTK+ will soon be supporting all this natively so we don&#8217;t have to write the boilerplate screen/cm handling code over and over (as pointed out by desrt in the comments, I got this slightly wrong). [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
