summaryrefslogtreecommitdiffstats
path: root/gui/resources.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use /twres instead of /res for theme resourcesDees Troy2015-01-221-1/+1
| | | | | | | | | AOSP and other ROM trees now do a rm -rf of the res folder during the ramdisk creation process that removes the TWRP resources. Using /twres instead of /res works around this issue making TWRP more compatible with AOSP and other build trees. Change-Id: I0d4c7e06ca381ac5aa0069b6f2b8c47f7dec49e7
* gui: clean up error handling in resource managerthat2015-01-181-61/+24
| | | | Change-Id: Ib94e661ab0c608deb2d119168709c85a9a44b2fa
* Improve resource error loggingEthan Yonker2014-12-121-10/+21
| | | | | | | | Actually display the name of the item or the filename of the item that we were unable to load in the log to make it easier to determine what went wrong. Change-Id: I027b35aab286e4d0f1957bcfb28ed40d81f9bbb2
* Thanks to _that, return null if vector is emptybigbiff2014-11-161-1/+0
| | | | Change-Id: Idc44455dd0c971c876ae283528c4367a82e145bd
* Add support for TrueType fontsVojtech Bocek2014-10-141-6/+61
| | | | | | | | | | | | | * Keeps original font system in place * Uses the same API as original font system: - You can render only one line at a time - You can only use one font and color for one gr_text* call * Caches all rendered text, with a string cache limited to 400 entries, then it trucates to 250, which results in memory usage hovering around 5-10MB Change-Id: I36107b9dcd8d57bae4486fce8b8f64e49ef3d906 Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
* Allow ui.xml to include additional xml files to readEthan Yonker2014-07-281-0/+5
| | | | | | | Use common portrait and landscape xml files based on resolution defined by the device. Change-Id: Iec528f9d846d49857ff98de1ac201e25dbb60339
* Whitespace and minor code cleanupMatt Mower2014-06-041-1/+1
| | | | | | This is by no means comprehensive, but is quite a bit better already. Change-Id: Ibc8654a5dfb0eec39cbd0b64bdb52bb4fbfe2f7e
* Unify indentation and little clean-up in TWRP filesVojtech Bocek2013-08-241-160/+158
| | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
* Move all AOSP code out of recovery binaryDees_Troy2013-04-041-9/+8
| | | | | | Improves license compatibility between GPL and Apache Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0
* TWRP-ify AOSP codeDees_Troy2012-09-051-0/+280
Pull in most TWRP sources Stub out partition management code Make it compile -- probably will not boot Kind of a mess but have to start somewhere