summaryrefslogtreecommitdiffstats
path: root/gui/button.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Allow text to scale to fitEthan Yonker2015-10-161-20/+19
| | | | Change-Id: Iacd4bb78f551b51d092ecde09521b5541e7dadcd
* GUI: Support styles in xml to reduce xml file sizeEthan Yonker2015-02-211-35/+8
| | | | | | | Also allow sliders to have their own text label instead of requiring a whole separate text object for the label in the xml. Change-Id: I6e314efb4bb454d496555ff7e003d743063a1308
* gui: make resources type safethat2015-02-151-13/+6
| | | | | | | | | | | - add string, int, color and resource loading helpers - use typed resource classes, and some cleanup in loading code - remove abstract GetResource() to enforce type safe access - add height and width query methods to resources and use them - minor cleanup - simplify LoadPlacement Change-Id: I9b81785109a80b3806ad6b50cba4d893b87b0db1
* Remove deletes for images from scroll list GUI ElementsEthan Yonker2015-02-101-1/+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
* Conditional -> GUIObject and make all gui objects children of GUIObjectVojtech Bocek2014-02-121-1/+1
| | | | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: Ic0a7d6354dabe5919b83942f2f1aa0715625e522
* Expansion of vibrate optionsEthan Yonker2014-02-071-1/+1
| | | | | | | Improve location / timing of vibration Split out vibrate settings for buttons, keyboard, and long actions Change-Id: I282825cc5f3e44ed6dcabe65dc1f4cb21b407b67
* Add haptic feedbackSamer Diab (S.a.M.e.R_d)2014-02-061-0/+2
| | | | Change-Id: I15d723f73c0b0bb4a40645d1c3f4c1c616f36998
* Fix render issue when button has conditionalDees Troy2013-11-291-5/+9
| | | | | | | | | | If the button has a conditional, the image render function will return a 0 which indicated that an image was present even if it was not if the condition was not being met during boot. When the condition is met, mButtonImg was not set to NULL causing a render request failure. Change-Id: I32be0ddcdc1bf7ad22440d66018ef09484280afa
* Pull ROM info from build.prop for backup namesDees Troy2013-09-121-13/+10
| | | | Change-Id: I7847fca22b5d4f0a35da41625b15bd677a1e9768
* Unify indentation and little clean-up in TWRP filesVojtech Bocek2013-08-241-128/+127
| | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
* Move all AOSP code out of recovery binaryDees_Troy2013-04-041-3/+2
| | | | | | Improves license compatibility between GPL and Apache Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0
* Add partition list GUI elementDees_Troy2013-03-301-9/+68
| | | | | | | | | | | | Add partition list GUI element and update backup, restore, mount, storage selection, and wipe sections of GUI and partition manager code to reflect the new GUI element. Update ORS engine to handle new backup and restore setup. Fix a bug with decrypt. Add 1080x1920 layout. Change-Id: Iaa2f44cb707167e66f935452f076ba00e68a2aa4
* Add button highlightDees_Troy2013-02-151-0/+19
|
* Add ability for buttons to have highlights on touchDees_Troy2012-10-191-2/+25
|
* TWRP-ify AOSP codeDees_Troy2012-09-051-0/+194
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