0.6->0.7 Dim problem

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

kili
Not too shy to talk
Not too shy to talk
Posts: 45
Joined: Fri Apr 27, 2007 06:17

0.6->0.7 Dim problem

Postby kili » Thu Oct 22, 2009 11:32

Hi,

this is a FrameWindow in CELayoutEditor with CEGUI0.7(svn trunk 10/19)
Image

this is a FrameWindow in CELayoutEditor with CEGUI0.62b
Image

if i change this : (FrameWindow in looknfeel)

Code: Select all

<NamedArea name="ClientWithTitleWithFrame">
         <Area>
            <Dim type="LeftEdge" >
               <ImageDim imageset="MIPUI_Part" image="WindowTopLeft" dimension="Width" />
            </Dim>
            <Dim type="TopEdge" >
               <WidgetDim widget="__auto_titlebar__" dimension="BottomEdge">
                  <DimOperator op="Subtract">
                     <AbsoluteDim value="4" />
                  </DimOperator>
               </WidgetDim>
            </Dim>
            <Dim type="RightEdge" >
               <UnifiedDim scale="1" type="RightEdge">
                  <DimOperator op="Subtract">
                     <ImageDim imageset="MIPUI_Part" image="WindowTopRight" dimension="Width" />
                  </DimOperator>
               </UnifiedDim>
            </Dim>
            <Dim type="BottomEdge" >
               <UnifiedDim scale="1" type="BottomEdge">
                  <DimOperator op="Subtract">
                     <ImageDim imageset="MIPUI_Part" image="WindowBottomEdge" dimension="Height" />
                  </DimOperator>
               </UnifiedDim>
            </Dim>
         </Area>
      </NamedArea>



to

Code: Select all

<NamedArea name="ClientWithTitleWithFrame">
         <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>
      </NamedArea>


the FrameWindow goes fine as 0.6, is there anything wrong in DimOperator?

ps. I use the same datafiles folder.

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

Re: 0.6->0.7 Dim problem

Postby CrazyEddie » Fri Oct 23, 2009 09:50

Which search terms did you try?

I found that searching for 'framewindow' (since that's where the issue is) came up with a topic that discusses the same issue, the reasons behind it, and a couple of options for how to get around it.

HTH

CE.

kili
Not too shy to talk
Not too shy to talk
Posts: 45
Joined: Fri Apr 27, 2007 06:17

Re: 0.6->0.7 Dim problem

Postby kili » Mon Oct 26, 2009 02:07

I searched "DimOperator".
Thanks a lot for your help! :)


Return to “Help”

Who is online

Users browsing this forum: No registered users and 24 guests