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 - Francisco Benavides

Pages: [1]
1
Window / Re: SFML and WXWIDGETS integration
« on: September 10, 2014, 11:02:29 pm »
What is the proper way to integrate these two libraries then ?

2
Window / Re: SFML and WXWIDGETS integration
« on: September 10, 2014, 11:00:00 pm »
The change I showed seems to work
It is not so difficult to solve then

3
SFML website / SFML and WXWIDGETS integration
« on: September 09, 2014, 08:03:19 pm »
Did someone do this with the most recent versions of SFML and WxWidgets ?

4
Window / SFML and WXWIDGETS integration
« on: September 09, 2014, 07:59:26 pm »
The documentation for this issue is a little bit outdated, for WxWidgets 2.x and SFML 1.6
Following the same procedure, I got to make it work, but there seems to be a bug in Windows.cpp

The function is:

Vector2u Window::getSize() const
{
    return m_size;
}

It should be:

Vector2u Window::getSize() const
{
   return m_impl ? m_impl->getSize() : m_size;
}

Did someone else have the same problem ? When I placed a Sprite inside the WxControl, it was not scaled properly. After the change I suggest, everything seems to be ok.

Greetings

Pages: [1]