ini_set("rom_name",	"Good-Lock Nano");
ini_set("rom_version",	"24.0.9");
ini_set("rom_author",	"setialpha");
ini_set("rom_device",	"Samsung Marshmallow");
ini_set("rom_date",	"Jun, 11 2016");

anisplash(
    0, "splash/nanolx.png", 1500
);

fontresload( "0", "ttf/DroidSans.ttf;", "12" );
theme("touchwiz");

viewbox(
	"Welcome",
	"You are about to install Good-Lock Nano\n\n<b>"+
	"Relevant information of the Package:\n\n"+
	"	Rom\t		<b><#selectbg_g>"+ini_get("rom_name")+"</#></b>\n"+
	"	Version\t		<b><#selectbg_g>"+ini_get("rom_version")+"</#></b>\n"+
	"	Date\t		<b><#selectbg_g>"+ini_get("rom_date")+"</#></b>\n\n",
	"@welcome"
);

agreebox(
  #-- Title
    "READ THIS",
  
  #-- Subtitle / Description
    "Please read before going further",
  
  #-- Icon
    "@license",
  
  #-- Text Content ( Read from <AROMA Resource Dir>/license.txt )
    resread("license.txt"),
  
  #-- Checkbox Text
    "I Agree with this",
  
  #-- Unchecked Alert Message
    "Please check the Agree box first"
);


selectbox(
	"SystemUI",
	"SystemUI",
	"icons/update",
	"ui.prop",

	"Select the SystemUI you want", "", 2, #-- Group 1. key = "selected.1"
	"Good Lock",		"Flash Good Lock AOSP UI",			1,	#-- selected.1 = 1
	"Good Lock Zero",	"Flash Good Lock AOSP UI (zero padding)",	0,	#-- selected.1 = 2
	"Good Lock Original",	"Flash Good Lock AOSP UI (unmodified version)",	0,	#-- selected.1 = 3
	"Good Lock Visualizer",	"Flash Good Lock AOSP UI (with CM Music Visualizer)", 0 #-- selected.1 = 4
);

viewbox(
    "Ready",
    "The wizard is ready to begin the process.\n\n"+
	"Press <b>Next</b> to begin the process.\n\n"+
	"If you want to review or change any of your selection, press <b>Back</b>.",
    "@install"
);

setvar("retstatus",
  install(
	#-- Title
      "Please Wait...",
	
	#-- Installation Process message
	  "<b>"+ini_get("rom_name")+"</b>\n\n"+
      "Please wait while processing your selection...
	   This may take several minutes.",
	
	#-- Installation Icon
      "@install",
	
	#-- Installation Finish Message
      "The process has successfully ended.
	   Press Next to continue."
  )
);

ini_set("text_next", "Finish");

#---- FINISH
