Page 1 of 1
How to set name of window?
Posted: Thu Dec 01, 2005 11:44 pm
by Brujah
The window for my game is unnamed.
How do change it?
I use openwindowedscreen to open it.
There seems not to be a parameter to set the name.
Re: How to set name of window?
Posted: Fri Dec 02, 2005 6:05 am
by DarkDragon
Brujah wrote:The window for my game is unnamed.
How do change it?
I use openwindowedscreen to open it.
There seems not to be a parameter to set the name.
Before OpenWindowedScreen you have to open a window:
OpenWindow(ID, x, y, width, height, flags, Title$)
The Title is the "name" of your window.
Posted: Fri Dec 02, 2005 4:41 pm
by Brujah
This is not working on my machine. I have no gnome installed.
So I fear it will not work on a lot a machines.
Like my program is right now it is working everywhere...
But he says unnamed as title. I thought maybe there is another way to change that.
Posted: Fri Dec 02, 2005 5:32 pm
by Fred
You can try to use the SDL command: SDL_WM_SetCaption_("Test", "")