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

Author Topic: SFML2 window transparency?  (Read 2964 times)

0 Members and 1 Guest are viewing this topic.

strongdrink

  • Newbie
  • *
  • Posts: 43
    • View Profile
    • Email
SFML2 window transparency?
« on: June 20, 2011, 09:15:42 pm »
Is there going to be window transparency in SFML2?

JAssange

  • Full Member
  • ***
  • Posts: 104
    • View Profile
SFML2 window transparency?
« Reply #1 on: June 20, 2011, 10:05:46 pm »
That's a heavily operating-specific feature and not of much use for games so I don't see official support ever coming.

Groogy

  • Hero Member
  • *****
  • Posts: 1469
    • MSN Messenger - groogy@groogy.se
    • View Profile
    • http://www.groogy.se
    • Email
SFML2 window transparency?
« Reply #2 on: June 20, 2011, 11:49:00 pm »
Quote from: "JAssange"
That's a heavily operating-specific feature

Probably not comming because of that, not all operating systems support it. Like Linux with X-server don't support it but with Compiz plugin it does.
Quote from: "JAssange"
and not of much use for games so I don't see official support ever coming.

Erhm, SFML is not designed to be aimed for games :P
Developer and Maker of rbSFML and Programmer at Paradox Development Studio

strongdrink

  • Newbie
  • *
  • Posts: 43
    • View Profile
    • Email
SFML2 window transparency?
« Reply #3 on: June 21, 2011, 04:55:36 pm »
Ok, so I'm building a linux file manager.. with compiz i can do..
Code: [Select]

window.Clear(sf::Color(0,0,0,100);

JAssange

  • Full Member
  • ***
  • Posts: 104
    • View Profile
SFML2 window transparency?
« Reply #4 on: June 21, 2011, 06:46:33 pm »
Quote from: "Groogy"
Erhm, SFML is not designed to be aimed for games :P

Most of what I've seen SFML used for is games (>75%?), but point taken.

Quote from: "strongdrink"
Ok, so I'm building a linux file manager.. with compiz i can do..
Code: [Select]

window.Clear(sf::Color(0,0,0,100);

If you wanted to do it yourself, it's SetLayeredWindowAttribute on Windows.

strongdrink

  • Newbie
  • *
  • Posts: 43
    • View Profile
    • Email
SFML2 window transparency?
« Reply #5 on: June 21, 2011, 10:49:18 pm »
I don't use windows.. i use linux

Quote
so I'm building a linux file manager


lol

 

anything