"resource/layout/screenshotmanager.layout"
{
	colors
	{
		BorderThumbnailUnpublished="0 0 0 0"
		BorderThumbnailUploaded="0 0 0 0"
		BorderThumbnailPublished="0 0 0 0"
		BorderThumbnailSelected="139 185 224 255"
	}

	styles
	{
		CScreenshotManager {
			minimum-height=450
			minimum-width=578
		} 

		ThumbnailUnpublished {
			render_bg
			{
				0="fill( x0, y0, x1 - 1, y1, BorderThumbnailUnpublished )"
			}
		}

		ThumbnailPublished {
			render_bg
			{
				0="fill( x0, y0, x1 - 1, y1, BorderThumbnailPublished )"
			}
		}

		ThumbnailSelected {
			bgcolor=Air200
			render
			{
				2="fill( x0, y0, x0 + 2, y1, Air200 )" //left
				3="fill( x1 - 2, y0, x1, y1, Air200 )" //right
			}
		}

		ThumbnailUploaded {
			render_bg
			{
				0="fill( x0, y0, x1 - 1, y1, BorderThumbnailUploaded )"
			}
		}

		DarkRegionDetails {
			bgcolor=none
		}

		SSDetails {
			minimum-width=320
			minimum-height=240
			bgcolor=A2.Ribbon
		}

		publishcaption { }
		publishcaptionprompt { }
		publishcharsleft { }

		publishcharsleft_toomanychars {
			textcolor=red
		}

		WrapPanel { }
		
		gameselector {
			minimum-width=190
		}
		
		ScreenshotLoadingThrobber {
			minimum-width=100
			minimum-height=75
			bgcolor=black
		}

		NoSelectionTitle { }
		NoSelectionInstructions { }
	}
	
	layout
	{
		region { name="selectorbar" x=16 margin-right=340 margin-top=26 height=80 }
		place { control="selectorlabel" region="selectorbar" x=0 y=6 }
		place { control="game_selector" region="selectorbar" start="selectorlabel" dir=right margin-left=4 y=-3 }
	
		region { name="list" x=16 y=8 margin-right=340 margin-top=56 margin-bottom=48 width=max }
		place {	control="grid" region="list" x=0 y=0 width=max height=max }
		place { control="no_screenshots" region="list" y=70 align="top-center" }

		region { name="details" align=right margin-right=16 margin-top=65 margin-bottom=10 width=335 height=max }
		place { control="DarkRegionDetails" region="details" x=0 y=0 width=max height=max z="-1" }
		place { control="SSDetails" region="details" y=0 width=333 height=250 align="top-center"  }
		place { control="SSDate" start="SSDetails" dir=down y=-28 margin-left=8 margin-top=4 align=left }
		place { control="SSSize,SSSizeOriginal" start="SSDate" margin-right=24 align=right dir=left }

		place { control="publish_caption" region="details" x=0 y=266 margin-bottom=60 height=40 width=max  }
		place { control="publish_charsleft" region="details" start=publish_caption dir=down margin-top=4 align=right}

		place { control="null_placer" region="details" width=1 align=bottom margin-bottom=2 }
		place { control="delete_button,details_button,publish_button" start="null_placer" align=right height=24 spacing=10 width=92 margin-right=9 }
		place { control="multiselect_button,view_local_library_button,view_screenshots" x=9 align="bottom" margin-bottom=12 spacing=10 }
				
		place { control="spoiler_checkbox" region="details" align=left x=5 margin-top=1 margin-right=7 spacing=5 }

		place { control="details_caption" region="details" x=5 align=bottom margin-bottom=35 height=60 width=max margin-right=7 }

		place { control="multi_img" region="details" y=60 align="top-center" }
		place { control="multi_img_count" region="details" y=69 margin-right=6 align="top-center" }
		place { control="multi_img_selected" region=details y=160  align="top-center" }
		place { control="multi_img_upload_size,multi_img_upload_size_info" region=details y=185 align="top-center" spacing=5 }
		place { control="multi_img_storage_remaining,multi_img_storage_remaining_info" region=details y=200 align="top-center" spacing=5 }
		place { control="multi_img_delete,multi_img_upload" region=details y=240 align="top-center" spacing=8 width=92 }

		place { control="file_not_loaded_label" region="details" y=140 align="top-center" }
		place { control="instr_no_selection_title,instr_no_selection" region="details" y=20 width=max margin-left=15 margin-right=15 dir=down spacing=20 }
	}
}