// Paint Startup

create panel "paint_panel" 175 34

// Color Mode Button
	create button "cmode" 0 20 125 16
		param up_image alpha_16x16.tga
		param down_image alpha_16x16d.tga
		param command "le_mode color;"
		param text "Color Mode"

// Brush Color
	create graphic "cmode" 0 40 75 16
		param image alpha_16x16.tga
		param text "Brush Color"

	create swatch "brushcolor_swatch" 80 40 20 16
		param variables le_brushr le_brushg le_brushb

// Brush Strength Slider
	create slider "brush_strength" 120 14 15 75 
		param variable le_brushstrength 
		param range 0 1

// background image
	create graphic "Deform_panel_graphic" 0 9 146 90 
		param image deform_panel_146x154.tga

// Toggle Icon As Visible
togglebutton down icon_bar:paint_button

hide "paint_panel"
panel link paint_panel paint_bar
