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 - racumin

Pages: 1 [2]
16
Window / No title bar on RenderWindow
« on: October 08, 2009, 09:08:12 am »
Hi! I'm new to c++ and sfml. I'm creating a small window but the titlebar won't show. I tried
Code: [Select]

int main() {
       WindowSettings settings;
settings.DepthBits = 32;
settings.StencilBits = 8;
settings.AntialiasingLevel = 2;

VideoMode mode(100, 150, 32);
RenderWindow window(mode, "SFML Window", Style::Titlebar, settings);
        while (window.IsOpened()) {
window.Clear();
                //handle events here
window.Display();
}
}


in Ubuntu Hardy but the titlebar won't show. How can I fix this problem? Thanks!

Pages: 1 [2]