createvar object_position_hor
createvar object_position_vert
createvar object_width
createvar object_height
createvar object_row_space
createvar _object_position_hor
createvar _object_position_vert



//-------size-------------------------------------
set object_position_hor 5
set object_position_vert 100
set object_width 190
set object_height 60
//-----end-size-----------------------------------





// object Startup
create panel "objmenu_panel" [object_position_hor + 14] [object_position_vert]

        //          name                     x  y  w
	create menu "obj_category_menu"      10 15 0  
		param bg_color          .10   .10  .10
		param text_color        0.8   0.8   0.8     
		param highlight_color   1   1   0         

        //          name                     x  y  w
	create menu "obj_list_menu"          10 30 0  
		param bg_color          0   0 0
		param text_color 	1     1    1
		param highlight_color   1   1  0

	
// Toggle Icon As Visible
togglebutton down icon_bar:objmenu_button




create panel objmenu_bar $object_position_hor$ $object_position_vert$ $object_width$ $object_height$


create floater "object_frame" 0 0 $object_width$ $object_height$ 		
set framewidth $object_width$
set frameheight $object_height$
exec ui_frame.cfg

hide objmenu_bar
hide objmenu_panel

panel link objmenu_panel objmenu_bar
