SFML community forums

Bindings - other languages => DotNet => Topic started by: DevilGoku on March 16, 2013, 11:12:36 am

Title: c# Sfml 2.0 GUI
Post by: DevilGoku on March 16, 2013, 11:12:36 am
Hello

Is there a GUI for Sfml 2.0 for dotnet?
I tried to use Gwen, but does not work with the latest version (2.0 Sfml havn't Sfml.Graphic.Shape.Rectangle but has Sfml.Graphic.RectangleShape)

Unfortunately, in my program I use the rectangleShape
Title: Re: c# Sfml 2.0 GUI
Post by: Sprunth on March 20, 2013, 06:59:49 am
The more recent builds of SFML don't seem to work well with Gwen dotnet. I've successfully used some of the older builds of SFML (pulled from github...my last build was 4/3/2012, so maybe pull an old build?) to work before.

I'm going to see if I can figure out a fix with the gwen code...its probably just some API changes.

I'm interested to see other GUI suggestions too!
Title: Re: c# Sfml 2.0 GUI
Post by: omeg on March 20, 2013, 06:17:45 pm
I've updated Gwen.Net's SFML renderer to work with latest SFML.Net version from github (minor SFML API changes).
Title: Re: c# Sfml 2.0 GUI
Post by: raycrasher on May 14, 2013, 07:30:24 am
You can try wrapping libRocket in a C++/CLI wrapper, and use the resulting class library for .NET. I created one, and it works beautifully.
Title: Re: c# Sfml 2.0 GUI
Post by: Mad on June 12, 2013, 08:22:48 pm
I've updated Gwen.Net's SFML renderer to work with latest SFML.Net version from github (minor SFML API changes).

Hello!
I tried the latest Gwen.net from http://code.google.com/p/gwen-dotnet/
but when I start the Gwen.Sample.SFML, I allways get an object ref not set because sfFont is null.
I used the latest stable version vom SFML 2.0

Any idea?

best regards,
Mad
Title: Re: c# Sfml 2.0 GUI
Post by: cpolymeris on July 08, 2013, 05:21:32 am
I've updated Gwen.Net's SFML renderer to work with latest SFML.Net version from github (minor SFML API changes).

Hello!
I tried the latest Gwen.net from http://code.google.com/p/gwen-dotnet/
but when I start the Gwen.Sample.SFML, I allways get an object ref not set because sfFont is null.
I used the latest stable version vom SFML 2.0

Any idea?

best regards,
Mad

Same here. I then managed to fix that issue, but still get broken rendering: http://code.google.com/p/gwen-dotnet/issues/detail?id=29
It's a pity, I am trying to move away from gtk, but there are no feasible C# GUI toolkits that work with SFML.Net around.