279,7 → 279,7 |
if (active_panel!=1) |
{ |
active_panel = 1; |
goto __SET_VALS_AND_DRAW; |
ChangeActivePanel(); |
} |
} |
else |
287,12 → 287,7 |
if (active_panel!=2) |
{ |
active_panel = 2; |
__SET_VALS_AND_DRAW: |
llist_copy(#files_active, #files_inactive); |
llist_copy(#files_inactive, #files); |
strcpy(#active_path, #inactive_path); |
strcpy(#inactive_path, #path); |
DrawFilePanels(); |
ChangeActivePanel(); |
} |
} |
} |
448,6 → 443,11 |
case SCAN_CODE_ENTER: |
Open(0); |
break; |
case SCAN_CODE_TAB: |
if (!two_panels) break; |
if (active_panel==1) active_panel=2; else active_panel=1; |
ChangeActivePanel(); |
break; |
case 093: //menu |
menu_call_mouse=0; |
menu_stak = malloc(4096); |
1128,6 → 1128,15 |
} |
} |
|
void ChangeActivePanel() |
{ |
llist_copy(#files_active, #files_inactive); |
llist_copy(#files_inactive, #files); |
strcpy(#active_path, #inactive_path); |
strcpy(#inactive_path, #path); |
DrawFilePanels(); |
} |
|
//need to remove these functiones, they are a very old shit :) |
dword onTop(dword down,up) {EAX=Form.height-GetSkinHeight()-down-up;} |
|