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

Pages: [1]
1
Feature requests / Re: Mouse Position Delta
« on: June 23, 2013, 01:36:17 pm »
Quote
But things may be trickier in border cases, like when focus is lost/gained, when mouse enters/leaves the window, when the mouse is moved programmatically, etc.

Well, that settles it :v
I guess it might not be worth it after all.

2
Feature requests / Mouse Position Delta
« on: June 23, 2013, 12:24:14 pm »
It would be nice if the MouseMoveEvent struct:

struct MouseMoveEvent
{
    int x; ///< X position of the mouse pointer, relative to the left of the owner window
    int y; ///< Y position of the mouse pointer, relative to the top of the owner window
};

were to have 2 more useful members:

struct MouseMoveEvent
{
    int x;      ///< X position of the mouse pointer, relative to the left of the owner window
    int y;      ///< Y position of the mouse pointer, relative to the top of the owner window
    int deltaX; ///< Difference in X position of the mouse pointer, relative to the left of the owner window
    int deltaY; ///< Difference in Y position of the mouse pointer, relative to the top of the owner window
};

Currently, I have to calculate them manually by constantly tracking MouseMoved events.
I think it would be cleaner to have SFML do it.

The implementation should be simple, but that's none of my business, so I'll leave it at that.

3
For some very odd reason, all I did was wait a day and it somehow worked when I attempted to recompile it. Maybe a system restart is required in between one of the steps perhaps?

Edit:
Okay, I figured it out. In order to fix that error concerning the shell script, all you need to do is restart Xcode.

4
I'm having this problem as well. Before I followed your tutorial Cornstalks, I followed Laurent's Tutorial. I was trying to statically link SFML, but I was getting about 200 linker errors related to the FreeType library. Some of them were related to the GLEW library.

Anyway, that's not my point here. I want to know if anyone has been successful in getting SFML to work with Xcode. (Other than the people in this thread who seem to have it working already)

I need to assure myself that /I/ am doing something wrong so I can fix the problem.

Pages: [1]