Falagard with Slider and Combobox

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
SupSuper
Just popping in
Just popping in
Posts: 17
Joined: Mon Feb 07, 2005 16:17
Location: Portugal
Contact:

Falagard with Slider and Combobox

Postby SupSuper » Wed Aug 24, 2005 16:12

I'm using Falagard from CVS Head (it's awesome), but I've ran into some problems:
- I made a horizontal version of the TL Slider, but it works backwards (thumb to the right = 0, thumb to the left = 1).
- I made a combobox, but its right-side button doesn't update when Pushed (even though it's got StateImagery for Pushed).

How do I fix these?

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Falagard with Slider and Combobox

Postby CrazyEddie » Thu Aug 25, 2005 08:27

Hi,

The slider issue is a bug, so thanks for reporting that :) This should get fixed within 24 hrs.

For the Combobox issue, are you talking about the button or something else? You may need to post the XML.

User avatar
SupSuper
Just popping in
Just popping in
Posts: 17
Joined: Mon Feb 07, 2005 16:17
Location: Portugal
Contact:

Re: Falagard with Slider and Combobox

Postby SupSuper » Thu Aug 25, 2005 17:18

For the Combobox issue, are you talking about the button or something else? You may need to post the XML.
I'm talking about the button with the Down arrow on the combobox. This is my XML for it:

Code: Select all

    <WidgetLook name="XenoLook/Button/Down">
   <ImagerySection name="down_off">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
          <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <Image imageset="XenoLook/Button" image="DownArrow/On" />
                <VertFormat type="CentreAligned" />
                <HorzFormat type="RightAligned" />
            </ImageryComponent>
        </ImagerySection>
   <ImagerySection name="down_on">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
          <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <Image imageset="XenoLook/Button" image="DownArrow/Off" />
                <VertFormat type="CentreAligned" />
                <HorzFormat type="RightAligned" />
            </ImageryComponent>
        </ImagerySection>

   <StateImagery name="Normal">
            <Layer>
                <Section look="XenoLook/ButtonShared" section="left hard" />
                <Section look="XenoLook/ButtonShared" section="main area" />
                <Section look="XenoLook/ButtonShared" section="right round/hard" />
            </Layer>
         <Layer priority="1">
            <Section look="XenoLook/ButtonShared" section="bar right" />
            <Section section="down_off" />
         </Layer>
        </StateImagery>
        <StateImagery name="Pushed">
            <Layer>
                <Section look="XenoLook/ButtonShared" section="left hard" />
                <Section look="XenoLook/ButtonShared" section="main area" />
                <Section look="XenoLook/ButtonShared" section="right round/hard" />
            </Layer>
         <Layer priority="1">
            <Section look="XenoLook/ButtonShared" section="bar right" />
            <Section section="down_on" />
         </Layer>
         <Layer priority="2">
            <Section look="XenoLook/ButtonShared" section="glow right" />
         </Layer>   
        </StateImagery>
    </WidgetLook>

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Falagard with Slider and Combobox

Postby CrazyEddie » Fri Aug 26, 2005 09:10

Hi,

It turns out that this is the way the system works at the moment - the button for a combobox never gets drawn in the pushed state (not a bug as such, but just a result of the way the internals for Combobox are wired).

I'll have a look and see if it's possible to easily rectify this, though make no promises at this time.

At least you know it's not your XML at fault ;)

oli
Just popping in
Just popping in
Posts: 2
Joined: Wed Jul 20, 2011 11:34

Re: Falagard with Slider and Combobox

Postby oli » Wed Jul 20, 2011 11:47

Hi,

I ran into exactly the same issue with the combobox (pushed state never gets drawn). Is there any progress or does anyone have a workaround for this issue? The expected behavior to me would be that the button displays the pushed imagery during the click event and as long as the droplist is visible. Some time ago a looked into this issue and found the reason for this is that the combobox image button never actually gets its internal state set to pushed.

Any help or suggestions on this would be appreciated!

User avatar
Mikademus
CEGUI MVP
CEGUI MVP
Posts: 130
Joined: Wed Mar 18, 2009 19:14

Re: Falagard with Slider and Combobox

Postby Mikademus » Wed Jul 20, 2011 18:27

It this behaviour is still present in 0.7.x it might be worthwhile to open a bug ticket in the tracker. I understand that is the fastest way to get the team to get on a problem.

oli
Just popping in
Just popping in
Posts: 2
Joined: Wed Jul 20, 2011 11:34

Re: Falagard with Slider and Combobox

Postby oli » Thu Jul 21, 2011 13:07

OK, thanks! Opened a new ticked: http://www.cegui.org.uk/mantis/view.php?id=522


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 6 guests