button help

Started by
10 comments, last by Oluseyi 16 years, 1 month ago
This mite help. I have a simple button class implemented in my graphics engine that you are welcome to use as an example. It does the 2 pixel down to the right to make the button feel like it was pressed.

Black CloakEpee Engine.
Advertisement
Quote:Original post by iamspecial
iam waiting :)

Normal Resolution:



Magnified 6X:



A rectangle the same size as the button is overlaid offset by 2 pixels up and left (which has the visual effect of making the button seem to have moved down and right, or "into" the page with the right perspective). The whole image is then cropped to that new rectangle, hiding the lower and right parts of the button, completing the illusion.

This topic is closed to new replies.

Advertisement