Rev 7605 | Rev 7878 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7605 | Rev 7806 | ||
---|---|---|---|
Line 138... | Line 138... | ||
138 | } |
138 | } |
Line 139... | Line 139... | ||
139 | 139 | ||
140 | void ShowConfirmQuestionPopin() |
140 | void ShowConfirmQuestionPopin() |
141 | { |
141 | { |
142 | apply_question_active = 1; |
142 | apply_question_active = 1; |
143 | DrawPopup(15,80,250,90,1,system.color.work, system.color.work_graph); |
143 | DrawPopup(15,80,250,90,1,sc.work, sc.work_graph); |
144 | WriteText(35, 102, 0x90, 0x000000, QUEST_1); |
144 | WriteText(35, 102, 0x90, 0x000000, QUEST_1); |
145 | WriteText(65, 117, 0x90, 0x000000, QUEST_2); |
145 | WriteText(65, 117, 0x90, 0x000000, QUEST_2); |
146 | DrawStandartCaptButton(62,138,B_SETINGS_APPLY_SUBFOLDER,T_YES); |
146 | DrawStandartCaptButton(62,138,B_SETINGS_APPLY_SUBFOLDER,T_YES); |
147 | DrawStandartCaptButton(155,138,B_SETINGS_APPLY_NO_SUBFOLDER,T_NO); |
147 | DrawStandartCaptButton(155,138,B_SETINGS_APPLY_NO_SUBFOLDER,T_NO); |
Line 270... | Line 270... | ||
270 | char folder_info[200]; |
270 | char folder_info[200]; |
271 | dword ext1; |
271 | dword ext1; |
272 | dword element_size; |
272 | dword element_size; |
273 | incn y; |
273 | incn y; |
274 | char temp_path[sizeof(file_path)]; |
274 | char temp_path[sizeof(file_path)]; |
275 | DefineAndDrawWindow(Form.left + 150,150,315,360+skin_height,0x34,system.color.work,WINDOW_TITLE_PROPERTIES,0); |
275 | DefineAndDrawWindow(Form.left + 150,150,315,360+skin_height,0x34,sc.work,WINDOW_TITLE_PROPERTIES,0); |
276 | GetProcessInfo(#pform, SelfInfo); |
276 | GetProcessInfo(#pform, SelfInfo); |
Line 277... | Line 277... | ||
277 | 277 | ||
278 | DrawStandartCaptButton(pform.cwidth - 96, pform.cheight-34, B_CLOSE, T_CLOSE); |
278 | DrawStandartCaptButton(pform.cwidth - 96, pform.cheight-34, B_CLOSE, T_CLOSE); |
Line 279... | Line 279... | ||
279 | DrawStandartCaptButton(pform.cwidth -208, pform.cheight-34, B_APPLY, T_APPLY); |
279 | DrawStandartCaptButton(pform.cwidth -208, pform.cheight-34, B_APPLY, T_APPLY); |
280 | 280 | ||
Line 281... | Line 281... | ||
281 | WriteText(10, 78, 0x90, system.color.work_text, PR_T_DEST); |
281 | WriteText(10, 78, 0x90, sc.work_text, PR_T_DEST); |
Line 282... | Line 282... | ||
282 | edit_box_draw stdcall (#path_to_file_ed); |
282 | edit_box_draw stdcall (#path_to_file_ed); |
283 | 283 | ||
284 | WriteText(10, 97, 0x90, system.color.work_text, PR_T_SIZE); |
284 | WriteText(10, 97, 0x90, sc.work_text, PR_T_SIZE); |
285 | 285 | ||
286 | if (selected_count) |
286 | if (selected_count) |
287 | { |
287 | { |
288 | PropertiesDrawIcon(NULL, " |
288 | PropertiesDrawIcon(NULL, " |
289 | sprintf(#folder_info,"%s%d%s%d",SET_6,more_files_count.files,SET_7,more_files_count.folders); |
289 | sprintf(#folder_info,"%s%d%s%d",SET_6,more_files_count.files,SET_7,more_files_count.folders); |
290 | WriteText(file_name_ed.left+4, 30, 0x90, system.color.work_text, #folder_info); |
290 | WriteText(file_name_ed.left+4, 30, 0x90, sc.work_text, #folder_info); |
291 | sprintf(#element_size_label,"%s (%d %s)",ConvertSize64(more_files_count.bytes, NULL),more_files_count.bytes,SET_BYTE_LANG); |
291 | sprintf(#element_size_label,"%s (%d %s)",ConvertSize64(more_files_count.bytes, NULL),more_files_count.bytes,SET_BYTE_LANG); |
292 | WriteText(120, 97, 0x90, system.color.work_text, #element_size_label); |
292 | WriteText(120, 97, 0x90, sc.work_text, #element_size_label); |
293 | } |
293 | } |
Line 299... | Line 299... | ||
299 | sprintf(#temp_path,"%s/%s",#path,#file_name2); |
299 | sprintf(#temp_path,"%s/%s",#path,#file_name2); |
300 | ext1 = strrchr(#file_name2,'.'); |
300 | ext1 = strrchr(#file_name2,'.'); |
301 | if (ext1) ext1 += #file_name2; |
301 | if (ext1) ext1 += #file_name2; |
302 | PropertiesDrawIcon(#temp_path, ext1); |
302 | PropertiesDrawIcon(#temp_path, ext1); |
303 | } |
303 | } |
304 | WriteText(file_name_ed.left, file_name_ed.top-15, 0x80, system.color.work_text, PR_T_NAME); |
304 | WriteText(file_name_ed.left, file_name_ed.top-15, 0x80, sc.work_text, PR_T_NAME); |
305 | DrawEditBox(#file_name_ed); |
305 | DrawEditBox(#file_name_ed); |
Line 306... | Line 306... | ||
306 | 306 | ||
307 | if (!itdir) element_size = file_info_general.sizelo; |
307 | if (!itdir) element_size = file_info_general.sizelo; |
308 | else |
308 | else |
309 | { |
309 | { |
310 | WriteText(10,116, 0x90, system.color.work_text, PR_T_CONTAINS); |
310 | WriteText(10,116, 0x90, sc.work_text, PR_T_CONTAINS); |
311 | sprintf(#folder_info,"%s%d%s%d",SET_6,dir_size.files,SET_7,dir_size.folders); |
311 | sprintf(#folder_info,"%s%d%s%d",SET_6,dir_size.files,SET_7,dir_size.folders); |
312 | WriteText(120, 116, 0x90, system.color.work_text, #folder_info); |
312 | WriteText(120, 116, 0x90, sc.work_text, #folder_info); |
313 | element_size = dir_size.bytes; |
313 | element_size = dir_size.bytes; |
314 | } |
314 | } |
315 | WriteTextLines(10, 136, 0x90, system.color.work_text, CREATED_OPENED_MODIFIED, 20); |
315 | WriteTextLines(10, 136, 0x90, sc.work_text, CREATED_OPENED_MODIFIED, 20); |
316 | DrawDate(120, 136, system.color.work_text, #file_info_general.datecreate); |
316 | DrawDate(120, 136, sc.work_text, #file_info_general.datecreate); |
317 | DrawDate(120, 156, system.color.work_text, #file_info_general.datelastaccess); |
317 | DrawDate(120, 156, sc.work_text, #file_info_general.datelastaccess); |
Line 318... | Line 318... | ||
318 | DrawDate(120, 176, system.color.work_text, #file_info_general.datelastedit); |
318 | DrawDate(120, 176, sc.work_text, #file_info_general.datelastedit); |
319 | 319 | ||
320 | sprintf(#element_size_label,"%s (%d %s)",ConvertSize64(element_size, NULL),element_size,SET_BYTE_LANG); |
320 | sprintf(#element_size_label,"%s (%d %s)",ConvertSize64(element_size, NULL),element_size,SET_BYTE_LANG); |
321 | WriteText(120, 99, 0x90, system.color.work_text, #element_size_label); |
321 | WriteText(120, 99, 0x90, sc.work_text, #element_size_label); |
322 | } |
322 | } |
323 | DrawFrame(10, 212, -10*2 + pform.cwidth - 2, 92, FLAGS); |
323 | DrawFrame(10, 212, -10*2 + pform.cwidth - 2, 92, FLAGS); |
324 | y.n = 212; //212 => attributes_frame.y |
324 | y.n = 212; //212 => attributes_frame.y |