CEImagesetEditor

Projects using CEGUI or any kind of implementation revolving around CEGUI - Post it here!
Showing off screenshots and giving a short description is highly encouraged!

Moderators: CEGUI MVP, CEGUI Team

User avatar
gcarlton
Just can't stay away
Just can't stay away
Posts: 149
Joined: Wed Jan 12, 2005 12:06

Postby gcarlton » Mon Apr 10, 2006 23:26

martignasse wrote:The solution i think about is to add a field with the base path who is automaticly updated with the path of the imageset when you load it, and is used as reference for the image file.

Hmm, I'm not sure that will work in my case. Consider this set of paths:
Base Dir = c:\projects\mygame\bin
Imageset Dir = c:\projects\mygame\bin\gui\imageset
File Referenced = "gui\imageset\mypic.tga"

The path of the imageset can't be used as a reference, it needs to be the base game path. Anything that automatically works would have to be a bit smart and work backwards from the imageset dir, although even this wouldn't work in the "..\datafiles" case.

User avatar
martignasse
Just can't stay away
Just can't stay away
Posts: 227
Joined: Thu Apr 14, 2005 08:10
Location: Lyon, FRANCE

Postby martignasse » Tue Apr 11, 2006 10:47

gcarlton wrote:
martignasse wrote:The solution i think about is to add a field with the base path who is automaticly updated with the path of the imageset when you load it, and is used as reference for the image file.

Hmm, I'm not sure that will work in my case. Consider this set of paths:
Base Dir = c:\projects\mygame\bin
Imageset Dir = c:\projects\mygame\bin\gui\imageset
File Referenced = "gui\imageset\mypic.tga"

The path of the imageset can't be used as a reference, it needs to be the base game path. Anything that automatically works would have to be a bit smart and work backwards from the imageset dir, although even this wouldn't work in the "..\datafiles" case.
no, no, i wanted to say has base dir, the dir of the imageset, not the dir where is you'r exe.

anyway, i can let the field editable too. Like that, you can modifi it, for example in the case you build the imageset from an image in a work dir(not the final dir).

User avatar
martignasse
Just can't stay away
Just can't stay away
Posts: 227
Joined: Thu Apr 14, 2005 08:10
Location: Lyon, FRANCE

Postby martignasse » Tue Apr 11, 2006 11:08

so, the story continue

a little update here to show you the beginning of the SkematicPane widget.

the only difference for the user is... the snapping to pixel is here :)

here a view on the changelog :

| 10/04/2006 :
| - added snapped to pixel fonctionnality(algorythm not perfect, but working).
|
| 09/04/2006 :
| - transfered some fonctions from GLCanvas to SkematicPane.
|
| 07/04/2006 :
| - SkematicPane widget structure okay, beginning properties and fonctions implementation.
|
| 06/04/2006 :
| - beginning the SkematicPane widget.


have fun.

User avatar
Evak
Not too shy to talk
Not too shy to talk
Posts: 32
Joined: Mon Apr 17, 2006 05:29
Contact:

Postby Evak » Sat Jun 10, 2006 18:11

I get an error with this build.

WindowFactoryManager::getFactory - A WindowFactory object, an alias. or mapping for 'Marti/SkematicPane' Windoe objects us not registered with the system.

the log has some exceptions.

Code: Select all

10/06/2006 11:06:29 (InfL1)   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
10/06/2006 11:06:29 (InfL1)   +                     Crazy Eddie's GUI System - Event log                    +
10/06/2006 11:06:29 (InfL1)   +                          (http://www.cegui.org.uk/)                         +
10/06/2006 11:06:29 (InfL1)   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

10/06/2006 11:06:29 (InfL1)   CEGUI::Logger singleton created.
10/06/2006 11:06:29 (InfL1)   ---- Begining CEGUI System initialisation ----
10/06/2006 11:06:29 (InfL1)   CEGUI::ImagesetManager singleton created
10/06/2006 11:06:29 (InfL1)   CEGUI::FontManager singleton created.
10/06/2006 11:06:29 (InfL1)   CEGUI::WindowFactoryManager singleton created
10/06/2006 11:06:29 (InfL1)   CEGUI::WindowManager singleton created
10/06/2006 11:06:29 (InfL1)   CEGUI::SchemeManager singleton created.
10/06/2006 11:06:29 (InfL1)   CEGUI::MouseCursor singleton created.
10/06/2006 11:06:29 (InfL1)   CEGUI::GlobalEventSet singleton created.
10/06/2006 11:06:29 (InfL1)   CEGUI::WidgetLookManager singleton created.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'DefaultWindow' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'DragContainer' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'ScrolledContainer' windows added.
10/06/2006 11:06:29 (InfL1)   Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
10/06/2006 11:06:29 (InfL1)   CEGUI::System singleton created.
10/06/2006 11:06:29 (InfL1)   ---- CEGUI System initialisation completed ----
10/06/2006 11:06:29 (InfL1)   ---- Version 0.4.1 ----
10/06/2006 11:06:29 (InfL1)   ---- Renderer module is: CEGUI::OpenGLRenderer - Official OpenGL based renderer module for CEGUI ----
10/06/2006 11:06:29 (InfL1)   ---- XML Parser module is: CEGUI::XercesParser - Official Xerces-C++ based parser module for CEGUI ----
10/06/2006 11:06:29 (InfL1)   ---- Scripting module is: None ----
10/06/2006 11:06:29 (InfL1)   Attempting to load Scheme from file '../datafiles/schemes/MartiSkin.scheme'.
10/06/2006 11:06:29 (InfL1)   XercesParser::initialiseSchema - Attempting to load schema from file 'GUIScheme.xsd'.
10/06/2006 11:06:29 (Error)   Exception: DefaultResourceProvider::load - GUIScheme.xsd does not exist
10/06/2006 11:06:29 (InfL1)   XercesParser::initialiseSchema - Attempting to load schema from file '../datafiles/schemes/GUIScheme.xsd'.
10/06/2006 11:06:29 (InfL1)   XercesParser::initialiseSchema - XML schema file 'GUIScheme.xsd' has been initialised.
10/06/2006 11:06:29 (InfL1)   Attempting to create an Imageset from the information specified in file '../datafiles/imagesets/Marti.imageset'.
10/06/2006 11:06:29 (InfL1)   XercesParser::initialiseSchema - Attempting to load schema from file 'Imageset.xsd'.
10/06/2006 11:06:29 (Error)   Exception: DefaultResourceProvider::load - Imageset.xsd does not exist
10/06/2006 11:06:29 (InfL1)   XercesParser::initialiseSchema - Attempting to load schema from file '../datafiles/imagesets/Imageset.xsd'.
10/06/2006 11:06:29 (InfL1)   XercesParser::initialiseSchema - XML schema file 'Imageset.xsd' has been initialised.
10/06/2006 11:06:29 (InfL1)   XercesParser::initialiseSchema - Attempting to load schema from file 'Falagard.xsd'.
10/06/2006 11:06:29 (Error)   Exception: DefaultResourceProvider::load - Falagard.xsd does not exist
10/06/2006 11:06:29 (InfL1)   XercesParser::initialiseSchema - Attempting to load schema from file '../datafiles/looknfeel/Falagard.xsd'.
10/06/2006 11:06:29 (InfL1)   XercesParser::initialiseSchema - XML schema file 'Falagard.xsd' has been initialised.
10/06/2006 11:06:29 (InfL1)   ===== Falagard 'root' element: look and feel parsing begins =====
10/06/2006 11:06:29 (InfL1)   ===== Look and feel parsing completed =====
10/06/2006 11:06:29 (InfL1)   No window factories specified for module 'CEGUIFalagardBase' - adding all available factories...
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/Button' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/Checkbox' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/ComboDropList' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/Combobox' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/Editbox' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/FrameWindow' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/ListHeader' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/ListHeaderSegment' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/Listbox' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/Menubar' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/MenuItem' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/MoveScaleBox' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/SkematicPane' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/MultiColumnList' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/MultiLineEditbox' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/PopupMenu' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/ProgressBar' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/RadioButton' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/ScrollablePane' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/Scrollbar' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/Slider' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/Spinner' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/StaticImage' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/StaticText' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/SystemButton' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/TabButton' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/TabControl' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/TabPane' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/Thumb' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/Titlebar' windows added.
10/06/2006 11:06:29 (InfL1)   WindowFactory for 'Falagard/Tooltip' windows added.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/Titlebar' using base type 'Falagard/Titlebar' and LookN'Feel 'Marti/Titlebar'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/FrameWindow' using base type 'Falagard/FrameWindow' and LookN'Feel 'Marti/FrameWindow'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/OutlineWindow' using base type 'Falagard/MoveScaleBox' and LookN'Feel 'Marti/MoveScaleBox'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/Editbox' using base type 'Falagard/Editbox' and LookN'Feel 'Marti/Editbox'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/VerticalScrollbarThumb' using base type 'Falagard/Thumb' and LookN'Feel 'Marti/VerticalScrollbarThumb'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/VerticalScrollbar' using base type 'Falagard/Scrollbar' and LookN'Feel 'Marti/VerticalScrollbar'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/HorizontalScrollbarThumb' using base type 'Falagard/Thumb' and LookN'Feel 'Marti/HorizontalScrollbarThumb'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/HorizontalScrollbar' using base type 'Falagard/Scrollbar' and LookN'Feel 'Marti/HorizontalScrollbar'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/StaticImage' using base type 'Falagard/StaticImage' and LookN'Feel 'Marti/StaticImage'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/StaticText' using base type 'Falagard/StaticText' and LookN'Feel 'Marti/StaticText'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/MultiLineEditbox' using base type 'Falagard/MultiLineEditbox' and LookN'Feel 'Marti/MultiLineEditbox'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/Tooltip' using base type 'Falagard/Tooltip' and LookN'Feel 'Marti/Tooltip'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/ScrollablePane' using base type 'Falagard/ScrollablePane' and LookN'Feel 'Marti/ScrollablePane'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/Button' using base type 'Falagard/Button' and LookN'Feel 'Marti/Button'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/ButtonUp' using base type 'Falagard/Button' and LookN'Feel 'Marti/ButtonUp'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/ButtonDown' using base type 'Falagard/Button' and LookN'Feel 'Marti/ButtonDown'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/ButtonLeft' using base type 'Falagard/Button' and LookN'Feel 'Marti/ButtonLeft'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/ButtonRight' using base type 'Falagard/Button' and LookN'Feel 'Marti/ButtonRight'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/CheckboxButton' using base type 'Falagard/Checkbox' and LookN'Feel 'Marti/CheckboxButton'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/RadioButton' using base type 'Falagard/RadioButton' and LookN'Feel 'Marti/RadioButton'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/IconButton' using base type 'Falagard/Button' and LookN'Feel 'Marti/IconButton'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/CloseButton' using base type 'Falagard/SystemButton' and LookN'Feel 'Marti/CloseButton'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/Spinner' using base type 'Falagard/Spinner' and LookN'Feel 'Marti/Spinner'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/TabButton' using base type 'Falagard/TabButton' and LookN'Feel 'Marti/TabButton'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/TabControl' using base type 'Falagard/TabControl' and LookN'Feel 'Marti/TabControl'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/TabPane' using base type 'Falagard/TabPane' and LookN'Feel 'Marti/TabPane'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/ListHeader' using base type 'Falagard/ListHeader' and LookN'Feel 'Marti/ListHeader'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/ListHeaderSegment' using base type 'Falagard/ListHeaderSegment' and LookN'Feel 'Marti/ListHeaderSegment'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/Listbox' using base type 'Falagard/Listbox' and LookN'Feel 'Marti/Listbox'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/MultiColumnList' using base type 'Falagard/MultiColumnList' and LookN'Feel 'Marti/MultiColumnList'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/Combobox' using base type 'Falagard/Combobox' and LookN'Feel 'Marti/Combobox'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/ComboDropList' using base type 'Falagard/ComboDropList' and LookN'Feel 'Marti/ComboDropList'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/Menubar' using base type 'Falagard/Menubar' and LookN'Feel 'Marti/Menubar'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/MenuItem' using base type 'Falagard/MenuItem' and LookN'Feel 'Marti/MenuItem'.
10/06/2006 11:06:29 (InfL1)   Creating falagard mapping for type 'Marti/PopupMenu' using base type 'Falagard/PopupMenu' and LookN'Feel 'Marti/PopupMenu'.
10/06/2006 11:06:29 (Error)   Exception: WindowFactoryManager::getFactory - A WindowFactory object, an alias, or mapping for 'Marti/SkematicPane' Window objects is not registered with the system.
10/06/2006 11:06:39 (Error)   Exception: WindowFactoryManager::getFactory - A WindowFactory object, an alias, or mapping for 'Marti/SkematicPane' Window objects is not registered with the system.
10/06/2006 11:06:39 (InfL1)   XercesParser::initialiseSchema - Attempting to load schema from file 'Imageset.xsd'.
10/06/2006 11:06:39 (Error)   Exception: DefaultResourceProvider::load - Imageset.xsd does not exist
10/06/2006 11:06:39 (InfL1)   XercesParser::initialiseSchema - Attempting to load schema from file 'C:\Copy of CEImagesetEditor\Tools\datafiles\imagesets\Imageset.xsd'.
10/06/2006 11:06:39 (InfL1)   XercesParser::initialiseSchema - XML schema file 'Imageset.xsd' has been initialised.
10/06/2006 11:06:39 (InfL1)   Attempting to create Imageset 'SketchBackgroundImage' using image file '../datafiles/imagesets/vanilla.tga'.


with the last version I wasn't able to load my own image sets even when copied to the local imageset editors directory tree in the right locations.


Return to “User Projects”

Who is online

Users browsing this forum: No registered users and 1 guest