* Change window title
This commit is contained in:
parent
4f55e9f989
commit
f63472025f
5 changed files with 11 additions and 14 deletions
|
@ -57,8 +57,6 @@ typedef enum {
|
|||
#define TRY_PFD_FAIL_SOFT 1
|
||||
#define TRY_PFD_FAIL_HARD 2
|
||||
|
||||
#define WINDOW_CLASS_NAME "Quake 3: Arena"
|
||||
|
||||
static void GLW_InitExtensions( void );
|
||||
static rserr_t GLW_SetMode( const char *drivername,
|
||||
int mode,
|
||||
|
@ -600,7 +598,7 @@ static qboolean GLW_CreateWindow( const char *drivername, int width, int height,
|
|||
wc.hCursor = LoadCursor (NULL,IDC_ARROW);
|
||||
wc.hbrBackground = (void *)COLOR_GRAYTEXT;
|
||||
wc.lpszMenuName = 0;
|
||||
wc.lpszClassName = WINDOW_CLASS_NAME;
|
||||
wc.lpszClassName = CLIENT_WINDOW_TITLE;
|
||||
|
||||
if ( !RegisterClass( &wc ) )
|
||||
{
|
||||
|
@ -669,8 +667,8 @@ static qboolean GLW_CreateWindow( const char *drivername, int width, int height,
|
|||
|
||||
g_wv.hWnd = CreateWindowEx (
|
||||
exstyle,
|
||||
WINDOW_CLASS_NAME,
|
||||
"Quake 3: Arena",
|
||||
CLIENT_WINDOW_TITLE,
|
||||
CLIENT_WINDOW_TITLE,
|
||||
stylebits,
|
||||
x, y, w, h,
|
||||
NULL,
|
||||
|
|
|
@ -334,7 +334,7 @@ void Sys_CreateConsole( void )
|
|||
|
||||
s_wcd.hWnd = CreateWindowEx( 0,
|
||||
DEDCLASS,
|
||||
"Quake 3 Console",
|
||||
CONSOLE_WINDOW_TITLE,
|
||||
DEDSTYLE,
|
||||
( swidth - 600 ) / 2, ( sheight - 450 ) / 2 , rect.right - rect.left + 1, rect.bottom - rect.top + 1,
|
||||
NULL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue