diff --git a/programs/cmm/lib/draw_buf.h b/programs/cmm/lib/draw_buf.h index 3b182fb9ea..940b56dfd4 100644 --- a/programs/cmm/lib/draw_buf.h +++ b/programs/cmm/lib/draw_buf.h @@ -43,7 +43,7 @@ bool DrawBufer::Init(int i_bufx, i_bufy, i_bufw, i_bufh) "'DrawBufer needs more memory than currenly available. Application could be unstable. -Requested size: %i Kb. +Requested size: %i Kb Free RAM: %i Kb' -E", alloc_size/1024, free_ram_size/1024); notify(#error_str); } diff --git a/skins/Leency/ObsidianOS/Tupfile.lua b/skins/Leency/ObsidianOS/Tupfile.lua new file mode 100644 index 0000000000..2da4aebce1 --- /dev/null +++ b/skins/Leency/ObsidianOS/Tupfile.lua @@ -0,0 +1,2 @@ +if tup.getconfig("NO_FASM") ~= "" then return end +tup.rule("default.asm", 'fasm "%f" "%o" ' .. tup.getconfig("KPACK_CMD"), "Shkvorka.skn") diff --git a/skins/Leency/ObsidianOS/build.bat b/skins/Leency/ObsidianOS/build.bat new file mode 100644 index 0000000000..4da7975657 --- /dev/null +++ b/skins/Leency/ObsidianOS/build.bat @@ -0,0 +1,4 @@ +@fasm default.dtp.asm default.dtp +@fasm default.asm default.skn +@kpack default.skn +@pause \ No newline at end of file diff --git a/skins/Leency/ObsidianOS/center1.bmp b/skins/Leency/ObsidianOS/center1.bmp new file mode 100644 index 0000000000..3fce3d0dcb Binary files /dev/null and b/skins/Leency/ObsidianOS/center1.bmp differ diff --git a/skins/Leency/ObsidianOS/center2.bmp b/skins/Leency/ObsidianOS/center2.bmp new file mode 100644 index 0000000000..3fce3d0dcb Binary files /dev/null and b/skins/Leency/ObsidianOS/center2.bmp differ diff --git a/skins/Leency/ObsidianOS/default.asm b/skins/Leency/ObsidianOS/default.asm new file mode 100644 index 0000000000..f702a21663 --- /dev/null +++ b/skins/Leency/ObsidianOS/default.asm @@ -0,0 +1,31 @@ +include '..\me_skin.inc' + +SKIN_PARAMS \ + height = bmp_center1.height,\ ; skin height + margins = [6:5:43:3],\ ; margins [left:top:right:bottom] + colors active = [binner=0x202020:\ ; border inner + bouter=0x000000:\ ; border outer + bframe=0x555555],\ ; border middle + colors inactive = [binner=0x202020:\ ; border inner + bouter=0x000000:\ ; border outer + bframe=0x555555],\ ; border middle + dtp = 'default.dtp' ; dtp colors + +SKIN_BUTTONS \ + close = [-31:1][27:18],\ ; buttons coordinates + minimize = [-58:1][27:18] ; [left:top][width:height] + +SKIN_BITMAPS \ + left active = bmp_left1,\ ; skin bitmaps pointers + left inactive = bmp_left2,\ + oper active = bmp_right1,\ + oper inactive = bmp_right2,\ + base active = bmp_center1,\ + base inactive = bmp_center2 + +BITMAP bmp_left1, 'left1.bmp' ; skin bitmaps +BITMAP bmp_left2, 'left2.bmp' +BITMAP bmp_right1, 'right1.bmp' +BITMAP bmp_right2, 'right2.bmp' +BITMAP bmp_center1,'center1.bmp' +BITMAP bmp_center2,'center2.bmp' diff --git a/skins/Leency/ObsidianOS/default.dtp b/skins/Leency/ObsidianOS/default.dtp new file mode 100644 index 0000000000..608b097b92 Binary files /dev/null and b/skins/Leency/ObsidianOS/default.dtp differ diff --git a/skins/Leency/ObsidianOS/default.dtp.asm b/skins/Leency/ObsidianOS/default.dtp.asm new file mode 100644 index 0000000000..a1e4634017 --- /dev/null +++ b/skins/Leency/ObsidianOS/default.dtp.asm @@ -0,0 +1,14 @@ +struc system_colors + { + .unused1 dd 0x586786 + .unused2 dd 0xFEFEFE + .work_3d_dark dd 0xAEA6A6 + .work_3d_light dd 0xFBFBFB + .window_title dd 0xBBBBBB + .work dd 0xC0C0C0 + .work_button dd 0x0092D8 + .work_button_text dd 0xFEFEFE + .work_text dd 0x000000 + .work_graph dd 0x7E7E7E + } +struct system_colors \ No newline at end of file diff --git a/skins/Leency/ObsidianOS/left1.bmp b/skins/Leency/ObsidianOS/left1.bmp new file mode 100644 index 0000000000..ca33d4a03f Binary files /dev/null and b/skins/Leency/ObsidianOS/left1.bmp differ diff --git a/skins/Leency/ObsidianOS/left2.bmp b/skins/Leency/ObsidianOS/left2.bmp new file mode 100644 index 0000000000..ca33d4a03f Binary files /dev/null and b/skins/Leency/ObsidianOS/left2.bmp differ diff --git a/skins/Leency/ObsidianOS/right1.bmp b/skins/Leency/ObsidianOS/right1.bmp new file mode 100644 index 0000000000..0aba52a07e Binary files /dev/null and b/skins/Leency/ObsidianOS/right1.bmp differ diff --git a/skins/Leency/ObsidianOS/right2.bmp b/skins/Leency/ObsidianOS/right2.bmp new file mode 100644 index 0000000000..0eb09f3699 Binary files /dev/null and b/skins/Leency/ObsidianOS/right2.bmp differ