git-svn-id: https://spexeah.com:8443/svn/Asuro@668 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c

This commit is contained in:
kieron 2018-05-06 05:58:03 +00:00
parent fee4e4d759
commit b9d6225cb8
71 changed files with 31 additions and 4 deletions

BIN
Asuro.iso

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -201,6 +201,7 @@ procedure _MouseUp();
procedure _MouseClick(left : boolean); procedure _MouseClick(left : boolean);
procedure setWindowColors(colors : uint32); procedure setWindowColors(colors : uint32);
function getWindowColorPtr : puint32;
implementation implementation
@ -319,6 +320,11 @@ var
MouseCursorEnabled : Boolean = true; MouseCursorEnabled : Boolean = true;
OpenTerminal : Boolean = false; OpenTerminal : Boolean = false;
function getWindowColorPtr : puint32;
begin
getWindowColorPtr:= @Window_Border.Attributes;
end;
procedure setWindowColors(colors : uint32); procedure setWindowColors(colors : uint32);
begin begin
Window_Border.Attributes:= colors; Window_Border.Attributes:= colors;
@ -1087,6 +1093,7 @@ begin
if (key_info.CTRL_DOWN) and (key_info.ALT_DOWN) then begin if (key_info.CTRL_DOWN) and (key_info.ALT_DOWN) then begin
case key_info.key_code of case key_info.key_code of
uint8('c'):OpenTerminal:=true; uint8('c'):OpenTerminal:=true;
uint8('r'):resetSystem;
end; end;
end else begin end else begin
if WindowManager.Z_Order[0] <> MAX_WINDOWS then begin if WindowManager.Z_Order[0] <> MAX_WINDOWS then begin

View File

@ -9,14 +9,14 @@ const
VERSION_SUB = '1'; VERSION_SUB = '1';
REVISION = '664'; REVISION = '664';
RELEASE = 'ia'; RELEASE = 'ia';
LINE_COUNT = 27151; LINE_COUNT = 27361;
FILE_COUNT = 83; FILE_COUNT = 84;
DRIVER_COUNT = 28; DRIVER_COUNT = 28;
FPC_VERSION = '2.6.4'; FPC_VERSION = '2.6.4';
NASM_VERSION = '2.10.09'; NASM_VERSION = '2.10.09';
MAKE_VERSION = '3.81'; MAKE_VERSION = '3.81';
COMPILE_DATE = '06/05/18'; COMPILE_DATE = '06/05/18';
COMPILE_TIME = '00:38:59'; COMPILE_TIME = '06:55:52';
implementation implementation

View File

@ -41,7 +41,8 @@ uses
shell, shell,
memview, memview,
splash, splash,
cpu; cpu,
themer;
procedure kmain(mbinfo: Pmultiboot_info_t; mbmagic: uint32); stdcall; procedure kmain(mbinfo: Pmultiboot_info_t; mbmagic: uint32); stdcall;
@ -200,6 +201,7 @@ begin
{ Init Progs } { Init Progs }
shell.init(); shell.init();
memview.init(); memview.init();
themer.init();
{ Init Splash } { Init Splash }
splash.init(); splash.init();

View File

@ -6,6 +6,9 @@ uses
Console, RTC, terminal, strings, asuro; Console, RTC, terminal, strings, asuro;
procedure init(); procedure init();
function getTaskbarColorsPtr : puint32;
function getExploreColorsPtr : puint32;
function getDesktopColorsPtr : puint32;
implementation implementation
@ -16,6 +19,21 @@ var
Explore_Colors : uint32; Explore_Colors : uint32;
Desktop_Colors : uint32; Desktop_Colors : uint32;
function getTaskbarColorsPtr : puint32;
begin
getTaskbarColorsPtr:= @Takbar_Colors;
end;
function getExploreColorsPtr : puint32;
begin
getExploreColorsPtr:= @Explore_Colors;
end;
function getDesktopColorsPtr : puint32;
begin
getDesktopColorsPtr:= @Desktop_Colors;
end;
procedure Draw(); procedure Draw();
var var
DateTime : TDateTime; DateTime : TDateTime;