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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - omeg

Pages: 1 2 3 [4]
46
DotNet / Problems with SFML.NET (Version 2.0)
« on: August 22, 2011, 02:27:52 pm »
I've managed to run my gwen.net sample under linux and I'm getting the same problem with garbage at the end of strings (my code is unchanged, only sfml recompiled for Linux and using Tao for Mono):

47
Window / Getting resolution of second monitor
« on: August 20, 2011, 03:07:26 pm »
Try something like this:

Code: [Select]
EnumDisplayMonitors(NULL, NULL, MonitorEnumProc, 0);  

BOOL CALLBACK MonitorEnumProc(
  __in  HMONITOR hMonitor,
  __in  HDC hdcMonitor,
  __in  LPRECT lprcMonitor,
  __in  LPARAM dwData
)
{
   // lprcMonitor has the coordinates of this monitor
   return TRUE;
}


http://msdn.microsoft.com/en-us/library/dd162610(VS.85).aspx

48
DotNet / Invalid RenderWindow.Capture() method
« on: August 17, 2011, 11:16:26 am »
Nice, thanks. :)

49
DotNet / Invalid RenderWindow.Capture() method
« on: August 17, 2011, 01:26:28 am »
RenderWindow.Capture still exists in latest source and is bound to nonexistent export in csfml: sfRenderWindow_Capture. It should be removed since now the way to create screenshots is by Texture.Update().

50
DotNet / C# port of GWEN - a GUI library
« on: August 13, 2011, 04:11:50 pm »
Latest test snapshot:


51
DotNet / C# port of GWEN - a GUI library
« on: August 08, 2011, 10:39:10 pm »
I've created a Google Code project: http://code.google.com/p/gwen-dotnet/
I'll be adding more controls in the coming days. The API will most likely be refactored once more stuff is implemented.

52
DotNet / Incorrect right alt (AltGr) handling
« on: August 08, 2011, 10:36:17 pm »
I was, but I switched to TextEntered. Still, in my KeyPressed handler (used for control characters) I was getting false Ctrl presses from the right alt.

53
DotNet / Incorrect right alt (AltGr) handling
« on: August 08, 2011, 10:22:59 pm »
I see. I've inserted a special check in my code for this case and it's working OK so far. It was messing my keyboard input because some special non-ascii language-specific characters are input by combinations of right alt+letter.

54
DotNet / Incorrect right alt (AltGr) handling
« on: August 08, 2011, 09:40:18 pm »
Tested on latest source snapshot, built with VS2010. Window.KeyPressed gets incorrect KeyEventArgs when right alt (AltGr) is pressed. Dump from the debugger (unmodified Window sample):
Code: [Select]
+ e {[KeyEventArgs] Code(LControl) Alt(True) Control(True) Shift(False) System(False)} SFML.Window.KeyEventArgs

You can see that Control flag is set, ant Code is LControl.
Left alt works as expected:
Code: [Select]
+ e {[KeyEventArgs] Code(LAlt) Alt(True) Control(False) Shift(False) System(False)} SFML.Window.KeyEventArgs

55
DotNet / C# port of GWEN - a GUI library
« on: August 06, 2011, 01:07:45 pm »
Hello, first time poster here.
I'm using SFML.NET for my project and I was really annoyed by lack of any decent GUI library for this environment. By chance I've discovered GWEN. It's a lightweight library with rich collection of controls, supports skinning and all the good stuff. There is one problem though (for me): it's written in C++. Interfacing C++ with C# is tricky at best, so I've decided to just rewrite the thing. It's going pretty well, I've got most of the framework and a few simple controls working:



I'll post updates on the GWEN forums and probably here (and of course on my blog ;))

PS. I've modified two input classes in SFML.NET (KeyEventArgs and MouseButtonEventArgs) to include bool field indicating if the key/button is depressed. That field seems present in original SFML but was removed in .NET, would be nice to have it back. :)

Pages: 1 2 3 [4]