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

Author Topic: Rounded SFML window  (Read 102 times)

0 Members and 1 Guest are viewing this topic.

FIWE

  • Newbie
  • *
  • Posts: 2
    • View Profile
Rounded SFML window
« on: March 17, 2019, 01:52:00 pm »
Hello!

I am quite new to SFML and I am trying to render a window where the edges are rounded. When displaying a window that has its style set to none, the edges gets edgy. Is there any way to fix this without having the window style containing a titlebar?

Thanks in advance.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 9132
    • View Profile
    • development blog
    • Email
Re: Rounded SFML window
« Reply #1 on: March 17, 2019, 02:01:46 pm »
SFML doesn't support transparent or special shaped windows.

You could take a look at Texus' Transparent Window class: https://github.com/texus/TransparentWindows
Official FAQ: https://www.sfml-dev.org/faq.php
Nightly Builds: https://www.nightlybuilds.ch/
——————————————————————
Dev Blog: https://dev.my-gate.net/
Thor: http://www.bromeon.ch/libraries/thor/

FIWE

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Rounded SFML window
« Reply #2 on: March 17, 2019, 02:12:01 pm »
Ok, thank you anyways.

 

anything