summaryrefslogtreecommitdiffstats
path: root/gui/resources.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-12-12Improve resource error loggingEthan Yonker1-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
2014-11-16Thanks to _that, return null if vector is emptybigbiff1-1/+0
Change-Id: Idc44455dd0c971c876ae283528c4367a82e145bd
2014-10-14Add support for TrueType fontsVojtech Bocek1-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>
2014-07-28Allow ui.xml to include additional xml files to readEthan Yonker1-0/+5
Use common portrait and landscape xml files based on resolution defined by the device. Change-Id: Iec528f9d846d49857ff98de1ac201e25dbb60339
2014-06-04Whitespace and minor code cleanupMatt Mower1-1/+1
This is by no means comprehensive, but is quite a bit better already. Change-Id: Ibc8654a5dfb0eec39cbd0b64bdb52bb4fbfe2f7e
2013-08-24Unify indentation and little clean-up in TWRP filesVojtech Bocek1-160/+158
Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
2013-04-04Move all AOSP code out of recovery binaryDees_Troy1-9/+8
Improves license compatibility between GPL and Apache Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0
2012-09-05TWRP-ify AOSP codeDees_Troy1-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