| Libfm Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#define FM_SORT_DEFAULT ((FmSortMode)-1)
value which means do not change sorting mode flags.
#define FM_SORT_IS_ASCENDING(mode) ((mode & FM_SORT_ORDER_MASK) == FM_SORT_ASCENDING)
typedef enum {
FM_SORT_ASCENDING = 0,
FM_SORT_DESCENDING = 1 << 0,
FM_SORT_CASE_SENSITIVE = 1 << 1,
FM_SORT_NO_FOLDER_FIRST = 1 << 2,
FM_SORT_ORDER_MASK = (FM_SORT_ASCENDING|FM_SORT_DESCENDING)
} FmSortMode;
Sort mode flags supported by FmFolderModel
| sort ascending, mutually exclusive with FM_SORT_DESCENDING | |
| sort descending, mutually exclusive with FM_SORT_ASCENDING | |
| case sensitive file names sort | |
| (since 1.2.0) don't sort folders before files | |
| (FM_SORT_ASCENDING|FM_SORT_DESCENDING) |
Since 1.0.2