Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (degenerate_762, AndrewAMD), 846 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
button behaviour update #353778
01/12/11 21:22
01/12/11 21:22
Joined: Mar 2006
Posts: 2,252
Hummel Offline OP
Expert
Hummel  Offline OP
Expert

Joined: Mar 2006
Posts: 2,252
Hi,
I think it´s eventually time to rework the old button behaviour to make it more Windows-like.

Actually this is something I dont want to spend time in as a developer who is using GS to avoid such kind of work.
On the other hand I´m sure can implement that away easier and more efficient directly into the engine. wink

Grüße

Re: button behaviour update [Re: Hummel] #353779
01/12/11 21:23
01/12/11 21:23
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Signed.

Re: button behaviour update [Re: HeelX] #353780
01/12/11 21:26
01/12/11 21:26
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
Some guys in black dresses with big guns told me to be "+1" on this request D:
Edit: Oh and they also told me that I will go straight to hell (thats the place where Frau von der Layen reads "Märchen" the whole day and shakira makes "music") when the feature doesn't get implemented. So please don't let me suffer this and do Hummel a favor!

Last edited by JustSid; 01/12/11 21:28.

Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: button behaviour update [Re: WretchedSid] #353795
01/12/11 23:29
01/12/11 23:29
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
Signed. I wonder if it'd be useful for a forum to have a "ditto" button on each post -- HeelX would be the first to say "signed" and then it would say "2 users ditto this post".

I feel like I'm spamming when I just say "signed", but I really want to help make it apparent that a bunch of people would like this feature.

Jibb


Formerly known as JulzMighty.
I made KarBOOM!
Re: button behaviour update [Re: JibbSmart] #353799
01/13/11 00:22
01/13/11 00:22
Joined: Jul 2008
Posts: 1,178
England
M
MrGuest Offline
Serious User
MrGuest  Offline
Serious User
M

Joined: Jul 2008
Posts: 1,178
England
Or if you want to just follow the facebook route... 4 people Like this

Re: button behaviour update [Re: MrGuest] #353831
01/13/11 13:43
01/13/11 13:43
Joined: May 2007
Posts: 2,043
Germany
Lukas Offline

Programmer
Lukas  Offline

Programmer

Joined: May 2007
Posts: 2,043
Germany
I agree. I've always hated the GS buttons, which is why I always programmed my buttons myself and created LBGUI last year. But they all use their own panel, which is surely inefficient compared to normal GS buttons.

Now that we're at it, you could also add the possibility to add texts to buttons that can change their color or position when the mouse is above or clicking the button. That would be very useful if you have many buttons with the same background bitmap but different texts, so you don't have to create own bitmaps for each button.

Re: button behaviour update [Re: Lukas] #353840
01/13/11 15:08
01/13/11 15:08
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
Originally Posted By: Lukas
Now that we're at it, you could also add the possibility to add texts to buttons that can change their color or position when the mouse is above or clicking the button. That would be very useful if you have many buttons with the same background bitmap but different texts, so you don't have to create own bitmaps for each button.
A big thumb-up for that! Almost every button in my game has some text associated with it (that I place with a digits element). It makes sense for buttons to have their own text property with colour and offset values.

I'd say the button definition itself shouldn't change (for backwards-compatibility's sake), but add functions that activate this extra functionality (like text, font, colour depending on button state [hover, active, inactive]), and we can call these functions in a startup-function.

Jibb


Formerly known as JulzMighty.
I made KarBOOM!
Re: button behaviour update [Re: JibbSmart] #353874
01/13/11 18:18
01/13/11 18:18
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
I might be mistaken here but as far as I know the panel syntax uses the c-script compiler and thus won't be changed anymore.

Re: button behaviour update [Re: Joey] #353878
01/13/11 18:42
01/13/11 18:42
Joined: May 2007
Posts: 2,043
Germany
Lukas Offline

Programmer
Lukas  Offline

Programmer

Joined: May 2007
Posts: 2,043
Germany
Well, if the additional information (text, etc.) would be added later by a function like Julz suggested, there won't be any problem. wink


Moderated by  aztec, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1