AutoButton is a canvas based class that allows you to place icon buttons of any size, anywhere on a window.
With AutoButton you only have to supply one image. You need only add the image for the button`s enabled state to your project. AutoButton automatically generates pressed and disabled images using the enabled image. In addition, AutoButton takes care of masking for all 3 button states.