layer : bg0 : (id = 'l_root' minSize = '100 100' fitSize = '1 1') :
{	
	vbox : (id = 'v_main') :
	{
		////////////////////////////////////////////////////
		// Top Pane
		////////////////////////////////////////////////////
		ui = 'top.ui'
			
		hbox : (flex = '1') :
		{
			////////////////////////////////////////////////////
			// Left Pane
			////////////////////////////////////////////////////
			hbox : bg :
			{
				hbox : (id = 'v1') :
				{
					layer : (id = 'v_comment' resize = '2' size = '65' max = '200' hidden = '1' flex = '-1' fitSize ='1 0') :
					{
						ui = 'comment.ui'
					}
		
					layer : (resize = '2' fitSize ='1 0') : (max = '350' size = '145' flex = '-1') :
					{
						vbox :
						{
							sw-title : (toggle = [['v1' 'v1_s']] text = 'Palette' textOffset = '1.5 0') : (size = '25' next = '3' margin = '0 3 0 0')
							ui = 'palette.ui'
						}
					}
				}	 
		
				hbox : (id = 'v1_s' hidden = '1') :
				{
					vbox : (size = '18') :
					{
						sw-left : (toggle = [['v1' 'v1_s']]) : (size = '25' next = '5')
					}
				}

				hbox :
				{
					hbox : (id = 'left_edit') :
					{
						layer : (id = 'v2' resize = '2' fitSize ='1 0') : (max = '250' size = '116.33' flex = '-1') :
						{
							vbox :
							{
								hbox : (next = '5') :
								{
									bar-v
									vbox : (flex = '1') :
									{
										sw-title  : (toggle = [['v2' 'v2_s']] text = 'Brush') : (size = '25' next = '3')										
										tab-l : (index = '1') : (size = '27' margin = '9 9 0 0' next = '3') :
										{
											hbox :
											{
												tab-all : (	view = [['menu_brush' 'menu_brush_opt']]) : (flex = '1')
												tab-panel : (text = '^68' view = [['menu_brush']]) : (flex = '1') : (hint = 'Show Brushes')
												tab-panel : (text = '^60' view = [['menu_brush_opt']]) : (flex = '1') : (hint = 'Show Display Settings')
											}					
										}
									}
								}
							
								layer : (scroll = '0 -1' fitSize ='1 0') : (corner = '12' radius = '2' flex = '1') :
								{
									vbox :
									{
										vbox : (id = 'menu_brush') :
										{
											ui = 'm_brush.ui'
											ui = 'o_layer.ui'
										}
										ui = 'm_opt.ui'
									}
								}

								hbox : (size = '32' prev = '5') :
								{
									bar-v
									vbox : (margin = '9 9 4 4') : (flex = '1') :
									{
										hbox : (size = '26') :
										{
											switch : (bind = [[value = 'rm_b_edge']]	text = '^x74' textSize = '15 15') : (flex = '1') : (hint = 'Display Edges [CTRL+E]')
											switch : (bind = [[value = 'rm_b_frame']]	text = '^x75' textSize = '15 15') : (flex = '1') : (hint = 'Display Frame [CTRL+F]')
											switch : (bind = [[value = 'rm_b_grid']]	text = '^x73' textSize = '15 15') : (flex = '1' hint = 'Display Grids [CTRL+G]')
										}
										hbox : (size = '26') :
										{
											switch : (bind = [[value = 'rm_b_bo']]		text = '^x77'  ) : (flex = '1') : (hint = 'Display Background Objects [CTRL+B]')
											switch : (bind = [[value = 'rm_b_wire']]	text = '^x58'  ) : (flex = '1') : (hint = 'Display Wireframes [CTRL+M]')
											switch : (bind = [[value = 'rm_b_sw']]		text = '^x59'  ) : (flex = '1' hint = 'Display Shadow [CTRL+W]')
										}

									}
								}
							}
						}

						hbox : (id = 'v2_s' hidden = '1') :
						{
							sp : bg3 : (size = '3' corner = '15' radius = '3')
							vbox : (size = '18') :
							{
								sw-left : (toggle = [['v2' 'v2_s']]) : (size = '25' next = '5')
							}
						}
					}
				}

				hbox : (id = 'left_render' hidden = '1') :
				{
					layer : (id = 'v4' resize = '2' fitSize ='0 0') : (max = '250' size = '116.33' flex = '-1') :
					{
						vbox :
						{
							hbox : (next = '5') :
							{
								bar-v
								
								vbox : (flex = '1') :
								{
									sw-title : (toggle = [['v4' 'v4_s']] id = 'r_title1' text = 'Light') : (size = '25' next = '3')
									tab-l : (index = '1') : (size = '27' margin = '6 6 0 0' next = '3') :
									{
										hbox :
										{
											tab-all   : (view = [['menu_light' 'menu_sample' 'menu_display' 'rl_sep0' 'rl_sep1']] onSelect = 'set ui/r_title1.text *Light') : (flex = '1')
											tab-panel : (view = [['menu_light']]		text = '^62' onSelect = 'set ui/r_title1.text *Light'  ) : (flex = '1') : (hint = 'Show Lighting Settings')
											tab-panel : (view = [['menu_sample']]		text = '^59' onSelect = 'set ui/r_title1.text *Sample' ) : (flex = '1') : (hint = 'Show Sampling Settings')
											tab-panel : (view = [['menu_display']]		text = '^60' onSelect = 'set ui/r_title1.text *Display') : (flex = '1') : (hint = 'Show Display Settings')
										}					
									}
								}
							}
								
							layer : (scroll = '0 -1' fitSize ='1 0') : (corner = '12' radius = '2' flex = '1') :
							{
								vbox :
								{
									ui = 'r_light.ui'
									ui = 'r_sample.ui'
									ui = 'r_display.ui'
								}
							}

							hbox : (prev = '5') :
							{
								bar-v
								vbox : (margin = '9 9 4 4') : (flex = '1') :
								{
									hbox : (size = '26') :
									{
										switch : (bind = [[value = 'pt_b_bg_c']] text = '^x55' textSize = '15 15') : (flex = '1') : (hint = 'Display Background Color [CTRL+B]')
										switch : (bind = [[value = 'pt_b_edge']] text = '^x74' textSize = '15 15') : (flex = '1') : (hint = 'Display Edges [CTRL+E]')
										switch : (bind = [[value = 'pt_b_grid']] text = '^x73' textSize = '15 15') : (flex = '1') : (hint = 'Display Grids [CTRL+G]')
										switch : (bind = [[value = 'pt_b_gd']]	 text = '^x52' textSize = '15 15') : (flex = '1') : (hint = 'Display Ground [CTRL+U]')				
									}
								}
							}
						}
					}

					hbox : (id = 'v4_s' hidden = '1') :
					{
						sp : bg3 : (size = '3' corner = '15' radius = '3')
						vbox : (size = '18') :
						{
							sw-left : (toggle = [['v4' 'v4_s']]) : (size = '25' next = '5')
						}
					}
				}
			}		
		
			////////////////////////////////////////////////////
			// Center Pane
			////////////////////////////////////////////////////
			vbox : (flex = '1' prev = '1' next = '1') :
			{
				layer : (fitSize = '0 1' next = '1') :
				{
					ui = 'upper.ui'
				}

				scene : (id = 'scene' snap = '5' ruler = '0' cube = '1' flex = '1' bind = [[key_speed = 'cam_key' mouse_speed = 'cam_mouse']]) : (hint = 'Rotate [RButton] : Move [MButton]')
			
				layer : (fitSize = '0 1' prev = '1') :
				{	
					ui = 'lower.ui'
				}
			}

			////////////////////////////////////////////////////
			// Right Pane
			////////////////////////////////////////////////////
			hbox : bg : (align = '1') :
			{
				hbox : (id = 'right_edit') :
				{
					hbox :
					{
						hbox : (id = 'v5_s' hidden = '1') :
						{
							vbox : (size = '18') :
							{
								sw-right : (toggle = [['v5' 'v5_s']]) : (size = '25')
							}
							sp : bg3 : (size = '3' corner = '15' radius = '3')
						}
					
						layer : (id = 'v5' resize = '1' fitSize ='1 0') : (max = '250' size = '116.33' flex = '-1') :
						{
							vbox :
							{
								hbox : (next = '5') :
								{
									vbox : (flex = '1') :
									{
										sw-title : (toggle = [['v5' 'v5_s']] text = 'Edit' textOffset = '0 0') : (size = '25' next = '3')
										tab-l : (id = 'right_mtab' hidden = '1' index = '0') : (size = '27' margin = '9 9 0 0' next = '3') :
										{
											hbox :
											{
												tab-all : (					view = [['medit_basic' 'medit_tran' 'medit_mod' 'medit_sep0' 'medit_sep1']]) : (flex = '1')
												tab-panel : (text = '^64'	view = [['medit_tran']]) : (flex = '1') : (hint = 'Show Transform Options')
												tab-panel : (text = '^3'	view = [['medit_mod']]) : (flex = '1') : (hint = 'Show Modification Options')
											}					
										}

										tab-l : (id = 'right_otab'index = '0') : (size = '27' margin = '9 9 0 0' next = '3') :
										{
											hbox :
											{
												tab-all : (					view = [['oedit_basic' 'oedit_tran' 'oedit_obj' 'oedit_sep0' 'oedit_sep1']]) : (flex = '1')
												tab-panel : (text = '^64'	view = [['oedit_tran']]) : (flex = '1') : (hint = 'Show Transform Options')
											}					
										}
									}
								
									bar-v
								}
								
								layer : (id = 'debug' scroll = '0 1'  fitSize ='1 0') : (corner = '12' radius = '2' flex = '1') :
								{
									vbox : (id = 'right_medit') : (hidden = '1') :
									{
										ui = 'm_edit.ui'
									}
									vbox : (id = 'right_oedit') :
									{
										ui = 'o_edit.ui'
									}										
								}
							}
						}
					}
				}
				
				hbox : (id = 'right_render' hidden = '1') :
				{
					hbox : (id = 'v7_s' hidden = '1') :
					{
						vbox : (size = '18') :
						{
							sw-right : (toggle = [['v7' 'v7_s']]) : (size = '25')
						}
						sp : bg3 : (size = '3' corner = '15' radius = '3')
					}
						
					layer : (id = 'v7' resize = '1' fitSize ='1 0') : (max = '250' size = '116.33' flex = '-1') :
					{
						vbox:
						{
							hbox : (next = '5') :
							{
								vbox : (flex = '1') :
								{
									sw-title : (toggle = [['v7' 'v7_s']] id = 'r_title2' text = 'Matter') : (size = '25' next = '3')
									tab-l : (index = '1' flex = '1') : (size = '27' margin = '6 6 0 0' next = '3') :
									{
										hbox :
										{
											tab-all : (view = [['menu_mtl' 'menu_cam' 'menu_image' 'rr_sep0' 'rr_sep1']] onSelect = 'set ui/r_title2.text *Matter') : (flex = '1')
											tab-panel : (view = [['menu_mtl']]	text = '^13' onSelect = 'set ui/r_title2.text *Matter'	) : (flex = '1') : (hint = 'Show Material Settings')
											tab-panel : (view = [['menu_cam']]	text = '^9'	onSelect = 'set ui/r_title2.text *Camera'		) : (flex = '1') : (hint = 'Show Camera Settings')
											tab-panel : (view = [['menu_image']]	text = '^65'	onSelect = 'set ui/r_title2.text *Image'		) : (flex = '1') : (hint = 'Show Image Settings')
										}					
									}
								}

								bar-v
							}

							layer : (scroll = '0 1' fitSize ='1 0') : (corner = '12' radius = '2' flex = '1') :
							{
								vbox :
								{
									ui = 'r_mtl.ui'									
									ui = 'r_cam.ui'
									ui = 'r_image.ui'
								}
							}
						}
					}
				}

				hbox : (id = 'v8_s' hidden = '1') :
				{
					vbox : (size = '18') :
					{
						sw-right : (toggle = [['v8' 'v8_s']]) : (size = '25')
					}
				}
				
				layer : (id = 'v8' resize = '1' fitSize ='1 0') : (max = '350' size = '145' flex = '-1') :
				{
					vbox :
					{
						sw-title : (toggle = [['v8' 'v8_s']] id = 'r_title3' text = 'Project' textOffset = '-1.5 0' margin = '3 0 0 0') : (size = '25' next = '3')

						vbox : (next = '8') :
						{
							tab-l : (index = '0' flex = '1') : (size = '27' margin = '9 9 0 0') :
							{
								hbox :
								{
									tab-panel : (view = [['menu_model']] text = '^6' onSelect = 'set ui/r_title3.text *Project') : (flex = '1') : (hint = 'Show Project List')
									tab-panel : (view = [['menu_graph']] text = '^104' textSize = '13 13' onSelect = 'set ui/r_title3.text *Outline') : (flex = '1') : (hint = 'Show Scene Outline')
									tab-panel : (view = [['menu_shader']] text = '^50' textSize = '16 16' onSelect = 'set ui/r_title3.text *Shader') : (flex = '1') : (hint = 'Show Shader List')
									tab-panel : (view = [['menu_patt']] text = '^16' textSize = '14 14' onSelect = 'set ui/r_title3.text *Pattern') : (flex = '1') : (hint = 'Show Pattern List')
									tab-panel : (view = [['menu_io']] text = '^27' textSize = '15 15' onSelect = 'set ui/r_title3.text *File') : (flex = '1') : (hint = 'Show IO Setting')
								}					
							}
						}
							
						layer : (scroll = '0 0' fitSize ='1 0') : (corner = '12' radius = '2' flex = '1') :
						{
							ui = 'file.ui'
						}
					}
				}
			}
		}
	}

	layer : (fitSize = '0 0' collid = '0') :
	{		
		layer : bg-m : (id = 'popup_outline' temp = '1' hidden = '1' rect = '0 0 130 140' fitSize = '1 1') : (corner = '15' radius = '4') :
		{
			vbox : (margin = '2 2 2 0') :
			{
				hbox : (size = '28') :
				{
					tf-info : (bind = [[value = 'oname']] onEnter = 'set ui/popup_outline.hidden 1' maxLength = '64' enter = '1' once = '1' default = '<name>') : (flex = '1' corner = '15' radius = '3' margin = '1 1 3 3') : (hint = 'Object Name')
					bn-menu : (text = '^x1c' textFont = 'icon' textSize = '13 13' onClick = 'set ui/popup_outline.hidden 1 | sort' ) : (size = '22' corner = '15' radius = '3' prev = '1' margin = '1 1 3 3') : (hint = 'Sort Objects by Names')
				}

				hbox : (flex = '1') :
				{
					bn-menu : (text = 'Close' textAlign = '1' onClick = 'set ui/popup_outline.hidden 1 | oexpand -1' ) : (size = '45') : (hint = 'Close Sub Objects')
					bn-menu : (text = ': Close Inactive' textAlign = '1' onClick = 'set ui/popup_outline.hidden 1 | oexpand -2' ) : (flex = '1') : (hint = 'Close Inactive Objects')
				}				
				bar-h1
				hbox : (flex = '1') :
				{
					bn-menu : (text = 'Expand' textAlign = '1' onClick = 'set ui/popup_outline.hidden 1 | oexpand 2' ) : (size = '45') : (hint = 'Expand Sub Objects')
					bn-menu : (text = ': Expand All' textAlign = '1' onClick = 'set ui/popup_outline.hidden 1 | oexpand 3' ) : (flex = '1') : (hint = 'Expand All Objects')
				}
				bar-h1
				hbox : (flex = '1') :
				{
					bn-menu : (text = 'Hide' textAlign = '1' onClick = 'set ui/popup_outline.hidden 1 | ohide -4' ) : (size = '45' radius = '2') : (hint = 'Hide Sub Objects')
					bn-menu : (text = ': Hide Others' textAlign = '1' onClick = 'set ui/popup_outline.hidden 1 | ohide -3' ) : (flex = '1' radius = '2') : (hint = 'Hide Other Objects')
				}
				bar-h1
				hbox : (flex = '1') :
				{
					bn-menu : (text = 'Show' textAlign = '1' onClick = 'set ui/popup_outline.hidden 1 | ohide -2' ) : (size = '45' corner = '1') : (hint = 'Show Sub Objects')
					bn-menu : (text = ': Show All' textAlign = '1' onClick = 'set ui/popup_outline.hidden 1 | ohide -1' ) : (flex = '1' corner = '2') : (hint = 'Show All Objects')
				}

			}
		}

		layer : bg-m : (id = 'popup_anim' temp = '1' hidden = '1' rect = '0 0 110 56' fitSize = '1 1') : (corner = '15' radius = '4') :
		{
			vbox : (margin = '2 2 2 2') :
			{
				hbox : (flex = '1') :
				{
					bn-menu : (textFont = 'symbol' text = '^x25cf' textSize = '14 14' onClick = 'set ui/popup_anim.hidden 1 | asel all') : (flex = '1' corner = '4' ) : (hint = 'Select All')
					bn-menu : (textFont = 'symbol' text = '^x25d0' textSize = '14 14' onClick = 'set ui/popup_anim.hidden 1 | asel inv') : (flex = '1' corner = '0') : (hint = 'Select Inverse')
					bn-menu : (textFont = 'symbol' text = '^x25cc' textSize = '14 14' onClick = 'set ui/popup_anim.hidden 1 | asel none') : (flex = '1' corner = '0') : (hint = 'Select None')
					bn-menu : (textFont = 'symbol' text = '^x21bb' textSize = '16 16' onClick = 'set ui/popup_anim.hidden 1 | arev') : (flex = '1' corner = '8') : (hint = 'Reverse Frames')
				}
				bar-h1
				hbox : (flex = '1') :
				{
					tf-v-c : (bind = [[value = 'a_min']]  text = '0' maxLength = '3' margin = '0 0 0 0' bgColor = '0 0 0 0') : (flex = '1') : (hint = 'Min Frame')
					label : (text = '^xb' textSize = '8 8' textFont = 'icon') : (flex = '1')
					tf-v-c : (bind = [[value = 'a_max']]  text = '0' maxLength = '3' margin = '0 0 0 0' bgColor = '0 0 0 0') : (flex = '1') : (hint = 'Max Frame')
					bn-menu : (text = '^x3a' textFont = 'icon' textSize = '16 16' onClick = 'set ui/popup_anim.hidden 1 | task play' flex = '1' corner = '2') : (hint = 'Playback')
					//tf-v-c : (bind = [[value = 'a_time']] text = '0' maxLength = '3' margin = '0 0 0 0' bgColor = '0 0 0 0') : (flex = '1') : (hint = 'Current Frame')
				}
			}
		}
		
		layer : bg-m : (id = 'popup_layer' temp = '1' hidden = '1' rect = '0 0 140 84' fitSize = '1 1') : (corner = '15' radius = '4') :
		{
			vbox : (margin = '2 2 2 0') :
			{
				hbox : (flex = '1') :
				{
					bn-menu : (text = '^12' textSize = '14 14'	textFont = 'icon' textAlign = '1' onClick = 'set ui/popup_layer.hidden 1 | osel_layer 0' ) : (size = '22' corner = '15' radius = '3' next = '1' margin = '1 1 3 3') : (hint = 'Select Objects on the Current Selected Layer')
					tf-info : (bind = [[value = 'lay_name']] default = '<name>' onEnter = 'set ui/popup_layer.hidden 1' maxLength = '64' enter = '1' once = '1') : (flex = '1' next = '1' corner = '15' radius = '3' margin = '1 0 3 3') : (hint = 'Layer Name')
					bn-menu : (text = '^x1c' textFont = 'icon' textSize = '13 13' onClick = 'set ui/popup_layer.hidden 1 | lay_sort' ) : (size = '22' corner = '15' radius = '3' prev = '1' margin = '1 1 3 3') : (hint = 'Sort Layers by Names')
				}
				hbox : (flex = '1') :
				{
					bn-menu : (text = 'Hide' textAlign = '1' onClick = 'set ui/popup_layer.hidden 1 | lay_vis -1 0' ) : (size = '45') : (hint = 'Hide Layer')
					bn-menu : (text = ': Hide Others' textAlign = '1' onClick = 'set ui/popup_layer.hidden 1 | lay_vis -1 -1' ) : (flex = '1' radius = '2') : (hint = 'Hide Other Layers')
				}
				bar-h1
				hbox : (flex = '1') :
				{
					bn-menu : (text = 'Show' textAlign = '1' onClick = 'set ui/popup_layer.hidden 1 | lay_vis -1 1' ) : (size = '45' corner = '1') : (hint = 'Show Layer')
					bn-menu : (text = ': Show All' textAlign = '1' onClick = 'set ui/popup_layer.hidden 1 | lay_vis -1 -2' ) : (flex = '1' corner = '2') : (hint = 'Show All Layers')
				}
			}
		}
		
		layer : bg-m : (id = 'popup_pal' temp = '1' hidden = '1' rect = '0 0 130 56' fitSize = '1 1') : (corner = '15' radius = '4') :
		{
			vbox : (margin = '2 2 2 2') :
			{
				hbox : (flex = '1') :
				{
					bn-menu : (textFont = 'icon' text = '^73' textSize = '14 14' onClick = 'set ui/popup_pal.hidden 1 | pal_sel copy') : (flex = '1' corner = '4' ) : (hint = 'Copy Color Code')
					bn-menu : (text = '^x25cf' textFont = 'symbol' textSize = '14 14') : (flex = '1') : (hint = 'Select All')
					 : (onClick = 'set ui/popup_pal.hidden 1 | pal_sel all')
					bn-menu : (text = '^x25d0' textFont = 'symbol' textSize = '14 14') : (flex = '1') : (hint = 'Select Inverse')
					 : (onClick = 'set ui/popup_pal.hidden 1 | pal_sel inv')
					bn-menu : (text = '^x25cc' textFont = 'symbol' textSize = '14 14') : (flex = '1') : (hint = 'Select None')
					 : (onClick = 'set ui/popup_pal.hidden 1 | pal_sel none')
					bn-menu : (text = '^x1c' textFont = 'icon' textSize = '15 15' onClick = 'set ui/popup_pal.hidden 1 | pal sort -v-sh' ) : (flex = '1' corner = '8') : (hint = 'Sort Palette')


				}
				bar-h1
				hbox : (flex = '1') :
				{
					bn-menu : (textFont = 'icon' text = '^35' textSize = '14 14' onClick = 'set ui/popup_pal.hidden 1 | pal paste'	) : (flex = '1' corner = '1') : (hint = 'Paste Color Code')
					bn-menu : (text = '^x11' textFont = 'icon' textSize = '15 15' onClick = 'set ui/popup_pal.hidden 1 | rand') : (flex = '1') : (hint = 'Random Voxel Colors')				
					bn-menu : (text = '^12' textSize = '14 14'	textFont = 'icon' ) : (flex = '1') : (hint = 'Voxel Selection by Color : Add [+SHIFT] : Remove [+SHIFT+ALT]')
					 : (onClick = 'set ui/popup_pal.hidden 1 | sel_col' onClick1 = 'set ui/popup_pal.hidden 1 | sel_col 1' onClick2 = 'set ui/popup_pal.hidden 1 | sel_col -1')
					bn-menu : (text = '^86' textSize = '13 13'	textFont = 'icon') : (flex = '1') : (hint = 'Flag Selected Voxel Colors : Add [+SHIFT] : Remove [+SHIFT+ALT]')
					 : (onClick = 'set ui/popup_pal.hidden 1 | pal_sel flag' onClick1 = 'set ui/popup_pal.hidden 1 | pal_sel flag 1' onClick2 = 'set ui/popup_pal.hidden 1 | pal_sel flag -1')
					bn-menu : (text = '^x35' textFont = 'icon' textSize = '13 13' onClick = 'set ui/popup_pal.hidden 1 | pal mask') : (flex = '1' corner = '2') : (hint = 'Mask Unused Voxel Colors')
				}
			}
		}
			
		layer : (id = 'popup_col' temp = '1' hidden = '1' rect = '0 0 172 79' bgColor = '0 0 0' ) : (corner = '15' radius = '3') :
		{
			rgbBox : (id = 'rgbBox' flex = '1') :
			{
				hbox : (margin = '1 1 1 1') :
				{
					label : (id = '_blk' size = '12' corner = '5' radius = '2')

					hbox : (id = 'm_val' hidden = '1' flex = '1') :
					{
						vbox : (size = '28') :
						{
							label : (text = 'RGB' textSize = '7 7') : (flex = '1' next = '1')
							label : (text = 'HEX' textSize = '7 7') : (flex = '1' next = '1')
							label : (text = 'HSV' textSize = '7 7') : (flex = '1' next = '0')
						}

						vbox : (flex = '1') :
						{
							tf-col : (id = '_rgb' maxLength = '12' textSize = '6 6') : (flex = '1' next = '1') : (hint = 'RGB Values')
							tf-col : (id = '_hex' maxLength = '12' textSize = '6 6') : (flex = '1' next = '1') : (hint = 'HEX Values')
							tf-col : (id = '_hsv' maxLength = '12' textSize = '6 6') : (flex = '1' next = '0') : (hint = 'HSV Values')
						}
					}
					
					hbox : (id = 'm_sli' flex = '1') :
					{
						group : (size = '16' prev = '1' next = '1') :
						{
							sw-col
							 : (onClick = [[set ui/m_l_hsv.hidden '^' | set ui/m_s_hsv.hidden '^' | set ui/m_l_rgb.hidden '^' | set ui/m_s_rgb.hidden '^']])
							 : (selected = '1')

							 : (hint = 'Switch between HSV/RGB Color Picker')

							vbox : (id = 'm_l_hsv') :
							{
								label : (text = 'H' textSize = '7 7' collid = '0'  flex = '1' next = '1')
								label : (text = 'S' textSize = '7 7' collid = '0'  flex = '1' next = '1')
								label : (text = 'V' textSize = '7 7' collid = '0'  flex = '1' next = '0')
							}

							vbox : (id = 'm_l_rgb' hidden = '1') :
							{
								label : (text = 'R' textSize = '7 7' collid = '0' flex = '1' next = '1')
								label : (text = 'G' textSize = '7 7' collid = '0' flex = '1' next = '1')
								label : (text = 'B' textSize = '7 7' collid = '0' flex = '1' next = '0')
							}
						}

						hbox : (id = 'm_s_hsv') : (flex = '1' next = '3') :
						{
							vbox : (id = 'm_hsv' hidden = '1' flex = '1') :
							{
								sl-col : (id = '_hsq' range = '0 359' dir = '0' curColor = '0 0 0' size = '25') : (hint = 'Hue')
								layer : (flex = '2' prev = '1') : (hint = 'Saturation and Value') :
								{
									slider2d : (subclass = 'col') : (id = '_sv' range = '0 255' curColor = '128 128 128')
								}
							}
							vbox : (id = 'm_hdq') : (flex = '1') :
							{
								sl-col : (id = '_h' range = '0 359') : (flex = '1' next = '1') : (hint = 'Hue')
								sl-col : (id = '_s' range = '0 255') : (flex = '1' next = '1') : (hint = 'Saturation')
								sl-col : (id = '_v' range = '0 255') : (flex = '1') : (hint = 'Value')
							}
							vbox : (size = '32') :
							{
								hbox : (flex = '1' next = '1') : (hint = 'Hue') :
								{
									tf-col : (id = '_h') : (size = '26')
									res-i-col : (range = '0 359')
								}
								hbox : (flex = '1' next = '1') : (hint = 'Saturation') :
								{
									tf-col : (id = '_s') : (size = '26')
									res-i-col : (range = '0 255')
								}
								hbox : (flex = '1') : (hint = 'Value') :
								{
									tf-col : (id = '_v') : (size = '26')
									res-i-col : (range = '0 255')
								}
							}
						}
				
						vbox : (id = 'm_s_rgb' hidden = '1') : (flex = '1' next = '3') :
						{
							hbox : (flex = '1' next = '1') : (hint = 'Red') :
							{
								sl-col : (id = '_r' range = '0 255') : (flex = '1')
								tf-col : (id = '_r') : (size = '26')
								res-i-col : (range = '0 255')
							}
							hbox : (flex = '1' next = '1') : (hint = 'Green') :
							{
								sl-col : (id = '_g' range = '0 255') : (flex = '1')
								tf-col : (id = '_g') : (size = '26')
								res-i-col : (range = '0 255')
							}
							hbox : (flex = '1') : (hint = 'Blue') :
							{
								sl-col : (id = '_b' range = '0 255') : (flex = '1')
								tf-col : (id = '_b') : (size = '26')
								res-i-col : (range = '0 255')
							}
						}
					}

					group : (size = '16') :
					{
						vbox :
						{
							sw-colpanel : (text = '^x2261' textFont = 'symbol' textSize = '12 18') : (size = '20') : (hint = 'Show Values')
							 : (onClick = [[set ui/m_sli.hidden '^' | set ui/m_val.hidden '^']])
							sp : (flex = '1')
							sw-colpanel : (text = '^x25cf' textFont = 'symbol') : (size = '20') : (hint = 'Show SV Block')
							 : (onClick = [[set ui/m_hdq.hidden '^' | set ui/m_hsv.hidden '^']])
						}
					}
				}
			}
		}
	}

	layer : (id = 'v_task' modal = '1' hidden = '1') :
	{
		vbox : (margin = '6 6 0 0') :
		{
			hbox : bg0 : (size = '32') :
			{
				hbox : (flex = '1') :
				{
					hbox : (id = 'a_speed' flex = '1') : (hint = 'Playback Speed') :
					{
						label : (textSize = '8 8' textAlign = '1' text = 'Speed' size = '50')
						slider : (bind = [[value = 'a_speed']] bgColor-h = '40 40 40' color = '200 200 200' color-h = '200 200 200' range = '0 31' snap = '1') : (flex = '1' next = '8' margin = '0 0 6 6')
					}
				}

				bn-task : (id = 'task_stop' onClick = 'task stop' text = 'Stop' delayed = '1')
				 : (corner = '15' radius = '2' size = '90' margin = '0 0 4 4' next = '2')
				 : (hint = 'Stop Rendering')

				sp : (flex = '1')
				//label : (id = 'task_progress' textSize = '9 9' textAlign = '1' flex = '1' hint = 'Progress')
			}
		}
	}
	
	layer : (id = 'v_filter' fitSize = '1 1' modal = '1' hidden = '1') :
	{
		vbox :
		{
			hbox : (size = '32') : (bgColor = '45 45 45') :
			{
				opBox : (value = '2' onSelect = 'set ui/img_filter.mode') : (size = '84' prev = '3') :
				{
					hbox:
					{
						option : (select_id = '0' text = 'L'		textSize = '10 10') : (flex = '1' ) : (hint = 'Show Original Image [Left]')
						option : (select_id = '1' text = 'R'		textSize = '10 10') : (flex = '1' ) : (hint = 'Show Denoised Image [Right]')
						option : (select_id = '2' text = '^8644'	textSize = '18 18' textFont = 'symbol') : (flex = '1' ) : (hint = 'Show Comparison')
					}
				}
				
				sp : (flex = '1')

				bn-ic : (onClick = 'denoise save'	) : (text = '^2' textSize = '16 16') : (size = '36' margin = '0 0 3 3') : (hint = 'Save Denoised Image')
				bn-ic : (onClick = 'denoise close') : (text = '^xd7' textFont = 'symbol' textSize = '24 24' textColor = '255 100 60' textColor-h = '255 100 60' textColor-s = '255 100 60')
				 : (size = '36' next = '3' margin = '0 0 3 3') : (hint = 'Close')
			}

			sp : (bgColor = '0 0 0' size = '1')

			layer : (bgColor = '30 30 30') : (flex = '1') :
			{
				image : (id = 'img_filter')
			}

			hint : (size = '24') : (bgColor = '30 30 30') : (hint = 'Hint')
		}
	}

	layer : bg-m : (id = 'popup_import' temp = '1' hidden = '1' rect = '0 0 110 81' fitSize = '1 1') : (corner = '15' radius = '4') :
	{
		vbox : (margin = '2 2 2 2') :
		{
			bn-menu : (text = 'Open Project' textAlign = '1' onClick = 'set ui/popup_import.hidden 1 | open "<drop>"') : (flex = '1' corner = '12') : (hint = 'Open Project')
			bar-h1
			bn-menu : (text = 'Import Project' textAlign = '1' onClick = 'set ui/popup_import.hidden 1 | i "<drop>"') : (flex = '1') : (hint = 'Import Project')
			bar-h1
			bn-menu : (text = 'Import Model' textAlign = '1' onClick = 'set ui/popup_import.hidden 1 | i_model "<drop>"') : (flex = '1' corner = '3') : (hint = 'Import Model')
		}
	}
}
