GrabContainer

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

bitten
Just popping in
Just popping in
Posts: 7
Joined: Mon Jul 31, 2006 15:47

GrabContainer

Postby bitten » Mon Jul 31, 2006 18:12

They can help me in the following error:
31/07/2006 12:46:13 (Error) Exception: WindowFactoryManager::getFactory - A WindowFactory object, an alias, or mapping for 'GrabContainer' Window objects is not registered with the system.

I am trying to create to grabcontainer to use drag/drop

Bitten

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Postby scriptkid » Mon Jul 31, 2006 18:26

Hi bitten,

welcome to the forum :-)

There is no such thing as a "GrabContainer". Did you mean "DragContainer"?

HTH.

bitten
Just popping in
Just popping in
Posts: 7
Joined: Mon Jul 31, 2006 15:47

Postby bitten » Mon Jul 31, 2006 18:51

It forgives. I typed wrong!

31/07/2006 15:48:32 (InfL1) Creating falagard mapping for type 'Neutral/ScrollButtonRight' using base type 'Falagard/Button' and LookN'Feel 'Neutral/ScrollButtonRight'.
31/07/2006 15:48:32 (InfL1) Creating falagard mapping for type 'Taikodom/DragContainer' using base type 'DragContainer' and LookN'Feel 'DragContainer'.
31/07/2006 15:48:32 (InfL1) Creating falagard mapping for type 'Login/DragContainer' using base type 'DragContainer' and LookN'Feel 'DragContainer'.
31/07/2006 15:48:32 (InfL1) Creating falagard mapping for type 'Neutral/DragContainer' using base type 'DragContainer' and LookN'Feel 'DragContainer'.
31/07/2006 15:48:32 (Error) Exception: WidgetLookManager::getWidgetLook - Widget look and feel 'DragContainer' does not exist.

file scheme:
<FalagardMapping WindowType="Taikodom/DragContainer" TargetType="DragContainer" LookNFeel="DragContainer" />
<FalagardMapping WindowType="Login/DragContainer" TargetType="DragContainer" LookNFeel="DragContainer" />
<FalagardMapping WindowType="Neutral/DragContainer" TargetType="DragContainer" LookNFeel="DragContainer" />

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

Postby CrazyEddie » Mon Jul 31, 2006 19:23

Hi,

It's saying that the 'WidgetLook', that is the skin imagery, named "DragContainer" does not exist. Unless you have created this yourself, it will not exist either, since none of our looknfeel files contain an entry for DragContainer either (i.e. you just create a DragContainer directly, by default there is no imagery associated with it, and so no mapping in the scheme is required).

HTH

CE.

bitten
Just popping in
Just popping in
Posts: 7
Joined: Mon Jul 31, 2006 15:47

Postby bitten » Mon Jul 31, 2006 19:44

It works. Thanks for the help.

bitten
Just popping in
Just popping in
Posts: 7
Joined: Mon Jul 31, 2006 15:47

Postby bitten » Wed Aug 02, 2006 21:51

another problem now!

created following scheme

Code: Select all

<FalagardMapping WindowType="Taikodom/DragIconButton" TargetType="DragContainer" LookNFeel="Taikodom/DragIconButton" />



e following looknfeel.

Code: Select all

<WidgetLook name="Taikodom/DragIconButton">
      <PropertyDefinition name="ImageIcon" redrawOnWrite="true" initialValue="set:Taikodom image:ButtonNormal" />
      <PropertyDefinition name="ImageStateMouse" redrawOnWrite="true" initialValue="set:Taikodom image:ButtonNormal" />
      <PropertyDefinition name="ImageStateComponent" redrawOnWrite="true" initialValue="set:Taikodom image:ButtonNormal" />
      <ImagerySection name="normal">
           <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>
                <ImageProperty name="ImageIcon" />
                <VertFormat type="Stretched" />
            <HorzFormat type="Stretched" />
            </ImageryComponent>
           
        </ImagerySection>
       <StateImagery name="Enabled" >
         <Layer>
            <Section section="normal" />
         </Layer>
      </StateImagery>
      <StateImagery name="Disabled" >
         <Layer>
            <Section section="normal" />
         </Layer>
      </StateImagery>
   </WidgetLook>



But nao eh drawn nothing. The DragContainer can receive image?

no exists errors in cegui.log

Thanks
Bitten[/code]


Return to “Help”

Who is online

Users browsing this forum: No registered users and 11 guests