summaryrefslogtreecommitdiffstats
path: root/gui/scrolllist.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-02-10Remove deletes for images from scroll list GUI ElementsEthan Yonker1-3/+0
Resources are deleted by ~PageSet and do not need to be deleted by the the scrollable list elements. This fixes a crash when reloading the theme. Also remove some deletes for items that should not be deleted in button and input GUI elements. Change-Id: Ie1c1b85c81c10f648d085746a5fdba6220468a5f
2015-02-09gui: avoid high CPU usage while waiting for inputthat1-1/+5
- add a timeout to ev_get - set timeout to 1 second when idle - delay timeout for 15 frames to keep animation objects working - stop kinetic scrolling immediately at end of list Change-Id: I77138055c464b65b71e296f9c7ef63ea06809bc1
2015-02-06gui: make kinetic scrolling more naturalthat1-2/+2
Speeding up scrolling after releasing is distracting, get rid of it. Instead reduce friction to its previous value. Change-Id: I5c99cc71b631747697e967bd75669aa3d908c637
2015-02-05Unify scrollable list codeEthan Yonker1-0/+709
The goal of this patch set is to eliminate the code duplication caused by copy/paste of the code in the file selector, listbox, and partition list GUI elements. Those classes will now utilize a single GUIScrollList class that will handle rendering and scrolling. Change-Id: I0cb98ab36cf47178296034293435225658c779cd