import app

ROOT_PATH = "d:/ymir work/ui/pacanele/"
ROOT_PATH_GAMBLE = "d:/ymir work/ui/pacanele/gamble/"
ROOT_PATH_BUTOANE = "d:/ymir work/ui/pacanele/butoane/"
SLOT_DISTANCE = 25
BAR_DEFAULT_Y = 6
BAR_SPACE_1 = 50

window = {
	"name" : "PacaneleWindow",

	#"x" : (SCREEN_WIDTH -510) / 2,
	"x" : (SCREEN_WIDTH / 2) - 383,
	"y" : (SCREEN_HEIGHT / 2) - 256,

	"style" : ("movable", "float",),

	"width" : 766,
	"height" : 600,

	"children" :
	(
		{
			"name" : "pacaneleboard",
			"type" : "window",

			"x" : 0,
			"y" : 0,

			"width" : 766,
			"height" : 600,
		
			"children" :
			(
				## Background Window
				{
					"name" : "BgWindow",

					"x" : 10,
					"y" : 32,

					"width" : 766,
					"height" : 600,
					
					"children" :
					(	
						## INTERFACE BG
						{
							"name":"BackgroundPacanele",
							"type":"image",
							
							"x":10,
							"y":9,

							"image" : ROOT_PATH + "bg.tga",
							"children" :
							(
								{ 
									"name":"Text1", 
									"type":"text", 
									"x":170, 
									"y":480, 
									"fontsize":"LARGE",
									"text" : "0.05", 
								},
								{ 
									"name":"Text2", 
									"type":"text", 
									"x":340, 
									"y":460, 
									"fontsize":"LARGE",
									"text" : "ALEGETI MIZA", 
								},
								{ 
									"name":"Text3", 
									"type":"text",
									"x":340,
									"y":490,
									"text" : "SOLD:", 
								},
								{
									"name" : "Pacanea0",
									"type" : "button",

									"x" : 519,
									"y" : 446,
									

									"default_image" : ROOT_PATH_BUTOANE + "miza_normal.tga",
									"over_image" : ROOT_PATH_BUTOANE + "miza_hover.tga",
									"down_image" : ROOT_PATH_BUTOANE + "miza_down.tga",
								},
								{
									"name" : "Pacanea1",
									"type" : "button",

									"x" : 151,
									"y" : 461,

									"default_image" : ROOT_PATH_BUTOANE + "minus_norm.tga",
									"over_image" : ROOT_PATH_BUTOANE + "minus_hover.tga",
									"down_image" : ROOT_PATH_BUTOANE + "minus_down.tga",
								},
								{
									"name" : "Pacanea2",
									"type" : "button",

									"x" : 227,
									"y" : 461,
									

									"default_image" : ROOT_PATH_BUTOANE + "plus_norm.tga",
									"over_image" : ROOT_PATH_BUTOANE + "plus_hover.tga",
									"down_image" : ROOT_PATH_BUTOANE + "plus_down.tga",
								},
								#Rank text
								{ 
									"name":"Text0", 
									"type":"text", 
									"x":155 + 8, 
									"y":460, 
									# "fontsize":"LARGE",
									"text" : "MIZA TOTALA", 
								},
								{
									"name" : "Pacanea3",
									"type" : "button",

									"x" : 657,
									"y" : 446,
									

									"default_image" : ROOT_PATH_BUTOANE + "start_normal.tga",
									"over_image" : ROOT_PATH_BUTOANE + "start_hover.tga",
									"down_image" : ROOT_PATH_BUTOANE + "start_down.tga",
								},
								{
									"name" : "Pacanea4",
									"type" : "button",

									"x" : 9,
									"y" : 446,
									

									"default_image" : ROOT_PATH_BUTOANE + "menu_normal.tga",
									"over_image" : ROOT_PATH_BUTOANE + "menu_hover.tga",
									"down_image" : ROOT_PATH_BUTOANE + "menu_down.tga",
								},
								{ 
									"name":"Text4", 
									"type":"text",
									"x":26,
									"y":490,
									"text" : "Ai ales", 
								},
								{
									"name" : "Pacanea5",
									"type" : "button",

									"x" : 588,
									"y" : 446,
									

									"default_image" : ROOT_PATH_BUTOANE + "gamble_normal.tga",
									"over_image" : ROOT_PATH_BUTOANE + "gamble_hover.tga",
									"down_image" : ROOT_PATH_BUTOANE + "gamble_down.tga",
								},
								{
									"name" : "Pacanea6",
									"type" : "button",

									"x" : 657,
									"y" : 446,
									

									"default_image" : ROOT_PATH_BUTOANE + "collect.tga",
									"over_image" : ROOT_PATH_BUTOANE + "collect.tga",
									"down_image" : ROOT_PATH_BUTOANE + "collect.tga",
								},
								
								## VISUAL IMAGES START
								{
									# No.1
									"name" : "Simbol0",
									"type" : "image",

									"x" : 15,
									"y" : 15,
									

									"image" : ROOT_PATH + "7.tga",

								},
								{
									# No.2
									"name" : "Simbol1",
									"type" : "image",

									"x" : 15 + 150,
									"y" : 15,
									

									"image" : ROOT_PATH + "7.tga",

								},
								{
									# No.3
									"name" : "Simbol2",
									"type" : "image",

									"x" : 15 + 150*2,
									"y" : 15,
									

									"image" : ROOT_PATH + "7.tga",

								},
								{
									# No.4
									"name" : "Simbol3",
									"type" : "image",

									"x" : 15 + 150*3 + 2,
									"y" : 15,
									

									"image" : ROOT_PATH + "7.tga",

								},
								{
									# No.5
									"name" : "Simbol4",
									"type" : "image",

									"x" : 15 + 150*4 + 2,
									"y" : 15,
									

									"image" : ROOT_PATH + "7.tga",

								},
								
								##SECOND LINE VISUAL
								{
									# No.1
									"name" : "Simbol5",
									"type" : "image",

									"x" : 15,
									"y" : 15 + 138,
									

									"image" : ROOT_PATH + "7.tga",

								},
								{
									# No.2
									"name" : "Simbol6",
									"type" : "image",

									"x" : 15 + 150,
									"y" : 15 + 138,
									

									"image" : ROOT_PATH + "7.tga",

								},
								{
									# No.3
									"name" : "Simbol7",
									"type" : "image",

									"x" : 15 + 150*2,
									"y" : 15 + 138,
									

									"image" : ROOT_PATH + "7.tga",

								},
								{
									# No.4
									"name" : "Simbol8",
									"type" : "image",

									"x" : 15 + 150*3 + 2,
									"y" : 15 + 138,
									

									"image" : ROOT_PATH + "7.tga",

								},
								{
									# No.5
									"name" : "Simbol9",
									"type" : "image",

									"x" : 15 + 150*4 + 2,
									"y" : 15 + 138,
									

									"image" : ROOT_PATH + "7.tga",

								},
								##THIRD LINE VISUAL
								{
									# No.1
									"name" : "Simbol10",
									"type" : "image",

									"x" : 15,
									"y" : 15 + 138*2,
									

									"image" : ROOT_PATH + "7.tga",

								},
								{
									# No.2
									"name" : "Simbol11",
									"type" : "image",

									"x" : 15 + 150,
									"y" : 15 + 138*2,
									

									"image" : ROOT_PATH + "7.tga",

								},
								{
									# No.3
									"name" : "Simbol12",
									"type" : "image",

									"x" : 15 + 150*2,
									"y" : 15 + 138*2,
									

									"image" : ROOT_PATH + "7.tga",

								},
								{
									# No.4
									"name" : "Simbol13",
									"type" : "image",

									"x" : 15 + 150*3 + 2,
									"y" : 15 + 138*2,
									

									"image" : ROOT_PATH + "7.tga",

								},
								{
									# No.5
									"name" : "Simbol14",
									"type" : "image",

									"x" : 15 + 150*4 + 2,
									"y" : 15 + 138*2,
									

									"image" : ROOT_PATH + "7.tga",

								},
								## VISUAL IMAGES END
								{
									"name" : "loop0",
									"type" : "ani_image",
									"x" : 15 - 7, 
									"y" : 13,
									
									"delay" : 1,
									"images" :
									(
									ROOT_PATH + "loop/spin_1.tga",
									ROOT_PATH + "loop/spin_2.tga",
									ROOT_PATH + "loop/spin_3.tga",
									ROOT_PATH + "loop/spin_4.tga",
									ROOT_PATH + "loop/spin_5.tga",
									ROOT_PATH + "loop/spin_6.tga",
									ROOT_PATH + "loop/spin_7.tga",
									ROOT_PATH + "loop/spin_8.tga",
									ROOT_PATH + "loop/spin_9.tga",
									ROOT_PATH + "loop/spin_10.tga",
									ROOT_PATH + "loop/spin_11.tga",
									ROOT_PATH + "loop/spin_12.tga",
									ROOT_PATH + "loop/spin_13.tga",
									ROOT_PATH + "loop/spin_14.tga",
									ROOT_PATH + "loop/spin_15.tga",
	
									)
								},	
								{
									"name" : "loop1",
									"type" : "ani_image",
									"x" : 15 + 150 - 2, 
									"y" : 13,
									
									"delay" : 1,
									"images" :
									(
									ROOT_PATH + "loop/spin_1.tga",
									ROOT_PATH + "loop/spin_2.tga",
									ROOT_PATH + "loop/spin_3.tga",
									ROOT_PATH + "loop/spin_4.tga",
									ROOT_PATH + "loop/spin_5.tga",
									ROOT_PATH + "loop/spin_6.tga",
									ROOT_PATH + "loop/spin_7.tga",
									ROOT_PATH + "loop/spin_8.tga",
									ROOT_PATH + "loop/spin_9.tga",
									ROOT_PATH + "loop/spin_10.tga",
									ROOT_PATH + "loop/spin_11.tga",
									ROOT_PATH + "loop/spin_12.tga",
									ROOT_PATH + "loop/spin_13.tga",
									ROOT_PATH + "loop/spin_14.tga",
									ROOT_PATH + "loop/spin_15.tga",
	
									)
								},
								{
									"name" : "loop2",
									"type" : "ani_image",
									"x" : 15 + 150*2, 
									"y" : 13,
									
									"delay" : 1,
									"images" :
									(
									ROOT_PATH + "loop/spin_1.tga",
									ROOT_PATH + "loop/spin_2.tga",
									ROOT_PATH + "loop/spin_3.tga",
									ROOT_PATH + "loop/spin_4.tga",
									ROOT_PATH + "loop/spin_5.tga",
									ROOT_PATH + "loop/spin_6.tga",
									ROOT_PATH + "loop/spin_7.tga",
									ROOT_PATH + "loop/spin_8.tga",
									ROOT_PATH + "loop/spin_9.tga",
									ROOT_PATH + "loop/spin_10.tga",
									ROOT_PATH + "loop/spin_11.tga",
									ROOT_PATH + "loop/spin_12.tga",
									ROOT_PATH + "loop/spin_13.tga",
									ROOT_PATH + "loop/spin_14.tga",
									ROOT_PATH + "loop/spin_15.tga",
	
									)
								},
								{
									"name" : "loop3",
									"type" : "ani_image",
									"x" : 15 + 150*3, 
									"y" : 13,
									
									"delay" : 1,
									"images" :
									(
									ROOT_PATH + "loop/spin_1.tga",
									ROOT_PATH + "loop/spin_2.tga",
									ROOT_PATH + "loop/spin_3.tga",
									ROOT_PATH + "loop/spin_4.tga",
									ROOT_PATH + "loop/spin_5.tga",
									ROOT_PATH + "loop/spin_6.tga",
									ROOT_PATH + "loop/spin_7.tga",
									ROOT_PATH + "loop/spin_8.tga",
									ROOT_PATH + "loop/spin_9.tga",
									ROOT_PATH + "loop/spin_10.tga",
									ROOT_PATH + "loop/spin_11.tga",
									ROOT_PATH + "loop/spin_12.tga",
									ROOT_PATH + "loop/spin_13.tga",
									ROOT_PATH + "loop/spin_14.tga",
									ROOT_PATH + "loop/spin_15.tga",
	
									)
								},
								{
									"name" : "loop4",
									"type" : "ani_image",
									"x" : 15 + 150*4 + 4, 
									"y" : 13,
									
									"delay" : 1,
									"images" :
									(
									ROOT_PATH + "loop/spin_1.tga",
									ROOT_PATH + "loop/spin_2.tga",
									ROOT_PATH + "loop/spin_3.tga",
									ROOT_PATH + "loop/spin_4.tga",
									ROOT_PATH + "loop/spin_5.tga",
									ROOT_PATH + "loop/spin_6.tga",
									ROOT_PATH + "loop/spin_7.tga",
									ROOT_PATH + "loop/spin_8.tga",
									ROOT_PATH + "loop/spin_9.tga",
									ROOT_PATH + "loop/spin_10.tga",
									ROOT_PATH + "loop/spin_11.tga",
									ROOT_PATH + "loop/spin_12.tga",
									ROOT_PATH + "loop/spin_13.tga",
									ROOT_PATH + "loop/spin_14.tga",
									ROOT_PATH + "loop/spin_15.tga",
	
									)
								},
							)
						},

						## GAMBLE INTERFACE BG
						{
							"name":"BackgroundGamble",
							"type":"image",
							
							"x":10,
							"y":9,

							"image" : ROOT_PATH_GAMBLE + "bg_gamble.tga",
							"children" :
							(
								{ 
									"name":"Gamble0", 
									"type":"text", 
									"x":120, 
									"y":75, 
									"fontsize":"LARGE",
									"text" : "POZITIA1 GAMBLE CURRENT", 
								},
								{ 
									"name":"Gamble1", 
									"type":"text", 
									"x":490, 
									"y":75, 
									"fontsize":"LARGE",
									"text" : "POZITIA2 GAMBLE POSIBIL", 
								},
								{
									"name" : "BGamble0",
									"type" : "button",

									"x" : 66,
									"y" : 220,
									

									"default_image" : ROOT_PATH_GAMBLE + "red_normal.tga",
									"over_image" : ROOT_PATH_GAMBLE + "red_hover.tga",
									"down_image" : ROOT_PATH_GAMBLE + "red_down.tga",
								},
								{
									"name" : "BGamble1",
									"type" : "button",

									"x" : 519,
									"y" : 220,

									"default_image" : ROOT_PATH_GAMBLE + "black_normal.tga",
									"over_image" : ROOT_PATH_GAMBLE + "black_hover.tga",
									"down_image" : ROOT_PATH_GAMBLE + "black_down.tga",
								},
								{
									"name" : "loopgamble0",
									"type" : "ani_image",
									"x" : 320, 
									"y" : 185,
									
									"delay" : 1,
									"images" :
									(
									ROOT_PATH_GAMBLE + "red_card.tga",
									ROOT_PATH_GAMBLE + "blue_card.tga",
									)
								},
								{
									# No.1
									"name" : "Carte0",
									"type" : "image",

									"x" : 320, 
									"y" :185,
									

									"image" : ROOT_PATH_GAMBLE + "carte0.tga",

								},
							)
						},
						{
							"name" : "zabitch0",
							"type" : "ani_image",
							"x" : 15,
							"y" : 15,
							
							"delay" : 3,
							"images" :
							(
							ROOT_PATH + "focfoc/1.tga",
							ROOT_PATH + "focfoc/2.tga",
							ROOT_PATH + "focfoc/3.tga",
							ROOT_PATH + "focfoc/4.tga",
							ROOT_PATH + "focfoc/5.tga",
							ROOT_PATH + "focfoc/6.tga",
							ROOT_PATH + "focfoc/7.tga",
							)
						},
						{
							"name" : "zabitch1",
							"type" : "ani_image",
							"x" : 15 + 150,
							"y" : 15,
							
							"delay" : 3,
							"images" :
							(
							ROOT_PATH + "focfoc/1.tga",
							ROOT_PATH + "focfoc/2.tga",
							ROOT_PATH + "focfoc/3.tga",
							ROOT_PATH + "focfoc/4.tga",
							ROOT_PATH + "focfoc/5.tga",
							ROOT_PATH + "focfoc/6.tga",
							ROOT_PATH + "focfoc/7.tga",
							)
						},
						{
							"name" : "zabitch2",
							"type" : "ani_image",
							"x" : 15 + 150*2,
							"y" : 15,
							
							"delay" : 3,
							"images" :
							(
							ROOT_PATH + "focfoc/1.tga",
							ROOT_PATH + "focfoc/2.tga",
							ROOT_PATH + "focfoc/3.tga",
							ROOT_PATH + "focfoc/4.tga",
							ROOT_PATH + "focfoc/5.tga",
							ROOT_PATH + "focfoc/6.tga",
							ROOT_PATH + "focfoc/7.tga",
							)
						},
						{
							"name" : "zabitch3",
							"type" : "ani_image",
							"x" : 15 + 150*3 + 2,
							"y" : 15,
							
							"delay" : 3,
							"images" :
							(
							ROOT_PATH + "focfoc/1.tga",
							ROOT_PATH + "focfoc/2.tga",
							ROOT_PATH + "focfoc/3.tga",
							ROOT_PATH + "focfoc/4.tga",
							ROOT_PATH + "focfoc/5.tga",
							ROOT_PATH + "focfoc/6.tga",
							ROOT_PATH + "focfoc/7.tga",
							)
						},
						{
							"name" : "zabitch4",
							"type" : "ani_image",
							"x" : 15 + 150*4 + 2,
							"y" : 15,
							
							"delay" : 3,
							"images" :
							(
							ROOT_PATH + "focfoc/1.tga",
							ROOT_PATH + "focfoc/2.tga",
							ROOT_PATH + "focfoc/3.tga",
							ROOT_PATH + "focfoc/4.tga",
							ROOT_PATH + "focfoc/5.tga",
							ROOT_PATH + "focfoc/6.tga",
							ROOT_PATH + "focfoc/7.tga",
							)
						},
						
						#//;; LINIA 2
						{
							"name" : "zabitch5",
							"type" : "ani_image",
							"x" : 15,
							"y" : 15 + 138,
							
							"delay" : 3,
							"images" :
							(
							ROOT_PATH + "focfoc/1.tga",
							ROOT_PATH + "focfoc/2.tga",
							ROOT_PATH + "focfoc/3.tga",
							ROOT_PATH + "focfoc/4.tga",
							ROOT_PATH + "focfoc/5.tga",
							ROOT_PATH + "focfoc/6.tga",
							ROOT_PATH + "focfoc/7.tga",
							)
						},
						{
							"name" : "zabitch6",
							"type" : "ani_image",
							"x" : 15 + 150,
							"y" : 15 + 138,
							
							"delay" : 3,
							"images" :
							(
							ROOT_PATH + "focfoc/1.tga",
							ROOT_PATH + "focfoc/2.tga",
							ROOT_PATH + "focfoc/3.tga",
							ROOT_PATH + "focfoc/4.tga",
							ROOT_PATH + "focfoc/5.tga",
							ROOT_PATH + "focfoc/6.tga",
							ROOT_PATH + "focfoc/7.tga",
							)
						},
						{
							"name" : "zabitch7",
							"type" : "ani_image",
							"x" : 15 + 150*2,
							"y" : 15 + 138,
							
							"delay" : 3,
							"images" :
							(
							ROOT_PATH + "focfoc/1.tga",
							ROOT_PATH + "focfoc/2.tga",
							ROOT_PATH + "focfoc/3.tga",
							ROOT_PATH + "focfoc/4.tga",
							ROOT_PATH + "focfoc/5.tga",
							ROOT_PATH + "focfoc/6.tga",
							ROOT_PATH + "focfoc/7.tga",
							)
						},
						{
							"name" : "zabitch8",
							"type" : "ani_image",
							"x" : 15 + 150*3 + 2,
							"y" : 15 + 138,
							
							"delay" : 3,
							"images" :
							(
							ROOT_PATH + "focfoc/1.tga",
							ROOT_PATH + "focfoc/2.tga",
							ROOT_PATH + "focfoc/3.tga",
							ROOT_PATH + "focfoc/4.tga",
							ROOT_PATH + "focfoc/5.tga",
							ROOT_PATH + "focfoc/6.tga",
							ROOT_PATH + "focfoc/7.tga",
							)
						},
						{
							"name" : "zabitch9",
							"type" : "ani_image",
							"x" : 15 + 150*4 + 2,
							"y" : 15 + 138,
							
							"delay" : 3,
							"images" :
							(
							ROOT_PATH + "focfoc/1.tga",
							ROOT_PATH + "focfoc/2.tga",
							ROOT_PATH + "focfoc/3.tga",
							ROOT_PATH + "focfoc/4.tga",
							ROOT_PATH + "focfoc/5.tga",
							ROOT_PATH + "focfoc/6.tga",
							ROOT_PATH + "focfoc/7.tga",
							)
						},
						#LINIA 3 SA MI-L IEI CHARMEINE
						{
							"name" : "zabitch10",
							"type" : "ani_image",
							"x" : 15,
							"y" : 15 + 138*2,
							
							"delay" : 3,
							"images" :
							(
							ROOT_PATH + "focfoc/1.tga",
							ROOT_PATH + "focfoc/2.tga",
							ROOT_PATH + "focfoc/3.tga",
							ROOT_PATH + "focfoc/4.tga",
							ROOT_PATH + "focfoc/5.tga",
							ROOT_PATH + "focfoc/6.tga",
							ROOT_PATH + "focfoc/7.tga",
							)
						},
						{
							"name" : "zabitch11",
							"type" : "ani_image",
							"x" : 15 + 150,
							"y" : 15 + 138*2,
							
							"delay" : 3,
							"images" :
							(
							ROOT_PATH + "focfoc/1.tga",
							ROOT_PATH + "focfoc/2.tga",
							ROOT_PATH + "focfoc/3.tga",
							ROOT_PATH + "focfoc/4.tga",
							ROOT_PATH + "focfoc/5.tga",
							ROOT_PATH + "focfoc/6.tga",
							ROOT_PATH + "focfoc/7.tga",
							)
						},
						{
							"name" : "zabitch12",
							"type" : "ani_image",
							"x" : 15 + 150*2,
							"y" : 15 + 138*2,
							
							"delay" : 3,
							"images" :
							(
							ROOT_PATH + "focfoc/1.tga",
							ROOT_PATH + "focfoc/2.tga",
							ROOT_PATH + "focfoc/3.tga",
							ROOT_PATH + "focfoc/4.tga",
							ROOT_PATH + "focfoc/5.tga",
							ROOT_PATH + "focfoc/6.tga",
							ROOT_PATH + "focfoc/7.tga",
							)
						},
						{
							"name" : "zabitch13",
							"type" : "ani_image",
							"x" : 15 + 150*3 + 2,
							"y" : 15 + 138*2,
							
							"delay" : 3,
							"images" :
							(
							ROOT_PATH + "focfoc/1.tga",
							ROOT_PATH + "focfoc/2.tga",
							ROOT_PATH + "focfoc/3.tga",
							ROOT_PATH + "focfoc/4.tga",
							ROOT_PATH + "focfoc/5.tga",
							ROOT_PATH + "focfoc/6.tga",
							ROOT_PATH + "focfoc/7.tga",
							)
						},
						{
							"name" : "zabitch14",
							"type" : "ani_image",
							"x" : 15 + 150*4 + 2,
							"y" : 15 + 138*2,
							
							"delay" : 3,
							"images" :
							(
							ROOT_PATH + "focfoc/1.tga",
							ROOT_PATH + "focfoc/2.tga",
							ROOT_PATH + "focfoc/3.tga",
							ROOT_PATH + "focfoc/4.tga",
							ROOT_PATH + "focfoc/5.tga",
							ROOT_PATH + "focfoc/6.tga",
							ROOT_PATH + "focfoc/7.tga",
							)
						},
					),
				},
			),
		},
	),
}

