mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-25 08:06:49 +03:00
System Panel:
- add Network Speed test (thanks Coldy for the idea) - add AMDtemp, also add app icon into icons32.png git-svn-id: svn://kolibrios.org@9246 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
041b56415a
commit
7015aadd71
Binary file not shown.
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
@ -1,6 +1,6 @@
|
|||||||
[Config]
|
[Config]
|
||||||
title=KolibriOS System Panel
|
title=KolibriOS System Panel
|
||||||
win_width=670
|
win_width=680
|
||||||
cell_w=82
|
cell_w=82
|
||||||
cell_h=78
|
cell_h=78
|
||||||
|
|
||||||
@ -28,13 +28,15 @@ GhostMonitor=gmon,107
|
|||||||
SysMonitor=sysmon,57
|
SysMonitor=sysmon,57
|
||||||
Processes=cpu,60
|
Processes=cpu,60
|
||||||
Clipboard=develop/clipview,83
|
Clipboard=develop/clipview,83
|
||||||
|
PciDevice=pcidev,38
|
||||||
|
AMDtemp=/k/utils/AMDtemp,128
|
||||||
|
|
||||||
[Testing]
|
[Testing]
|
||||||
Protection=test,37
|
|
||||||
CpuID=cpuid,37
|
CpuID=cpuid,37
|
||||||
Display=disptest,113
|
Display=disptest,113
|
||||||
File Speed=fspeed,45
|
File Speed=fspeed,45
|
||||||
HDDinfo=hdd_info,50
|
HDDinfo=hdd_info,50
|
||||||
BusOff=kbd,37
|
BusOff=kbd,37
|
||||||
|
Protection=test,37
|
||||||
Graphic Bench=mgb,121
|
Graphic Bench=mgb,121
|
||||||
PciDevice=pcidev,38
|
Network Speed=network/dl|-test,51
|
@ -28,13 +28,15 @@ Ghost monitor=gmon,107
|
|||||||
‘¨áâ¥¬ë© ¬®¨â®à=sysmon,57
|
‘¨áâ¥¬ë© ¬®¨â®à=sysmon,57
|
||||||
<EFBFBD>à®æ¥ááë=cpu,60
|
<EFBFBD>à®æ¥ááë=cpu,60
|
||||||
<EFBFBD>ãä¥à ®¡¬¥ =develop/clipview,83
|
<EFBFBD>ãä¥à ®¡¬¥ =develop/clipview,83
|
||||||
|
“áâனá⢠PCI=pcidev,38
|
||||||
|
AMDtemp=/k/utils/AMDtemp,128
|
||||||
|
|
||||||
[’¥áâ¨à®¢ ¨¥]
|
[’¥áâ¨à®¢ ¨¥]
|
||||||
’Ąáâ § é¨âë=test,37
|
|
||||||
CpuId=cpuid,37
|
CpuId=cpuid,37
|
||||||
<EFBFBD>ªà =disptest,113
|
<EFBFBD>ªà =disptest,113
|
||||||
‘ª®à®áâì ”‘=fspeed,45
|
‘ª®à®áâì ”‘=fspeed,45
|
||||||
ˆä®à¬ æ¨ï ® ¤¨áª å=hdd_info,50
|
ˆä®à¬ æ¨ï ® ¤¨áª å=hdd_info,50
|
||||||
˜¨ =kbd,37
|
˜¨ =kbd,37
|
||||||
|
’Ąáâ § é¨âë=test,37
|
||||||
‘ª®à®áâì £à 䨪¨=mgb,121
|
‘ª®à®áâì £à 䨪¨=mgb,121
|
||||||
“áâனá⢠PCI=pcidev,38
|
‘Ş®ŕ®áâě áĄâ¨=network/dl|-test,51
|
@ -35,3 +35,4 @@ Complex:
|
|||||||
<a href=//nubo.ru>nubo.ru</a>
|
<a href=//nubo.ru>nubo.ru</a>
|
||||||
<a href=//salinc.ru>salinc.ru</a>
|
<a href=//salinc.ru>salinc.ru</a>
|
||||||
<a href=//electromyne.de>electromyne.de</a>
|
<a href=//electromyne.de>electromyne.de</a>
|
||||||
|
<a href=//www.thg.ru/graphic/25year_ati_history>tom's hardware</a>
|
@ -6,11 +6,13 @@
|
|||||||
#define T_CANCEL "Žâ¬¥ "
|
#define T_CANCEL "Žâ¬¥ "
|
||||||
#define T_OPEN_DIR "<22>®ª § âì ¢ ¯ ¯ª¥"
|
#define T_OPEN_DIR "<22>®ª § âì ¢ ¯ ¯ª¥"
|
||||||
#define T_RUN "Žâªàëâì ä ©«"
|
#define T_RUN "Žâªàëâì ä ©«"
|
||||||
|
#define T_SPEED_TEST "’¥áâ ᪮à®áâ¨"
|
||||||
#define FILE_SAVED_AS "'Œ¥¥¤¦¥à § £à㧮ª\n” ©« á®åà ¥ ª ª %s' -Dt"
|
#define FILE_SAVED_AS "'Œ¥¥¤¦¥à § £à㧮ª\n” ©« á®åà ¥ ª ª %s' -Dt"
|
||||||
#define FILE_NOT_SAVED "'Œ¥¥¤¦¥à § £à㧮ª\nŽè¨¡ª ! ” ©« ¥ ¬®¦¥â ¡ëâì á®åà ¥ ª ª\n%s' -Et"
|
#define FILE_NOT_SAVED "'Œ¥¥¤¦¥à § £à㧮ª\nŽè¨¡ª ! ” ©« ¥ ¬®¦¥â ¡ëâì á®åà ¥ ª ª\n%s' -Et"
|
||||||
#define KB_RECEIVED "ˆ¤¥â ᪠稢 ¨¥... %s ¯®«ã祮"
|
#define KB_RECEIVED "ˆ¤¥â ᪠稢 ¨¥... %s ¯®«ã祮"
|
||||||
#define T_ERROR_STARTING_DOWNLOAD "'<27>¥¢®§¬®¦® ç âì ᪠稢 ¨¥.\n<>஢¥àì⥠¢¢¥¤¥ë© ¯ãâì ¨ ᮥ¤¨¥¨¥ á ˆâ¥à¥â®¬.' -E"
|
#define T_ERROR_STARTING_DOWNLOAD "'<27>¥¢®§¬®¦® ç âì ᪠稢 ¨¥.\n<>஢¥àì⥠¢¢¥¤¥ë© ¯ãâì ¨ ᮥ¤¨¥¨¥ á ˆâ¥à¥â®¬.' -E"
|
||||||
#define T_AUTOCLOSE "€¢â®§ ªàë⨥"
|
#define T_AUTOCLOSE "€¢â®§ ªàë⨥"
|
||||||
|
#define SPEED_TEST_INFO_MESSAGE "'‘ª®à®áâì § £à㧪¨ ®â®¡à ¦ ¥âáï ¢ ¯®«¥ Download ¯à®£à ¬¬ë Network status.'-Id"
|
||||||
char accept_language[]= "Accept-Language: ru\n";
|
char accept_language[]= "Accept-Language: ru\n";
|
||||||
#else
|
#else
|
||||||
#define DL_WINDOW_HEADER "Download Manager"
|
#define DL_WINDOW_HEADER "Download Manager"
|
||||||
@ -18,11 +20,13 @@
|
|||||||
#define T_CANCEL "Cancel"
|
#define T_CANCEL "Cancel"
|
||||||
#define T_OPEN_DIR " Show in folder "
|
#define T_OPEN_DIR " Show in folder "
|
||||||
#define T_RUN "Open file"
|
#define T_RUN "Open file"
|
||||||
|
#define T_SPEED_TEST "Speed test"
|
||||||
#define FILE_SAVED_AS "'Download manager\nFile saved as %s' -Dt"
|
#define FILE_SAVED_AS "'Download manager\nFile saved as %s' -Dt"
|
||||||
#define FILE_NOT_SAVED "'Download manager\nError! Can\96t save file as %s' -Et"
|
#define FILE_NOT_SAVED "'Download manager\nError! Can\96t save file as %s' -Et"
|
||||||
#define KB_RECEIVED "Downloading... %s received"
|
#define KB_RECEIVED "Downloading... %s received"
|
||||||
#define T_ERROR_STARTING_DOWNLOAD "'Error while starting download process.\nCheck entered path and Internet connection.' -E"
|
#define T_ERROR_STARTING_DOWNLOAD "'Error while starting download process.\nCheck entered path and Internet connection.' -E"
|
||||||
#define T_AUTOCLOSE "Autoclose"
|
#define T_AUTOCLOSE "Autoclose"
|
||||||
|
#define SPEED_TEST_INFO_MESSAGE "'Download speed is shown after `Download`\nlabel in the Network status program.'-Id"
|
||||||
char accept_language[]= "Accept-Language: en\n";
|
char accept_language[]= "Accept-Language: en\n";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -33,6 +37,8 @@
|
|||||||
char save_dir[] = "/tmp0/1/Downloads";
|
char save_dir[] = "/tmp0/1/Downloads";
|
||||||
char dl_shared[] = "DL";
|
char dl_shared[] = "DL";
|
||||||
|
|
||||||
|
#define URL_SPEED_TEST "http://speedtest.tele2.net/100MB.zip"
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
BTN_EXIT=1,
|
BTN_EXIT=1,
|
||||||
BTN_START,
|
BTN_START,
|
||||||
|
@ -48,6 +48,12 @@ void main()
|
|||||||
} else {
|
} else {
|
||||||
strcpy(#uEdit, #param);
|
strcpy(#uEdit, #param);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (streq(#param, "-test")) {
|
||||||
|
strcpy(#uEdit, URL_SPEED_TEST);
|
||||||
|
RunProgram("/sys/network/netstat", NULL);
|
||||||
|
notify(SPEED_TEST_INFO_MESSAGE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (uEdit[0]) StartDownloading(); else {
|
if (uEdit[0]) StartDownloading(); else {
|
||||||
edit_box_set_text stdcall (#ed, "http://");
|
edit_box_set_text stdcall (#ed, "http://");
|
||||||
|
Loading…
Reference in New Issue
Block a user