[wpdev-commits] wolfpack console_win.cpp,1.5,1.6 wolfpack.cpp,1.460,1.461
Brought to you by:
rip,
thiagocorrea
|
From: <dar...@us...> - 2003-09-09 15:33:12
|
Update of /cvsroot/wpdev/wolfpack
In directory sc8-pr-cvs1:/tmp/cvs-serv3791
Modified Files:
console_win.cpp wolfpack.cpp
Log Message:
Trying out new console code.
Index: console_win.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/console_win.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** console_win.cpp 9 Sep 2003 15:17:07 -0000 1.5
--- console_win.cpp 9 Sep 2003 15:33:07 -0000 1.6
***************
*** 106,109 ****
--- 106,110 ----
ZeroMemory( &lfont, sizeof( LOGFONT ) );
qstrcpy( lfont.lfFaceName, "Fixedsys" );
+ lfont.lfQuality = ANTIALIASED_QUALITY;
font = CreateFontIndirect( &lfont );
if ( !font )
***************
*** 277,281 ****
returnValue_ = main( argc, argv.data() );
! PostQuitMessage( returnValue_ );
}
};
--- 278,282 ----
returnValue_ = main( argc, argv.data() );
! PostMessage( mainWindow, WM_QUIT, 0, 0 );
}
};
***************
*** 372,377 ****
// Check for the caret
! CHARRANGE range;
! SendMessage( logWindow, EM_EXGETSEL, 0, (LPARAM)&range );
// Delete lines from the beginning if we exceed the maximum limit.
--- 373,377 ----
// Check for the caret
! SendMessage( logWindow, EM_SETSEL, ctrlLength, ctrlLength );
// Delete lines from the beginning if we exceed the maximum limit.
***************
*** 498,502 ****
{
cf.dwMask |= CFM_SIZE;
! cf.yHeight = size;
}
--- 498,502 ----
{
cf.dwMask |= CFM_SIZE;
! cf.yHeight = size * 20;
}
Index: wolfpack.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/wolfpack.cpp,v
retrieving revision 1.460
retrieving revision 1.461
diff -C2 -d -r1.460 -r1.461
*** wolfpack.cpp 9 Sep 2003 15:17:07 -0000 1.460
--- wolfpack.cpp 9 Sep 2003 15:33:07 -0000 1.461
***************
*** 330,335 ****
return 0;*/
! Console::instance()->setAttributes( true, false, false, 0, 0, 255, 0, FONT_FIXEDWIDTH );
! Console::instance()->send( QString( "\n%1 %2 %3 \n\n" ).arg( wp_version.productstring.c_str() ).arg( wp_version.betareleasestring.c_str() ).arg( wp_version.verstring.c_str() ) );
Console::instance()->send( "Copyright (C) 1997, 98 Marcus Rating (Cironian)\n");
--- 330,335 ----
return 0;*/
! Console::instance()->setAttributes( true, false, true, 60, 140, 70, 12, FONT_NOSERIF );
! Console::instance()->send( QString( "\n%1 %2 %3\n\n" ).arg( wp_version.productstring.c_str() ).arg( wp_version.betareleasestring.c_str() ).arg( wp_version.verstring.c_str() ) );
Console::instance()->send( "Copyright (C) 1997, 98 Marcus Rating (Cironian)\n");
|