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

Author Topic: prevent last draw trail during resizing  (Read 2093 times)

0 Members and 1 Guest are viewing this topic.

barnack

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
prevent last draw trail during resizing
« on: August 19, 2018, 02:37:04 am »
Hi,
is there a way to prevent a window from creating a trail of what's in the borders during window resizing?
Just having it flat black would be better than this.
Note this is during resizing, not after left button is released. Windows blocks the window until resizing is complete afaik, but other programs i made with gamemaker dont have this behaviour during resizing.

Hapax

  • Hero Member
  • *****
  • Posts: 3351
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: prevent last draw trail during resizing
« Reply #1 on: August 19, 2018, 04:46:55 pm »
SFML doesn't allow you to update (or redraw) the window during a resize; you need a more comprehensive window library to create and control the window (or create and control it yourself) and you can then insert SFML into that window.
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*

barnack

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
Re: prevent last draw trail during resizing
« Reply #2 on: August 19, 2018, 06:48:46 pm »
SFML doesn't allow you to update (or redraw) the window during a resize; you need a more comprehensive window library to create and control the window (or create and control it yourself) and you can then insert SFML into that window.
Got it, thanks.