h 4+((avatar.height > title.height+text.height) > icon.height)+8

# background
object
	type bitmap
	source mono_back.bmp
	mono
	x 31
	y 0
	w -1
	h -1
end

# side
object
	type bitmap
	source mono_side.bmp
	mono
	x 0
	y 0
	h -1
        w 31
end

# top and bottom lines
object
	type bitmap
	source frame_ct.bmp
	x 0
	y 0
	w -1
end

object
	type bitmap
	source frame_cb.bmp
	x 0
	y -5
	w -1
end

# left and right lines
object
	type bitmap
	source frame_lc.bmp
	x 0
	y 0
	h -1
end

object
	type bitmap
	source frame_rc.bmp
	x -4
	y 0
	h -1
end

# corners
object
	type bitmap
	source frame_lt.bmp
	x 0
	y 0
end

object
	type bitmap
	source frame_lb.bmp
	x 0
	y -5
end

object
	type bitmap
	source frame_rt.bmp
	x -4
	y 0
end

object
	type bitmap
	source frame_rb.bmp
	x -4
	y -5
end

# popup icon
object
	type icon
	x 6
	y 4
end

# avatar
object
	type avatar
	x -7
#	y -8
	y 4
	h 32
	proportional 1
end

object
	type clock
	source clock.png
	mono
	clocksize 5 6 9 9 9 9 9 9 9 9 9 9 0 0 5
	x window.width-clock.width-(2+avatar.width)*(avatar.width < 1)-5
	y 1
end

# popup title
object
	type title
	x 32
	y 4
	w window.width-32-clock.width-(2+avatar.width)*(avatar.width < 1)-7
end

# popup text
object
	type text
	x 32
	y 4+title.height
	w window.width-32-(2+avatar.width)*(avatar.width < 1)-7
end
