Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: c# Sfml 2.0 GUI  (Read 8500 times)

0 Members and 1 Guest are viewing this topic.

DevilGoku

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
c# Sfml 2.0 GUI
« 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

Sprunth

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: c# Sfml 2.0 GUI
« Reply #1 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!

omeg

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • http://omeg.pl/
Re: c# Sfml 2.0 GUI
« Reply #2 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).

raycrasher

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: c# Sfml 2.0 GUI
« Reply #3 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.

Mad

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • Email
Re: c# Sfml 2.0 GUI
« Reply #4 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
best regards,

Mad

cpolymeris

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • Email
Re: c# Sfml 2.0 GUI
« Reply #5 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.

 

anything