git-svn-id: https://spexeah.com:8443/svn/Asuro@643 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
6d8717a7fc
commit
e8508fb22f
BIN
bin/kernel.bin
BIN
bin/kernel.bin
Binary file not shown.
Binary file not shown.
BIN
lib/asuro.ppu
BIN
lib/asuro.ppu
Binary file not shown.
BIN
lib/console.ppu
BIN
lib/console.ppu
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
lib/libpsystem.a
BIN
lib/libpsystem.a
Binary file not shown.
BIN
lib/shell.ppu
BIN
lib/shell.ppu
Binary file not shown.
BIN
lib/terminal.ppu
BIN
lib/terminal.ppu
Binary file not shown.
@ -249,15 +249,15 @@ type
|
|||||||
|
|
||||||
THooks = record
|
THooks = record
|
||||||
OnDraw : TDrawHook; //Implemented
|
OnDraw : TDrawHook; //Implemented
|
||||||
OnMouseClick : TMouseClickHook;
|
OnMouseClick : TMouseClickHook; //Implemented
|
||||||
OnMouseMove : TMouseMoveHook;
|
OnMouseMove : TMouseMoveHook;
|
||||||
OnMouseDown : TMouseDownHook;
|
OnMouseDown : TMouseDownHook;
|
||||||
OnMouseUp : TMouseUpHook;
|
OnMouseUp : TMouseUpHook;
|
||||||
OnKeyPressed : TKeyPressedHook;
|
OnKeyPressed : TKeyPressedHook; //Implemented
|
||||||
OnClose : TCloseHook; //Implemented
|
OnClose : TCloseHook; //Implemented
|
||||||
OnMinimize : TMinimizeHook;
|
OnMinimize : TMinimizeHook;
|
||||||
OnFocus : TFocusHook; //Implemented
|
OnFocus : TFocusHook; //Implemented
|
||||||
OnLoseFocus : TLoseFocusHook; //Implemented
|
OnLoseFocus : TLoseFocusHook; //Implemented
|
||||||
end;
|
end;
|
||||||
|
|
||||||
TWindow = record
|
TWindow = record
|
||||||
|
@ -3,11 +3,11 @@ unit asuro;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
const
|
const
|
||||||
VERSION = '1.0.0-634a';
|
VERSION = '1.0.0-642a';
|
||||||
VERSION_MAJOR = '1';
|
VERSION_MAJOR = '1';
|
||||||
VERSION_MINOR = '0';
|
VERSION_MINOR = '0';
|
||||||
VERSION_SUB = '0';
|
VERSION_SUB = '0';
|
||||||
REVISION = '634';
|
REVISION = '642';
|
||||||
RELEASE = 'a';
|
RELEASE = 'a';
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
@ -60,6 +60,11 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure onBaseDraw();
|
||||||
|
begin
|
||||||
|
clearWNDEx(0, console.combinecolors($01C3, $A55F));
|
||||||
|
end;
|
||||||
|
|
||||||
procedure init();
|
procedure init();
|
||||||
begin
|
begin
|
||||||
colors:= console.combinecolors($0000, $FFFF);
|
colors:= console.combinecolors($0000, $FFFF);
|
||||||
@ -70,6 +75,7 @@ begin
|
|||||||
console.setShellWindow(Handle, false);
|
console.setShellWindow(Handle, false);
|
||||||
console.registerEventHandler(Handle, EVENT_DRAW, void(@Draw));
|
console.registerEventHandler(Handle, EVENT_DRAW, void(@Draw));
|
||||||
console.registerEventHandler(Handle, EVENT_MOUSE_CLICK, void(@OnMouseClick));
|
console.registerEventHandler(Handle, EVENT_MOUSE_CLICK, void(@OnMouseClick));
|
||||||
|
console.registerEventHandler(0, EVENT_DRAW, void(@onBaseDraw));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
end.
|
end.
|
Loading…
x
Reference in New Issue
Block a user