Pushbutton stays in push state until next mouse clic

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

franckypoune
Just popping in
Just popping in
Posts: 18
Joined: Tue Apr 18, 2006 08:19

Pushbutton stays in push state until next mouse clic

Postby franckypoune » Mon Sep 11, 2006 21:00

Any way to implement a push button which stays in the state "Push" till the next clic on it?
Thanks in advance for your help.

User avatar
lindquist
CEGUI Team (Retired)
Posts: 770
Joined: Mon Jan 24, 2005 21:20
Location: Copenhagen, Denmark

Postby lindquist » Tue Sep 12, 2006 04:08

You will need to write a custom WindowRenderer. You can use FalagardButton as base

HTH

User avatar
Gaal
Not too shy to talk
Not too shy to talk
Posts: 28
Joined: Thu Jul 21, 2005 03:36
Location: Ô Toulouse

Postby Gaal » Tue Sep 12, 2006 06:08

Or you can make another looknfeel for the Checkbox (let's say CheckPushbutton). It is what I've done for a "RadioPushbutton"
It is much easier !


Return to “Help”

Who is online

Users browsing this forum: No registered users and 17 guests