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 - ferretallica

Pages: [1]
1
DotNet / ATI Graphic Card Issue
« on: March 15, 2012, 05:07:43 am »
I'm using the current source from GitHub, so unless that's not the latest...

Maybe it's not the same issue then, but the symptoms are the same. I don't get any errors/exceptions, I just get the process hanging on any SFML graphics call. Issue is fixed using DLL from 10.4 drivers in the bin directory.

2
DotNet / ATI Graphic Card Issue
« on: March 14, 2012, 12:57:34 am »
Quote from: "OniLink10"
Quote from: "Systemator"
so any progress on that ???
It's been fixed for over a month now.


Not for me. Still have the same problem. None of my SFML projects run any more, all hang on the first SFML graphics call.

The 10.4 driver DLL work-around is OK but it's not really 'fixed'.

3
DotNet / No Window.Create method in SFML.NET?
« on: September 22, 2010, 01:38:55 am »
Been looking into this further thinking it might be relevant to my particular multiple-monitor support implementation. As it turns out, it's not. Still, this might be of interest as a good starting point if you want to copy all events from one object to another:

http://stackoverflow.com/questions/660480/determine-list-of-event-handlers-bound-to-event

Basically you can adapt the accepted answer in that thread to add event handlers to the new window for each one it finds in the main foreach loop.

4
DotNet / No Window.Create method in SFML.NET?
« on: September 20, 2010, 03:25:50 am »
If you're trying to do it for the same reasons I have, try wrapping your windows in another class and having them all raise desired events, then handle them in one place. eg:

Code: [Select]

Public Class DisplayWindow

    Private WithEvents _RenderWindow As RenderWindow

    Public Event InputReceived(ByVal Sender As Object,ByVal e As KeyEventArgs)

#Region "Events"
    Sub App_KeyPressed(ByVal sender As Object, ByVal e As KeyEventArgs) Handles _RenderWindow.KeyPressed
        RaiseEvent InputReceived(Me,e)
    End Sub

    'Put other events here
#End Region
End Class


Then when you want to create these windows and handle their events in one place you can do something like this:

Code: [Select]

    Private _DisplayWindows As List(Of DisplayWindow)

    Private Sub CreateNewWindow()
            _DisplayWindows .Add(New DisplayWindow())
            AddHandler _DisplayWindows.Last.InputReceived, AddressOf ProcessInput
    End Sub

    Private Sub ProcessInput(ByVal sender As Object, ByVal e As KeyEventArgs)
        'Handle your common logic here
    End Sub

Pages: [1]
anything