Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Can buttons be not-square?

Author
Message
Rich Dersheimer
AGK Developer
14
Years of Service
User Offline
Joined: 1st Jul 2009
Location: Inside the box
Posted: 22nd Aug 2011 20:40
The virtual button has a radius parameter, but it really needs horizontal size and vertical size parameters instead, 'cause sometimes I want a button that is rectangular, for example see the "center", "quote", "email", "image", "link", and "code" buttons when you post a message here.

If I use an image that has a non-square aspect for my button image, the button is clicked even when my pointer is in the "not shown" area that comprises the rest of the square size area.

So, how about non-square virtual buttons?

Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 22nd Aug 2011 21:21
Good idea, not sure why I didn't do that in the first place.
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 23rd Aug 2011 10:03
You could use sprites as the buttons.

My signature is NOT a moderator plaything! Stop changing it!
Rich Dersheimer
AGK Developer
14
Years of Service
User Offline
Joined: 1st Jul 2009
Location: Inside the box
Posted: 23rd Aug 2011 11:05
@Mobiius - yah, that works okay, but the functionality of a virtual button makes them easy to use.

Thraxas
Retired Moderator
18
Years of Service
User Offline
Joined: 8th Feb 2006
Location: The Avenging Axe, Turai
Posted: 23rd Aug 2011 12:17
Yes the virtual buttons are incredibly easy to set up and use.

Login to post a reply

Server time is: 2024-03-28 17:12:47
Your offset time is: 2024-03-28 17:12:47