diff --git a/Asuro.iso b/Asuro.iso index 937dfa22..05b933ce 100644 Binary files a/Asuro.iso and b/Asuro.iso differ diff --git a/bin/kernel.bin b/bin/kernel.bin index 111ef5ca..2431e279 100755 Binary files a/bin/kernel.bin and b/bin/kernel.bin differ diff --git a/iso/boot/asuro.bin b/iso/boot/asuro.bin index 111ef5ca..2431e279 100755 Binary files a/iso/boot/asuro.bin and b/iso/boot/asuro.bin differ diff --git a/lib/asuro.ppu b/lib/asuro.ppu index 05f0bd67..93ea42f1 100644 Binary files a/lib/asuro.ppu and b/lib/asuro.ppu differ diff --git a/lib/console.ppu b/lib/console.ppu index f075946a..03a4e682 100644 Binary files a/lib/console.ppu and b/lib/console.ppu differ diff --git a/lib/libpconsole.a b/lib/libpconsole.a index 506ce25d..07eb8ca3 100644 Binary files a/lib/libpconsole.a and b/lib/libpconsole.a differ diff --git a/lib/libpmultiboot.a b/lib/libpmultiboot.a index 353336a7..8aadc80d 100644 Binary files a/lib/libpmultiboot.a and b/lib/libpmultiboot.a differ diff --git a/lib/libpsystem.a b/lib/libpsystem.a index e6177362..0e724d24 100644 Binary files a/lib/libpsystem.a and b/lib/libpsystem.a differ diff --git a/lib/shell.ppu b/lib/shell.ppu index 339a44d6..18f1e463 100644 Binary files a/lib/shell.ppu and b/lib/shell.ppu differ diff --git a/lib/terminal.ppu b/lib/terminal.ppu index d9bc3092..92c69cc1 100644 Binary files a/lib/terminal.ppu and b/lib/terminal.ppu differ diff --git a/src/console.pas b/src/console.pas index 96e6115f..409fa063 100644 --- a/src/console.pas +++ b/src/console.pas @@ -249,15 +249,15 @@ type THooks = record OnDraw : TDrawHook; //Implemented - OnMouseClick : TMouseClickHook; + OnMouseClick : TMouseClickHook; //Implemented OnMouseMove : TMouseMoveHook; OnMouseDown : TMouseDownHook; OnMouseUp : TMouseUpHook; - OnKeyPressed : TKeyPressedHook; - OnClose : TCloseHook; //Implemented - OnMinimize : TMinimizeHook; - OnFocus : TFocusHook; //Implemented - OnLoseFocus : TLoseFocusHook; //Implemented + OnKeyPressed : TKeyPressedHook; //Implemented + OnClose : TCloseHook; //Implemented + OnMinimize : TMinimizeHook; + OnFocus : TFocusHook; //Implemented + OnLoseFocus : TLoseFocusHook; //Implemented end; TWindow = record diff --git a/src/include/asuro.pas b/src/include/asuro.pas index b931fe7c..2e0b98a0 100644 --- a/src/include/asuro.pas +++ b/src/include/asuro.pas @@ -3,11 +3,11 @@ unit asuro; interface const - VERSION = '1.0.0-634a'; + VERSION = '1.0.0-642a'; VERSION_MAJOR = '1'; VERSION_MINOR = '0'; VERSION_SUB = '0'; - REVISION = '634'; + REVISION = '642'; RELEASE = 'a'; implementation diff --git a/src/prog/shell.pas b/src/prog/shell.pas index 9efd03e1..f98a4760 100644 --- a/src/prog/shell.pas +++ b/src/prog/shell.pas @@ -60,6 +60,11 @@ begin end; end; +procedure onBaseDraw(); +begin + clearWNDEx(0, console.combinecolors($01C3, $A55F)); +end; + procedure init(); begin colors:= console.combinecolors($0000, $FFFF); @@ -70,6 +75,7 @@ begin console.setShellWindow(Handle, false); console.registerEventHandler(Handle, EVENT_DRAW, void(@Draw)); console.registerEventHandler(Handle, EVENT_MOUSE_CLICK, void(@OnMouseClick)); + console.registerEventHandler(0, EVENT_DRAW, void(@onBaseDraw)); end; end. \ No newline at end of file