function ButtonIcon(parent)
{
	Button.call(this, parent);

	/**
	 * Icon of the button displayed in the middle.
	 * 
	 * @attribute icon
	 * @type {Component}
	 */
	this.icon = document.createElement("img");
	this.icon.style.pointerEvents = "none";
	this.icon.style.position = "absolute";
	this.icon.style.top = "15%";
	this.icon.style.left = "15%";
	this.icon.style.width = "70%";
	this.icon.style.height = "70%";
	this.element.appendChild(this.icon);
}
Button with a centered icon.

@class ButtonIconToggle
@extends {Button}
@param {Component} parent Parent element.