From b33c079d847691adef549dac1448408063647a40 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Thu, 18 Oct 2018 22:23:13 +0000 Subject: [PATCH] rforces: better window git-svn-id: svn://kolibrios.org@7482 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/games/rforces/trunk/kosSyst.cpp | 19 +++++++++---------- programs/games/rforces/trunk/kosSyst.h | 2 ++ 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/programs/games/rforces/trunk/kosSyst.cpp b/programs/games/rforces/trunk/kosSyst.cpp index 71fde4e980..193f352429 100644 --- a/programs/games/rforces/trunk/kosSyst.cpp +++ b/programs/games/rforces/trunk/kosSyst.cpp @@ -772,16 +772,6 @@ void kos_DeleteMouseCursor( Dword * handle ) } } -// 48.4 get windows title bar height -Dword kos_GetSkinHeight( Dword * handle ) -{ - __asm{ - mov eax, 48 - mov ebx, 4 - int 0x40 - } -} - // функция 38 нарисовать полосу void kos_DrawLine( Word x1, Word y1, Word x2, Word y2, Dword colour ) { @@ -874,6 +864,15 @@ void kos_DisplayNumberToWindowBg( } } +// 48.4 get windows title bar height +Dword kos_GetSkinHeight() +{ + __asm{ + mov eax, 48 + mov ebx, 4 + int 0x40 + } +} // функция 70 доступ к файловой системе Dword kos_FileSystemAccess( kosFileInfo *fileInfo ) diff --git a/programs/games/rforces/trunk/kosSyst.h b/programs/games/rforces/trunk/kosSyst.h index c33b802874..a6a2a95fd7 100644 --- a/programs/games/rforces/trunk/kosSyst.h +++ b/programs/games/rforces/trunk/kosSyst.h @@ -205,6 +205,8 @@ void kos_DisplayNumberToWindowBg( eNumberBase nBase = nbDecimal, bool valueIsPointer = false ); +// 48.4 get windows title bar height +Dword kos_GetSkinHeight(); // функция 58 доступ к файловой системе Dword kos_FileSystemAccess( kosFileInfo *fileInfo ); // функция 63