header image
 

GWEN.Net updated

Updated the SFML renderer to work with newest SFML version (Laurent finally removed the default font).

http://code.google.com/p/gwen-dotnet/

I really need to work on this more, there are still few annoying bugs with text rendering. Reworking the event system is also long overdue (as is bringing the port up-to-date with original GWEN). So if you’re reading this and would like to contribute (and have more time than I nowadays), feel free to do so!

~ by omeg on September 13, 2012.

C#, code, GUI, gwen.net

2 Responses to “GWEN.Net updated”

  1. Hi, I am using gwen and I have a problem…
    When press touch screen over any control, I only have a Canvas::RenderCanvas function to redraw entire screen, but do not have any function to redraw only the touched control. How and where I can implement this function?
    You can view my gwen based project here:
    http://www.todopic.com.ar/foros/index.php?topic=39080.0
    PD: Sorry for use this reply/comment to ask a question…

    • Your project looks great!
      All controls are supposed to be redrawn only when they need to be. Check out Invalidate* functions in Control::Base. Rendering logic itself is in Control::Canvas, control layout in Control::Base. If you need to redraw a single control, it should work by calling Control::Base.Redraw() or Invalidate() functions. I’m not 100% sure on the exact order of things so there may still be bugs somewhere in there.

Leave a Reply