summaryrefslogtreecommitdiffstats
path: root/minui/include
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-08-01 07:01:03 +0200
committerTao Bao <tbao@google.com>2018-08-01 21:30:27 +0200
commit44478dfb7df31edc1f6b18af1578655bfdc882b0 (patch)
tree778950138e34fe961b7fa43350b652846a381d09 /minui/include
parentMerge "recovery: Add ability to interrupt UI" (diff)
downloadandroid_bootable_recovery-44478dfb7df31edc1f6b18af1578655bfdc882b0.tar
android_bootable_recovery-44478dfb7df31edc1f6b18af1578655bfdc882b0.tar.gz
android_bootable_recovery-44478dfb7df31edc1f6b18af1578655bfdc882b0.tar.bz2
android_bootable_recovery-44478dfb7df31edc1f6b18af1578655bfdc882b0.tar.lz
android_bootable_recovery-44478dfb7df31edc1f6b18af1578655bfdc882b0.tar.xz
android_bootable_recovery-44478dfb7df31edc1f6b18af1578655bfdc882b0.tar.zst
android_bootable_recovery-44478dfb7df31edc1f6b18af1578655bfdc882b0.zip
Diffstat (limited to 'minui/include')
-rw-r--r--minui/include/minui/minui.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/minui/include/minui/minui.h b/minui/include/minui/minui.h
index ef4abe252..97660d476 100644
--- a/minui/include/minui/minui.h
+++ b/minui/include/minui/minui.h
@@ -41,11 +41,11 @@ struct GRFont {
int char_height;
};
-enum GRRotation {
- ROTATION_NONE = 0,
- ROTATION_RIGHT = 1,
- ROTATION_DOWN = 2,
- ROTATION_LEFT = 3,
+enum class GRRotation : int {
+ NONE = 0,
+ RIGHT = 1,
+ DOWN = 2,
+ LEFT = 3,
};
// Initializes the graphics backend and loads font file. Returns 0 on success, or -1 on error. Note