Logo54.173.229.84 
  News  Recent  Stats  Forums  Discord  Contact
  Menu
 Username

 Password


   Register here

 Main menu
   BBCode test
 
 Content
   About OpenAmiga
   Guidelines
   Definitions
   SVN Access
   Licenses
   IRC channel
   Links
   ToDo List
   List Content
 
 Projects
   Suggested (1)
   Open (11)
   Assigned (27)
   Pending (0)
   Finished (7)
   Closed (5)
 
 Categories
   Cli (2)
   Datatype (9)
   Drivers (3)
   System (15)
   Workbench (16)
  View comments
[View Project][View Threads]
Title:Workbench file lister
Synopsis:
Create a replacement file lister that resembles the ones used in Diropus and Diropus Magellan.
orginWork on column sorting [Done]20090213 20:17
I'm going to post progress on my efforts to add column sorting here.
Navigate: 1-5 
orginRe: Work on column sorting20090213 20:21
@orgin

Added an enum for sort modes and a new uint32 parameter to ExDir() for sort order.

My idea is to let ExDir() sort the files/dirs directly when adding them to the file list. I changed the function to add directories at the start of the list and files at the end of it.

The Filer should probably have a prefs setting for "Directories first" later on.
orginRe: Work on column sorting20090218 19:42
@orgin

Added some help files for this task.

Util.c/h - utility functions

FileItemList.c/h - implements a dynamic, double linked list for holding file data
orginRe: Work on column sorting20090219 21:17
@orgin

Just finished the sorting functions. ExDir() now automatically sorts the files/dirs it finds by the specified sort order.

Shouldn't be too hard to add sorting to the root view as well, but that's a job for another time.

Currently the sort order is hard coded to filename ascending.

Next up is to figure out how to listen to events triggered by clicking the column headers so that you can actually select sort order.
orginRe: Work on column sorting20090221 13:24
@orgin

Columns sorting is now possible in directory views.

You can sort on filename, date, size and comment.
orginRe: Work on column sorting20090221 17:14
@orgin

And now it's possible to sort the root view as well.
Navigate: 1-5 
Open Amiga project website, Created in 2008 by Björn Hagström