
GUI GWEN.NET Another small but great project
Posted Wednesday, 21 December, 2011 - 16:35 by migueltkToday, thanks to StrongCod3r have known of this project Gwen.net is a GUI for OpenGL-OpenTK simply fantastic!.

Do not hesitate, download the source and use in your projects.
Miguel
- migueltk's blog
- Login or register to post comments


Comments
Re: GUI GWEN.NET Another small but great project
The text renders fine, but the cursor placement and selection is indeed wrong.
I wrote that for the text box it's about the text selection that does not work correctly.
Any of these problems seem to relate to the usage of Graphics.MeasureString which doesn't usually do what you expect (I've personally given up on these functions, nice draw-caching avoids that anyways).
Re: GUI GWEN.NET Another small but great project
@Snorkel
Gwent.net running at approx. 1000 frames per second, wow! I would like to see those changes. Good job.
Re: GUI GWEN.NET Another small but great project
@migueltk
OpenTK.cs:
and in SimpleGwenGame.cs
you could replace in the OnUpdate line 160 with:
Re: GUI GWEN.NET Another small but great project
@Snorkel
I applied the changes and have obtained an increase in the number of frames per second to about double. Thank you for sharing changes.
Re: GUI GWEN.NET Another small but great project
When running in Ubuntu with mono I receive DllNotFoundException.
Any advice?
Have a fast code!
Anton.
http://kyta.spb.ru
Re: GUI GWEN.NET Another small but great project
Make sure you use the opentk sample/libs.
GWEN has several different render engines, OpenTk is one of them.
It looks like you are using SFML instead.
( I haven't tried on linux yet )
Re: GUI GWEN.NET Another small but great project
Make sure you use the opentk sample/libs.
GWEN has several different render engines, OpenTk is one of them.
Oh, thank you very much for highlighting this! For some strange reason I've missed second folder with OpenTK implementation. =(
GWEN works well in my Ubuntu Linux with OpenTK. Out of the box. That's amazing! It is hard to tell how much different possibilities open with this project for C# developers! =)))
Extremely fast hardware-rendered GUI -- that may knock-out even Windows 8! =P
Talking serious, I think it is very important now to push this gui lib as standard part of Monodevelop.
Have a fast code!
Anton.
http://kyta.spb.ru
PS There are some bugs with text drawing. The most serious:
- EditBox displays all letters in uppercase
- EditBox doesn't react to numbers pressed on keyboard
- EditBox does not handle switch of language (i.e. from English to Russian)
Also I'd like to resize DockPanel with usual drag-n-drop.
PPS My environment: OS Ubuntu Linux 10.04 LTS 64bit, mono v2.10.6.