//Leency 2008-2013 #ifdef LANG_RUS ?define T_DEVICES "“бва®©бвў " ?define T_ACTIONS "„Ґ©бвўЁп" char *actions[] = { 57, "Ќ®ўл© д ©«", "F7", 56, "Ќ®ў п Ї ЇЄ ", "F6", 60, "Ќ бва®©ЄЁ", "F10", 0,0,0 }; #elif LANG_EST ?define T_DEVICES "Seadmed" ?define T_ACTIONS "Toimingud" char *actions[] = { 57, "Uus fail", "F7", 56, "Uus kataloog", "F6", 60, "Seaded", "F10", 0,0,0 }; #else ?define T_DEVICES "Devices" ?define T_ACTIONS "Actions" char *actions[] = { 57, "New file", "F7", 56, "New folder", "F6", 60, "Options", "F10", 0,0,0 }; #endif void Tip(int y, dword caption, id, arrow) { int i; DrawBar(17,y,160,1,0xEFEDEE); DrawFilledBar(17, y+1, 160, 16); WriteText(25,y+5,0x80,sc.work_text,caption); IF (id<>0) DefineButton(159,y+1,16,16,id+BT_HIDE+BT_NOFRAME,0); //кнопа для стрелки WriteText(165,y+5,0x80,sc.work_text,arrow); //стрелка вниз DrawBar(17,y+17,160,1,sc.work_graph); //подчёркивание } path_string disk_list[30]; int disc_num; dword devbuf; void SystemDiscsGet() { unsigned char dev_name[10], sys_discs[10]; unsigned int i1, j1, dev_num, dev_disc_num; unsigned int nullbuf; disc_num=0; if (devbuf) free(devbuf); devbuf = malloc(10000); //буфер где-то на 10 девайсов в левой панели ReadDir(19, devbuf, "/"); dev_num = EBX; for (i1=0; i1