summaryrefslogtreecommitdiffstats
path: root/gui/scrolllist.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove deletes for images from scroll list GUI ElementsEthan Yonker2015-02-101-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
* gui: avoid high CPU usage while waiting for inputthat2015-02-091-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
* gui: make kinetic scrolling more naturalthat2015-02-061-2/+2
| | | | | | | Speeding up scrolling after releasing is distracting, get rid of it. Instead reduce friction to its previous value. Change-Id: I5c99cc71b631747697e967bd75669aa3d908c637
* Unify scrollable list codeEthan Yonker2015-02-051-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