Subversion Repositories Kolibri OS

Rev

Rev 7311 | Rev 7313 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7311 Rev 7312
Line 534... Line 534...
534
			{
534
			{
535
				if (two_panels.checked)
535
				if (two_panels.checked)
536
				{
536
				{
537
					//SystemDiscs.Draw();
537
					//SystemDiscs.Draw();
538
					//ActionsDraw();
538
					//ActionsDraw();
-
 
539
					llist_copy(#files, #files_inactive);
-
 
540
					strcpy(#path, #inactive_path);
-
 
541
					col_selec = 0xCCCccc;
-
 
542
					SystemDiscs.Draw();
-
 
543
					files_y = files.y;
-
 
544
 
-
 
545
					if (active_panel==1)
-
 
546
					{
-
 
547
						llist_copy(#files, #files_inactive);
-
 
548
						strcpy(#path, #inactive_path);
-
 
549
						col_selec = 0xCCCccc;
-
 
550
						files.SetSizes(Form.cwidth/2, files_y, Form.cwidth/2 -17, Form.cheight-files_y-2 - status_bar_h, files.item_h);
539
					DrawFilePanels();
551
						DrawList();
-
 
552
						Update_Dir(#path,WITH_REDRAW);
-
 
553
						llist_copy(#files, #files_active);
-
 
554
						strcpy(#path, #active_path);
-
 
555
						col_selec = 0x94AECE;
-
 
556
						files.SetSizes(2, files_y, Form.cwidth/2-2-17, Form.cheight-files_y-2 - status_bar_h, files.item_h);
-
 
557
						DrawList();
-
 
558
						Update_Dir(#path,WITH_REDRAW);
-
 
559
					}
-
 
560
					if (active_panel==2)
-
 
561
					{
-
 
562
						files.SetSizes(2, files_y, Form.cwidth/2-2-17, Form.cheight-files_y-2 - status_bar_h, files.item_h);
-
 
563
						DrawList();
-
 
564
						Update_Dir(#path,WITH_REDRAW);
-
 
565
						llist_copy(#files, #files_active);
-
 
566
						strcpy(#path, #active_path);
-
 
567
						col_selec = 0x94AECE;
-
 
568
						files.SetSizes(Form.cwidth/2, files_y, Form.cwidth/2 -17, Form.cheight-files_y-2 - status_bar_h, files.item_h);
-
 
569
						DrawList();
-
 
570
						Update_Dir(#path,WITH_REDRAW);
-
 
571
					}
540
				}
572
				}
541
				else DrawDeviceAndActionsLeftPanel();
573
				else DrawDeviceAndActionsLeftPanel();
542
			}
574
			}
543
			Update_Dir(#path,WITH_REDRAW);
575
			Update_Dir(#path,WITH_REDRAW);
544
		}
576
		}