Allgames: renamed "game_center" and its ini file to save space on ramdisk

Eolite: fixed big icon position in properties dialog
Board: press F2 to open boardlog.ini in Tinypad
Wv_skin.png: much better packed 2 secors instead of 5
Icons32.png: improved Almaz icons


git-svn-id: svn://kolibrios.org@7425 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2018-10-02 14:01:29 +00:00
parent 34d38f1a42
commit b1df9e7cd1
17 changed files with 35 additions and 34 deletions
+6 -19
View File
@@ -79,9 +79,10 @@ int action_buf;
dword TOOLBAR_H = 40;
dword STATUSBAR_H = 15;
dword col_bg;
dword panel_color;
dword border_color;
dword col_bg = 0xE3E2E2;
dword panel_color = 0xE3E2E2;
dword border_color = 0x8C8C8C;
bool debug_mode = false;
bool old_tag_parser_mode = false;
@@ -124,7 +125,7 @@ void main()
load_dll(libHTTP, #http_lib_init,1);
load_dll(iconv_lib, #iconv_open,0);
Libimg_LoadImage(#skin, abspath("wv_skin.png"));
SetSkinColors();
wv_progress_bar.progress_color = 0x72B7EB;
CreateDir("/tmp0/1/downloads");
if (param) strcpy(#URL, #param); else strcpy(#URL, URL_SERVICE_HOME);
WB1.list.SetFont(8, 14, 10011000b);
@@ -255,7 +256,7 @@ void Draw_Window()
img_draw stdcall(skin.image, address_box.left-53, address_box.top-3, 51, skin.h, 3, 0);
DefineButton(address_box.left+address_box.width+1, address_box.top-3, 16, skin.h-1, REFRESH_BUTTON+BT_HIDE+BT_NOFRAME, 0);
DefineButton(Form.cwidth-27, address_box.top-3, 23, skin.h-1, SANDWICH_BUTTON+BT_HIDE, 0);
img_draw stdcall(skin.image, Form.cwidth-24, address_box.top-3, 17, skin.h, 87, 0);
img_draw stdcall(skin.image, Form.cwidth-24, address_box.top-3, 17, skin.h, 105, 0);
DrawBar(0,Form.cheight - STATUSBAR_H, Form.cwidth,STATUSBAR_H, col_bg);
DrawBar(0,Form.cheight - STATUSBAR_H, Form.cwidth,1, border_color);
if (!header)
@@ -479,20 +480,6 @@ byte UrlExtIs(dword ext)
return false;
}
int SetSkinColors()
{
dword image_data;
image_data = DSDWORD[skin.image+24];
col_bg = DSDWORD[image_data];
panel_color = DSDWORD[skin.w*4*4 + image_data];
border_color = DSDWORD[skin.w*4*7 + image_data];
wv_progress_bar.progress_color = DSDWORD[skin.w*4*10 + image_data];
$and col_bg, 0x00ffffff
$and panel_color, 0x00ffffff
$and border_color, 0x00ffffff
$and wv_progress_bar.progress_color, 0x00ffffff
}
void DrawProgress()
{
dword persent;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 574 B

+1 -1
View File
@@ -337,5 +337,5 @@ void PropertiesDrawIcon(dword file_path, extension)
{
#define ICON_PADDING 11
DrawBar(20-ICON_PADDING, 30-ICON_PADDING-1, ICON_PADDING*2+16, ICON_PADDING*2+16, 0xFFFfff);
DrawIconByExtension(file_path, extension, 20, 30, system.color.work_light);
DrawIconByExtension(file_path, extension, -icon_size/2+28, -icon_size/2+38, 0xFFFfff);
}
+2 -2
View File
@@ -1,5 +1,5 @@
#define TITLE "Eolite File Manager v3.96b"
#define ABOUT_TITLE "EOLITE 3.96b"
#define TITLE "Eolite File Manager v3.96c"
#define ABOUT_TITLE "EOLITE 3.96c"
#ifdef LANG_RUS
?define T_FILE "” ©«"
+14
View File
@@ -184,7 +184,13 @@ key:
mcall 2
cmp ah, ' '
je button.noclose
cmp ah, 51 ; F2
je open_boardlog
jmp still
open_boardlog:
mcall 70, open_log_in_tinypad
jmp red
;------------------------------------------------------------------------------
button:
mcall 17 ; get id
@@ -443,6 +449,14 @@ InfoStructure:
db ?
dd ? ; pointer to the filename
open_log_in_tinypad:
dd 7
dd 0
dd filename
dd 0
dd 0
db '/sys/tinypad',0
buffer_length rb 3
process_count dd ?
krnl_cnt dd ?