Permalink
Browse files

CEMPAKA- 1.60 - BUILD 120227-026

Add msb_right check for Endianess video memory
Fix Installer text log drawing
Add ini_get
Add rom_date in ini_get
Fix reboot and back function
Add more and recreate Icons for themes and generic
Rewrite text handler
Add alignment, indentation and list in AROMA Markup String
Change temp directory to /tmp/aroma, /tmp/aroma-data stil works
  • Loading branch information...
amarullz committed Feb 27, 2012
1 parent ba737fc commit 17efcb9b07a63c80ab2fe48dfb9c76aa1d121956
Showing with 3,375 additions and 695 deletions.
  1. +4 −4 aroma-installer/deploy.bat
  2. +128 −121 aroma-installer/examples/generic/META-INF/com/google/android/aroma-config
  3. +1,129 −325 aroma-installer/examples/release/META-INF/com/google/android/aroma-config
  4. +82 −0 aroma-installer/examples/release/META-INF/com/google/android/aroma/ams_sample.txt
  5. +102 −0 aroma-installer/examples/release/META-INF/com/google/android/aroma/changelog.txt
  6. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/exec_demo/displaycapture
  7. +56 −0 aroma-installer/examples/release/META-INF/com/google/android/aroma/exec_demo/exec_demo1.sh
  8. +20 −0 aroma-installer/examples/release/META-INF/com/google/android/aroma/exec_demo/exec_demo2.sh
  9. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/exec_demo/sleep
  10. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/fonts/big.png
  11. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/fonts/small.png
  12. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/icons/confirm.png
  13. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/icons/customize.png
  14. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/icons/default.png
  15. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/icons/license.png
  16. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/icons/update.png
  17. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/icons/welcome.png
  18. +59 −0 aroma-installer/examples/release/META-INF/com/google/android/aroma/license.txt
  19. +0 −63 aroma-installer/examples/release/META-INF/com/google/android/aroma/sample.txt
  20. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/theme.png
  21. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/ics/cb.png
  22. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/ics/font.roboto.big.png
  23. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/ics/font.roboto.small.png
  24. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/ics/icon.agreement.png
  25. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/ics/icon.alert.png
  26. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/ics/icon.apps.png
  27. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/ics/icon.confirm.png
  28. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/ics/icon.customize.png
  29. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/ics/icon.default.png
  30. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/ics/icon.info.png
  31. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/ics/icon.install.png
  32. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/ics/icon.license.png
  33. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/ics/icon.personalize.png
  34. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/ics/icon.update.png
  35. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/ics/icon.welcome.png
  36. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/ics/radio.png
  37. +3 −0 aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/ics/theme.prop
  38. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui/font.roboto.big.png
  39. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui/font.roboto.small.png
  40. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui/icon.agreement.png
  41. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui/icon.alert.png
  42. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui/icon.apps.png
  43. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui/icon.confirm.png
  44. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui/icon.customize.png
  45. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui/icon.default.png
  46. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui/icon.info.png
  47. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui/icon.install.png
  48. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui/icon.license.png
  49. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui/icon.personalize.png
  50. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui/icon.update.png
  51. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui/icon.welcome.png
  52. +3 −0 aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui/theme.prop
  53. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/bg.png
  54. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/button.9.png
  55. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/button_focus.9.png
  56. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/button_press.9.png
  57. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/cb.png
  58. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/cb_focus.png
  59. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/cb_on.png
  60. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/cb_on_focus.png
  61. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/cb_on_press.png
  62. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/cb_press.png
  63. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/dialog.9.png
  64. BIN ...a-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/dialog_titlebar.9.png
  65. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/font.roboto.big.png
  66. BIN ...a-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/font.roboto.small.png
  67. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/icon.agreement.png
  68. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/icon.alert.png
  69. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/icon.apps.png
  70. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/icon.confirm.png
  71. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/icon.customize.png
  72. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/icon.default.png
  73. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/icon.info.png
  74. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/icon.install.png
  75. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/icon.license.png
  76. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/icon.personalize.png
  77. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/icon.update.png
  78. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/icon.welcome.png
  79. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/list.9.png
  80. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/navbar.png
  81. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/radio.png
  82. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/radio_focus.png
  83. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/radio_on.png
  84. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/radio_on_focus.png
  85. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/radio_on_press.png
  86. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/radio_press.png
  87. +67 −0 aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/theme.prop
  88. BIN aroma-installer/examples/release/META-INF/com/google/android/aroma/themes/miui4/titlebar.9.png
  89. +316 −6 aroma-installer/examples/release/META-INF/com/google/android/updater-script
  90. BIN aroma-installer/icons/generic/agreement.png
  91. BIN aroma-installer/icons/generic/alert.png
  92. BIN aroma-installer/icons/generic/apps.png
  93. BIN aroma-installer/icons/generic/confirm.png
  94. BIN aroma-installer/icons/generic/customize.png
  95. BIN aroma-installer/icons/generic/default.png
  96. BIN aroma-installer/icons/generic/info.png
  97. BIN aroma-installer/icons/generic/install.png
  98. BIN aroma-installer/icons/generic/license.png
  99. BIN aroma-installer/icons/generic/personalize.png
  100. BIN aroma-installer/icons/generic/update.png
  101. BIN aroma-installer/icons/generic/welcome.png
  102. BIN aroma-installer/icons/ics/icon.agreement.png
  103. BIN aroma-installer/icons/ics/icon.alert.png
  104. BIN aroma-installer/icons/ics/icon.apps.png
  105. BIN aroma-installer/icons/ics/icon.confirm.png
  106. BIN aroma-installer/icons/ics/icon.customize.png
  107. BIN aroma-installer/icons/ics/icon.default.png
  108. BIN aroma-installer/icons/ics/icon.info.png
  109. BIN aroma-installer/icons/ics/icon.install.png
  110. BIN aroma-installer/icons/ics/icon.license.png
  111. BIN aroma-installer/icons/ics/icon.personalize.png
  112. BIN aroma-installer/icons/ics/icon.update.png
  113. BIN aroma-installer/icons/ics/icon.welcome.png
  114. BIN aroma-installer/icons/ics/original/icon.agreement.png
  115. BIN aroma-installer/icons/ics/original/icon.alert.png
  116. BIN aroma-installer/icons/ics/original/icon.apps.png
  117. BIN aroma-installer/icons/ics/original/icon.confirm.png
  118. BIN aroma-installer/icons/ics/original/icon.customize.png
  119. BIN aroma-installer/icons/ics/original/icon.default.png
  120. BIN aroma-installer/icons/ics/original/icon.info.png
  121. BIN aroma-installer/icons/ics/original/icon.install.png
  122. BIN aroma-installer/icons/ics/original/icon.license.png
  123. BIN aroma-installer/icons/ics/original/icon.personalize.png
  124. BIN aroma-installer/icons/ics/original/icon.update.png
  125. BIN aroma-installer/icons/ics/original/icon.welcome.png
  126. BIN aroma-installer/icons/miui/icon.agreement.png
  127. BIN aroma-installer/icons/miui/icon.alert.png
  128. BIN aroma-installer/icons/miui/icon.apps.png
  129. BIN aroma-installer/icons/miui/icon.confirm.png
  130. BIN aroma-installer/icons/miui/icon.customize.png
  131. BIN aroma-installer/icons/miui/icon.default.png
  132. BIN aroma-installer/icons/miui/icon.info.png
  133. BIN aroma-installer/icons/miui/icon.install.png
  134. BIN aroma-installer/icons/miui/icon.license.png
  135. BIN aroma-installer/icons/miui/icon.personalize.png
  136. BIN aroma-installer/icons/miui/icon.update.png
  137. BIN aroma-installer/icons/miui/icon.welcome.png
  138. BIN aroma-installer/icons/miui/ori/ico.apps.png
  139. BIN aroma-installer/icons/miui/ori/icon.agreement.png
  140. BIN aroma-installer/icons/miui/ori/icon.alert.png
  141. BIN aroma-installer/icons/miui/ori/icon.apps.png
  142. BIN aroma-installer/icons/miui/ori/icon.confirm.png
  143. BIN aroma-installer/icons/miui/ori/icon.customize.png
  144. BIN aroma-installer/icons/miui/ori/icon.default.png
  145. BIN aroma-installer/icons/miui/ori/icon.info.png
  146. BIN aroma-installer/icons/miui/ori/icon.install.png
  147. BIN aroma-installer/icons/miui/ori/icon.license.png
  148. BIN aroma-installer/icons/miui/ori/icon.personalize.png
  149. BIN aroma-installer/icons/miui/ori/icon.update.png
  150. BIN aroma-installer/icons/miui/ori/icon.welcome.png
  151. +54 −6 aroma-installer/src/aroma.c
  152. +28 −13 aroma-installer/src/aroma.h
  153. +29 −3 aroma-installer/src/aroma_control_textbox.c
  154. +109 −42 aroma-installer/src/aroma_controls.c
  155. +555 −66 aroma-installer/src/aroma_graph.c
  156. +11 −5 aroma-installer/src/aroma_installer.c
  157. +35 −6 aroma-installer/src/aroma_libs.c
  158. +225 −21 aroma-installer/src/aroma_ui.c
  159. +3 −0 aroma-installer/src/libs/Log.h
  160. +357 −14 info/function-reference.txt
@@ -1,15 +1,15 @@
@echo off
echo Deploying...
REM "D:\DevelTools\AndroidSDK16\" change to android sdk path
-D:\DevelTools\AndroidSDK16\platform-tools\adb push build/aroma /data/
-D:\DevelTools\AndroidSDK16\platform-tools\adb shell chmod 777 /data/aroma
+D:\DevelTools\AndroidSDK16\platform-tools\adb push build/update-binary /data/
+D:\DevelTools\AndroidSDK16\platform-tools\adb shell chmod 777 /data/update-binary
echo STARTING
echo --------------------------------------------------------
echo.
-D:\DevelTools\AndroidSDK16\platform-tools\adb shell /data/aroma 1 0 /sdcard/aroma.zip
+D:\DevelTools\AndroidSDK16\platform-tools\adb shell /data/update-binary 1 0 /sdcard/aroma.zip
echo.
echo --------------------------------------------------------
echo CTRL-C = Save, Enter = Clean
pause
-D:\DevelTools\AndroidSDK16\platform-tools\adb shell rm /data/aroma
+D:\DevelTools\AndroidSDK16\platform-tools\adb shell rm /data/update-binary
@@ -1,19 +1,43 @@
-##
+### LICENSE:
+#
+# Copyright (C) 2011 Ahmad Amarullah ( http://amarullz.com/ )
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
#
-# AROMA Installer - AROMA Configuration
-# (c) 2011 by Ahmad Amarullah
+### FILE INFO:
+#
+# AROMA Installer 1.50 - AROMA Installer Test Script Configuration
+# (c) 2011-2012 by Ahmad Amarullah
# amarullz - xda-developers
# http://www.amarullz.com/
#
-# Version 1.10
+# Binary Version : 1.50
+# Binary Codename : Cempaka
#
-# INFO:
-# <aroma-assets> = META-INF/com/google/android/aroma
-# <dp> = Device Pixelate. WVGA/QHD = 3, HVGA = 2.
-# dp calculated with = round(min(width,height) / 160)
-# <aroma-tmp> = /tmp/aroma-data/
+### INFO:
#
-##
+# * AROMA Resource Dir = META-INF/com/google/android/aroma
+#
+# * AROMA Temporary Dir = /tmp/aroma-data/
+#
+# * About Icon = @alert - show <AROMA Resource Dir>/icons/alert.png
+# or if theme used it will find <themedir>/icon.alert.png
+# you can still access it via "icons/alert"
+#
+# * dp = Device Pixelate. WVGA/QHD = 3, HVGA = 2.
+# dp calculated with = round(min(width,height) / 160)
+#
+###
##
@@ -53,159 +77,142 @@
# ini_set("customkeycode_back", "158");
#
-
-##
-# Set UI Color
-# foo = Main Color ( If Gradient, it was Top Color )
-# foo_g = Main Color Gradient ( Bottom Color )
-#
-# winbg : Main/Top Most Window Backgroud
-# textbg : Textbox, Checkbox, and any scrollable UI Background
-# textfg : Textbox, Checkbox, and any scrollable UI Text Foreground
-# textfg_gray : Gray Text ( on Optionbox/Checkbox Item Description )
-# controlbg : Control / Button / Checkbox border - Background Color
-# controlfg : Button Text Color
-# selectbg : Selected Element Background ( Pushed/focused Button/items, etc )
-# selectfg : Selected Element Text/Foreground Color
-# titlebg : Window Title Background
-# titlefg : Window Title Text Foreground Color
-# navbg : Bottom Bar (Navigation Bar) Background. Next-Previous Area
-# border : Common Border Color
-#
-#--- If not sets, It will use default colors ( Sense Like )
-#
-# Supported 3 & 6 Char Hex Colors:
-# #fff or #ffffff
-# #469 or #46689a
-#
-#--- Uncomment to use custom color scheme: (Dark)
-# setcolor("winbg", "#444");
-# setcolor("winbg_g", "#222");
-# setcolor("textbg", "#333");
-# setcolor("textfg", "#fff");
-# setcolor("textfg_gray", "#bbb");
-# setcolor("controlbg", "#444");
-# setcolor("controlbg_g", "#222");
-# setcolor("controlfg", "#fff");
-# setcolor("selectbg", "#653");
-# setcolor("selectbg_g", "#542");
-# setcolor("selectfg", "#ffd");
-# setcolor("titlebg", "#333");
-# setcolor("titlebg_g", "#000");
-# setcolor("titlefg", "#fff");
-# setcolor("navbg", "#333");
-# setcolor("navbg_g", "#222");
-# setcolor("border", "#666");
-# setcolor("border_g", "#444");
-
-##
-# SET THEME
-#
-theme("miui");
-
##
# Initializing Rom Information
#
-ini_set("rom_name", "AROMA ROM");
-ini_set("rom_version", "1.0");
+ini_set("rom_name", "AROMA Test Zip");
+ini_set("rom_version", "1.50");
ini_set("rom_author", "amarullz");
-ini_set("rom_device", "HTC Desire (bravo)");
+ini_set("rom_device", "Any Device");
##
-# Show Splash for 4 seconds ( 1000 = 1 sec )
-# "sample" will read <aroma-assets>/"sample".png
-#
-# Image Will auto arrange into center horizontal&vertical
+# Show Simple Splash
#
-splash(2000, "sample");
+splash(
+ #-- Duration 2000ms / 2 seconds
+ 2000,
+
+ #-- <AROMA Resource Dir>/sample.png
+ "sample"
+);
##
-# Show Animated Splash for
+# Show Animated Splash
#
-# Image Will auto arrange into center horizontal&vertical
-#-----
anisplash(
- # Number of Loop
- 8,
-
- # Frame 1 [ Image, duration in millisecond ]
- "splash/a1", 500,
- "splash/a2", 30,
- "splash/a3", 30,
- "splash/a4", 30,
- "splash/a5", 30,
- "splash/a6", 30
+ #-- Number of Loop
+ 8,
+
+ #-- Frame 1 [ Image, duration in millisecond ]
+ #-- <AROMA Resource Dir>/splash/a1.png
+ "splash/a1", 500,
+ "splash/a2", 30,
+ "splash/a3", 30,
+ "splash/a4", 30,
+ "splash/a5", 30,
+ "splash/a6", 30
);
-##-- EXTRACT TEST
-restotmp("sample.png","sample.png");
-
-#
-# Show Calibrating Tools Directly before anything
+##
+# Show Calibrating Tools Directly before show any UI
#
#--- Remove this calibtool if you already know the calibrate data
calibtool("");
+
##
-# View Box UI.
+# STEP 1 - SELECT THEME
#
-# Arguments:
-# 1. Title Text ( max: 31 chars )
-# 2. Text To Show In Window ( max: 1023 chars )
-# 3. PNG Icons, relative to <aroma-assets> ( max width & height: 70 * <dp> )
+selectbox(
+ #-- Title
+ "Select Theme",
+
+ #-- Sub Title
+ "Please select installer theme that you want to use in this installation test:",
+
+ #-- Icon: <AROMA Resource Dir>/icons/personalize.png or <ThemeDir>/icon.personalize.png
+ "@personalize",
+
+ #-- Will be saved in /tmp/aroma-data/theme.prop
+ "theme.prop",
+
+ #---------------------------------[ Selectbox Without Group ]----------------------------------#
+ # TITLE | SUBTITLE | Initial Value #
+ #------------------+-----------------------------------------------------------+---------------#
+ "Generic", "Unthemed AROMA Installer", 1,
+ "MIUI Theme", "MIUI Theme by mickey-r & amarullz", 0,
+ "ICS Theme", "Ice Cream Sandwitch by DemonWav & amarullz", 0,
+ "Sense Theme", "HTC Sense Theme by amarullz", 0
+ #-- Initial Value = 0: Unselected, 1: Selected, 3: Not Visible
+);
+
+##
+# SET THEME
+#
+if
+ prop("theme.prop", "selected.0") == "2"
+then
+ theme("miui");
+endif;
+
+if
+ prop("theme.prop", "selected.0") == "2"
+then
+ theme("ics");
+endif;
+
+if
+ prop("theme.prop", "selected.0") == "3"
+then
+ theme("sense");
+endif;
+
+##
+# STEP 2 - SHOW INFORMATION
#
viewbox(
- # Arg 1
+ #-- Title
"Welcome",
- # Arg 2
- "You are about to Installing AROMA ROM for HTC Desire GSM (bravo).\n\n"+
- "AROMA ROM for HTC Desire GSM, Bring your old Desire Hardware "+
- "Into Stunning Android 5.0 Jelly with AROMA UI, yet "+
- "Powerfull, Stable and Fastest ROM for HTC Desire.\n\n\n"+
- " VERSION : <#080>1.0</#> Insane Edition\n"+
- " UPDATED : <#080>Dec, 30 2011</#>\n\n\n"+
+ #-- Text
+ "You are about to Installing AROMA Test Zip for Any Device.\n\n"+
+
+ "AROMA Installer was the first and the only Touch and Customizable "+
+ "ANDROID ROM Installer in the World.\n\n"+
+ "\t\tVERSION : <b>1.50</b> CODENAME: Cempaka\n"+
+ "\t\tUPDATED : <b>Feb, 20 2012</b>\n\n\n"+
+
"Press Next to Continue the Installation...",
- # Arg 3
- "icons/info"
+ #-- Icon
+ "@info"
);
##
-# Agreement Box UI.
-#
-# Arguments:
-# 1. Title Text ( max: 31 chars )
-# 2. Info Text To Show below title ( max: 1023 chars )
-# 3. PNG Icons, relative to <aroma-assets> ( max width & height: 70 * <dp> )
-# 4. Text. ( can readed from file, with "readfile_aroma" )
-# 5. Agreement Text in checkbox
-# 6. Alert Text when user not checked the checkbox
+# STEP 3 - LICENSE
#
agreebox(
- # Arg 1
- "Terms Of Use",
+ #-- Title
+ "Terms and Conditions",
- # Arg 2
- "Please read carefully The AROMA ROM Terms of Use Below...",
+ #-- Subtitle / Description
+ "Please read carefully The AROMA Installer Terms and Conditions Below.",
- # Arg 3
- "icons/agreement",
+ #-- Icon
+ "@agreement",
- # Arg 4
- ## Read From File: Will read <aroma-assets>/sample.txt
- readfile_aroma("sample.txt"),
+ #-- Text Content ( Read from <AROMA Resource Dir>/license.txt )
+ resread("license.txt"),
# 5
- "I Agree with this Terms Of Use...",
+ "I Agree with this Terms and Conditions...",
# 6
"Please check the agreement..."
);
-
##
# Text Box UI. - Same with Agreement, but without checkbox and alert.
#
Oops, something went wrong.

0 comments on commit 17efcb9

Please sign in to comment.