Rockbox

Tasklist

FS#5527 - Advance/reteat in lists by percentage

Attached to Project: Rockbox
Opened by Thomas Paul Diffenbach (tpdiffenbach) - Saturday, 10 June 2006, 21:27 GMT
Last edited by Jonathan Gordon (jdgordon) - Sunday, 22 July 2007, 08:52 GMT
Task Type Patches
Category User Interface
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Allow code to advance or regress in list by some percentage of the size of the list:

/*
+ * Advance/retreat in the list by n percent of the total list elements,
+ * by at least one line if percent_lines != 0
+ * - gui_list : the list structure
+ * - percent_lines : the percent of the total number of lines to try to move the cursor
+ * postive adavnces forward, negative retreats back, 0 has no effect
+ */

NOTE: this patch just adds these functions; it does not call them, so installing this patch adds no user-apparent functionality
This task depends upon

Closed by  Jonathan Gordon (jdgordon)
Sunday, 22 July 2007, 08:52 GMT
Reason for closing:  Out of Date

Loading...