<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>luminance &#187; windows forms</title>
	<atom:link href="http://www.luminance.org/tag/windows-forms/feed" rel="self" type="application/rss+xml" />
	<link>http://www.luminance.org/blog</link>
	<description>Programming and Game Development - Kevin Gadd&#039;s Blog</description>
	<lastBuildDate>Sun, 02 Oct 2011 00:15:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>A managed WebKit library: BerkeliumSharp</title>
		<link>http://www.luminance.org/blog/code/2010/02/21/a-managed-webkit-library-berkeliumsharp</link>
		<comments>http://www.luminance.org/blog/code/2010/02/21/a-managed-webkit-library-berkeliumsharp#comments</comments>
		<pubDate>Mon, 22 Feb 2010 03:54:46 +0000</pubDate>
		<dc:creator>Kael</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[berkelium]]></category>
		<category><![CDATA[berkeliumsharp]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[csharp]]></category>
		<category><![CDATA[webkit]]></category>
		<category><![CDATA[windows forms]]></category>
		<category><![CDATA[xna]]></category>

		<guid isPermaLink="false">http://www.luminance.org/?p=852</guid>
		<description><![CDATA[I spent the past day or so hacking together a managed wrapper for Sirikata&#8217;s Berkelium library. Berkelium allows you to easily embed a WebKit-based browser into games and other applications. It&#8217;s based on Chrome and it&#8217;s really easy to get up and running in a C++ application. Unfortunately, if you&#8217;re using C# or VB.net, you&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<p>I spent the past day or so hacking together a managed wrapper for <a href="http://www.sirikata.com/blog/?p=115">Sirikata&#8217;s Berkelium library</a>. Berkelium allows you to easily embed a WebKit-based browser into games and other applications. It&#8217;s based on Chrome and it&#8217;s really easy to get up and running in a C++ application. Unfortunately, if you&#8217;re using C# or VB.net, you&#8217;re out of luck &#8211; no way to link directly against a C++ .lib file in those languages. The addition of my managed wrapper &#8211; <a href="http://code.google.com/p/berkelium-sharp/">BerkeliumSharp</a> &#8211; means that you can use the library in managed applications, and integrate it with Windows Forms, XNA, or even WPF.</p>
<p><a href="http://www.luminance.org/wp-content/uploads/2010/02/berkeliumtests.png" rel="attachment wp-att-853"><img src="http://www.luminance.org/wp-content/uploads/2010/02/berkeliumtests.png" alt="" title="berkelium test screenshots" width="633" height="494" class="aligncenter size-full wp-image-853" /></a></p>
<p>I&#8217;ve released the source under the BSD license (just like Berkelium) and included two simple examples (one for Windows Forms, one for XNA). It&#8217;s not a Chrome competitor but it&#8217;s surprisingly easy to get a lot of complicated things working &#8211; you can watch Hulu videos if you have Flash installed, and Flash games like Dino Run work in the Windows Forms example since it implements keyboard input.</p>
<p>You can <a href="http://berkelium-sharp.googlecode.com/files/BerkeliumSharpDemos.zip">download pre-built demos</a> to test it out, or <a href="http://code.google.com/p/berkelium-sharp/source/checkout">grab the source code</a> over at Google Code.</p>
<p>Have fun!</p>
<p><del datetime="2010-02-23T12:41:56+00:00">P.S. If you try out the examples, be aware that content that opens pop-up windows doesn&#8217;t seem to work. I think this is a bug in Berkelium.</del><br />
<b>Edit:</b> Figured out how to build Chromium and Berkelium myself and fixed the bug. Open source is awesome!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.luminance.org/blog/code/2010/02/21/a-managed-webkit-library-berkeliumsharp/feed</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
	</channel>
</rss>

