mirror of
https://github.com/vapaamies/KolibriOS.git
synced 2024-11-09 17:50:30 +01:00
CRT.FontHeight function added
This commit is contained in:
parent
5b3e082e52
commit
023d565b81
@ -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');
|
||||||
|
Loading…
Reference in New Issue
Block a user