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

Author Topic: Maximised Window Event Type???  (Read 1421 times)

0 Members and 1 Guest are viewing this topic.

werdy666

  • Newbie
  • *
  • Posts: 5
    • View Profile
Maximised Window Event Type???
« on: April 26, 2011, 04:15:41 pm »
Hi,

Just have been playing around with keeping my sprites the same size regardless of what the user changes the window size to. Works perfectly ok when i manually resize the window.

Problem is that when I hit maximise on the window it isn't recognised as a resize event.

Am I missing something? I have searched the forums and the docs for version 1.6 and 2.0 (currently using SFML 2.0)

Thanks

werdy666 :D

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Maximised Window Event Type???
« Reply #1 on: April 26, 2011, 04:22:27 pm »
Which operating system?
Laurent Gomila - SFML developer

werdy666

  • Newbie
  • *
  • Posts: 5
    • View Profile
Maximised Window Event Type???
« Reply #2 on: April 26, 2011, 06:15:15 pm »
Windows 7 64bit.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Maximised Window Event Type???
« Reply #3 on: April 26, 2011, 06:58:58 pm »
Works for me on the same OS.

You should try the OpenGL example. If the 3D cube doesn't follow exactly the mouse anymore after resizing, and is stuck in the lower-left corner, then there's a bug in SFML. If everything's ok then you have a bug in your code.
Laurent Gomila - SFML developer

werdy666

  • Newbie
  • *
  • Posts: 5
    • View Profile
Maximised Window Event Type???
« Reply #4 on: April 27, 2011, 05:39:23 pm »
bug in my Code! :oops:

thanks for your help Laurent!