mirror of
https://github.com/vapaamies/KolibriOS.git
synced 2025-09-21 22:53:51 +02:00
CRT.FontHeight function added
This commit is contained in:
@@ -62,6 +62,7 @@ procedure Delay(Milliseconds: LongWord); // absolute Sleep(Milliseconds);
|
|||||||
|
|
||||||
var
|
var
|
||||||
ClrScr: procedure; stdcall;
|
ClrScr: procedure; stdcall;
|
||||||
|
FontHeight: function: Integer; stdcall;
|
||||||
KeyPressed: function: Boolean;
|
KeyPressed: function: Boolean;
|
||||||
ReadKey: function: KolibriChar; stdcall;
|
ReadKey: function: KolibriChar; stdcall;
|
||||||
Write: function(const Text: PKolibriChar): LongInt; cdecl varargs;
|
Write: function(const Text: PKolibriChar): LongInt; cdecl varargs;
|
||||||
@@ -109,6 +110,7 @@ begin
|
|||||||
ClrScr := GetProcAddress(hConsole, 'con_cls');
|
ClrScr := GetProcAddress(hConsole, 'con_cls');
|
||||||
ConsoleExit := GetProcAddress(hConsole, 'con_exit');
|
ConsoleExit := GetProcAddress(hConsole, 'con_exit');
|
||||||
ConsoleInit := GetProcAddress(hConsole, 'con_init');
|
ConsoleInit := GetProcAddress(hConsole, 'con_init');
|
||||||
|
FontHeight := GetProcAddress(hConsole, 'con_get_font_height');
|
||||||
GetCursorHeight := GetProcAddress(hConsole, 'con_get_cursor_height');
|
GetCursorHeight := GetProcAddress(hConsole, 'con_get_cursor_height');
|
||||||
GetFlags := GetProcAddress(hConsole, 'con_get_flags');
|
GetFlags := GetProcAddress(hConsole, 'con_get_flags');
|
||||||
GotoXYProc := GetProcAddress(hConsole, 'con_set_cursor_pos');
|
GotoXYProc := GetProcAddress(hConsole, 'con_set_cursor_pos');
|
||||||
|
Reference in New Issue
Block a user