mirror of
https://github.com/vapaamies/KolibriOS.git
synced 2025-09-21 02:30:07 +02:00
Window captions of some example projects set to their actual names
This commit is contained in:
@@ -26,7 +26,7 @@ begin
|
|||||||
CurX := 0;
|
CurX := 0;
|
||||||
CurY := 0;
|
CurY := 0;
|
||||||
BeginDraw;
|
BeginDraw;
|
||||||
DrawWindow(Left, Top, Right, Bottom, 'Get Key', $00FFFFFF,
|
DrawWindow(Left, Top, Right, Bottom, 'Please type text to draw', $00FFFFFF,
|
||||||
WS_SKINNED_FIXED + WS_CLIENT_COORDS + WS_CAPTION, CAPTION_MOVABLE);
|
WS_SKINNED_FIXED + WS_CLIENT_COORDS + WS_CAPTION, CAPTION_MOVABLE);
|
||||||
EndDraw;
|
EndDraw;
|
||||||
end;
|
end;
|
||||||
|
@@ -23,7 +23,7 @@ begin
|
|||||||
ConsoleExit := GetProcAddress(hConsole, 'con_exit');
|
ConsoleExit := GetProcAddress(hConsole, 'con_exit');
|
||||||
printf := GetProcAddress(hConsole, 'con_printf');
|
printf := GetProcAddress(hConsole, 'con_printf');
|
||||||
|
|
||||||
ConsoleInit($FFFFFFFF, $FFFFFFFF, $FFFFFFFF, $FFFFFFFF, 'Test');
|
ConsoleInit($FFFFFFFF, $FFFFFFFF, $FFFFFFFF, $FFFFFFFF, 'Get Current Directory');
|
||||||
|
|
||||||
GetCurrentDirectory(Buffer, BUFFER_SIZE);
|
GetCurrentDirectory(Buffer, BUFFER_SIZE);
|
||||||
|
|
||||||
|
@@ -18,7 +18,7 @@ begin
|
|||||||
ConsoleExit := GetProcAddress(hConsole, 'con_exit');
|
ConsoleExit := GetProcAddress(hConsole, 'con_exit');
|
||||||
WriteN := GetProcAddress(hConsole, 'con_write_string');
|
WriteN := GetProcAddress(hConsole, 'con_write_string');
|
||||||
|
|
||||||
ConsoleInit($FFFFFFFF, $FFFFFFFF, $FFFFFFFF, $FFFFFFFF, 'Test');
|
ConsoleInit($FFFFFFFF, $FFFFFFFF, $FFFFFFFF, $FFFFFFFF, 'Load File');
|
||||||
|
|
||||||
Buffer := LoadFile('/sys/example.asm', FileSize);
|
Buffer := LoadFile('/sys/example.asm', FileSize);
|
||||||
WriteN(Buffer, FileSize);
|
WriteN(Buffer, FileSize);
|
||||||
|
@@ -37,7 +37,7 @@ begin
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
ConsoleInit($FFFFFFFF, $FFFFFFFF, $FFFFFFFF, $FFFFFFFF, 'ReadFolder');
|
ConsoleInit($FFFFFFFF, $FFFFFFFF, $FFFFFFFF, $FFFFFFFF, 'Read Folder');
|
||||||
printf('Folder "%s" can not be read.'#10, FolderPath);
|
printf('Folder "%s" can not be read.'#10, FolderPath);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user