mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
ADD: Patch [2782439] "New sorting in file panels (like Total Commander)" from Andrey V
This commit is contained in:
parent
a70887633a
commit
58fbfdcbb8
11 changed files with 4401 additions and 4201 deletions
BIN
pixmaps/16x16/actions/sort-asc.png
Normal file
BIN
pixmaps/16x16/actions/sort-asc.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 352 B |
BIN
pixmaps/16x16/actions/sort-desc.png
Normal file
BIN
pixmaps/16x16/actions/sort-desc.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 350 B |
BIN
pixmaps/22x22/actions/sort-asc.png
Normal file
BIN
pixmaps/22x22/actions/sort-asc.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 417 B |
BIN
pixmaps/22x22/actions/sort-desc.png
Normal file
BIN
pixmaps/22x22/actions/sort-desc.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 423 B |
BIN
pixmaps/32x32/actions/sort-asc.png
Normal file
BIN
pixmaps/32x32/actions/sort-asc.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 515 B |
BIN
pixmaps/32x32/actions/sort-desc.png
Normal file
BIN
pixmaps/32x32/actions/sort-desc.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 509 B |
4140
src/framepanel.pas
4140
src/framepanel.pas
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
1191
src/ufilelist.pas
1191
src/ufilelist.pas
File diff suppressed because it is too large
Load diff
1557
src/ufilepanel.pas
1557
src/ufilepanel.pas
File diff suppressed because it is too large
Load diff
115
src/utypes.pas
115
src/utypes.pas
|
|
@ -1,57 +1,58 @@
|
|||
{
|
||||
Seksi Commander
|
||||
----------------------------
|
||||
Licence : GNU GPL v 2.0
|
||||
Author : radek.cervinka@centrum.cz
|
||||
|
||||
Main Dialog window and other stuff
|
||||
|
||||
contributors:
|
||||
|
||||
|
||||
}
|
||||
|
||||
unit uTypes;
|
||||
|
||||
interface
|
||||
type
|
||||
|
||||
// what is showed in panel
|
||||
TPanelMode= (pmDirectory, pmArchive, pmVFS);
|
||||
|
||||
// plugin types
|
||||
TPluginType = (ptDSX, ptWCX, ptWDX, ptWFX, ptWLX);
|
||||
|
||||
//base structure for storing file informations
|
||||
TFileRecItem = record
|
||||
// iType : Integer;
|
||||
bIsLink : Boolean;
|
||||
bLinkIsDir : Boolean;
|
||||
sLinkTo : AnsiString;
|
||||
sName : AnsiString;
|
||||
sNameNoExt : AnsiString;
|
||||
sExt : AnsiString;
|
||||
iSize : Int64;
|
||||
fTimeI : Double;
|
||||
sTime : AnsiString;
|
||||
bExecutable : Boolean;
|
||||
sModeStr : String[11];
|
||||
iMode : Cardinal; // from stats
|
||||
bSysFile : Boolean;
|
||||
iIconID : Integer; // index ICO in imagelist
|
||||
sOwner : AnsiString;
|
||||
sGroup : AnsiString;
|
||||
{mate}
|
||||
iOwner : Cardinal;
|
||||
iGroup : Cardinal;
|
||||
{/mate}
|
||||
sPath : AnsiString; // used only in block operation
|
||||
bSelected : Boolean;
|
||||
iDirSize : Int64;
|
||||
end;
|
||||
|
||||
PFileRecItem=^TFileRecItem;
|
||||
|
||||
implementation
|
||||
|
||||
end.
|
||||
{
|
||||
Seksi Commander
|
||||
----------------------------
|
||||
Licence : GNU GPL v 2.0
|
||||
Author : radek.cervinka@centrum.cz
|
||||
|
||||
Main Dialog window and other stuff
|
||||
|
||||
contributors:
|
||||
|
||||
|
||||
}
|
||||
|
||||
unit uTypes;
|
||||
|
||||
interface
|
||||
type
|
||||
|
||||
// what is showed in panel
|
||||
TPanelMode= (pmDirectory, pmArchive, pmVFS);
|
||||
|
||||
// plugin types
|
||||
TPluginType = (ptDSX, ptWCX, ptWDX, ptWFX, ptWLX);
|
||||
|
||||
//base structure for storing file informations
|
||||
TFileRecItem = record
|
||||
// iType : Integer;
|
||||
bIsLink : Boolean;
|
||||
bLinkIsDir : Boolean;
|
||||
sLinkTo : AnsiString;
|
||||
sName : AnsiString;
|
||||
sNameNoExt : AnsiString;
|
||||
sExt : AnsiString;
|
||||
iSize : Int64;
|
||||
fTimeI : Double;
|
||||
sTime : AnsiString;
|
||||
bExecutable : Boolean;
|
||||
sModeStr : String[11];
|
||||
iMode : Cardinal; // from stats
|
||||
bSysFile : Boolean;
|
||||
iIconID : Integer; // index ICO in imagelist
|
||||
sOwner : AnsiString;
|
||||
sGroup : AnsiString;
|
||||
{mate}
|
||||
iOwner : Cardinal;
|
||||
iGroup : Cardinal;
|
||||
{/mate}
|
||||
sPath : AnsiString; // used only in block operation
|
||||
bSelected : Boolean;
|
||||
iDirSize : Int64;
|
||||
pContainer : Pointer; // used in sorting function
|
||||
end;
|
||||
|
||||
PFileRecItem=^TFileRecItem;
|
||||
|
||||
implementation
|
||||
|
||||
end.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue