what about an utility to edit *.imageset files

Help and discussion regarding skinning, themes, and other artistic content.

Moderators: CEGUI MVP, CEGUI Team

User avatar
centipede
Quite a regular
Quite a regular
Posts: 58
Joined: Thu Jun 30, 2005 10:36
Contact:

Postby centipede » Sat Mar 25, 2006 12:35

Yep, now it's starting properly.

Have you dissected it since your last screenshot? I can't get it to load an image for the imageset and though I can create new entries in the imageset list, I have no clue how to actually drag up a coordinate set in the window. Perhaps related to the missing image problem.

Problem description:
1) First I specify a dummy title for the skin in the top editbox ("sdfklsdf")
2) Then I click the [...] button for the image file. A filerequester pops up, and I move to the ../datafiles/imageset files and click on on of the .png files ("Marti_imageset.png" or "skinBackground.png").
3) The filedialog closes, and the filepath shows in the editbox left of the [...] buton. However the image-area of the program isn't updated at all. I can tell because it contains the graphical remnants of the filedialog.


P.S.: To the confused world around us: Yes, there are between two and three people working on exactly the same thing. Don't be confused, rejoice! The chances of at least one success (perhaps preceded by a merge) are better than they were a month ago...

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 » Sun Mar 26, 2006 14:44

well, in fact, the version provided here as only one thing available : load an image set.
out of that, you can play with regions on the image but the grid isn't updated.

to move the whole thing, right clik and drag on the view.
to zoom, the mousewheel is here.

i'm progressing very slowly and for now, fighting with event nightmare between wxwidgets, cegui and the document/view pattern.

User avatar
centipede
Quite a regular
Quite a regular
Posts: 58
Joined: Thu Jun 30, 2005 10:36
Contact:

Postby centipede » Sun Mar 26, 2006 16:48

Sorry to hear that. Besides it is surprising as cegui is such a slave-mode animal to work with.

I'm making steady progress. For now I will concentrate on a simple scheme, but here's a comment from my code where I ponder a bit on a more advanced scheme for specifying look'n'feel dimensions. Perhaps it could be of some use to somebody (were it not for the fact that my analysis is unfinished)

Code: Select all

/// Falagard dimension operators are applied as a cascading sequence of
///  dimension operations. Expressed as a formula:
///
///   D = (D1 op1 (D2 op2 (D3 op3 (D4...))))
///
///  This simplifies things a bit: Make a list of Dims and the operator that gets applied
///  and for user-friendliness put it in reverse order...
///
///        D3               WidgetDim ("__auto_titlebar", "BottomEdge")
///    op2 D2           +   AbsoluteDim (10)
///    op1 D1           *   AbsoluteDim (2)
///
///  Then let the user select an entry on the list. This specific part of the list becomes
///  the only variable part. What the user adjusts by moving grid-lines is the result
///  of the calculation. We need to reverse this result unambigously to a value which can be
///  put back in the calculation list. Example
///
///    Element size: 100 x 100
///    Coordinate of Y-gridline #2:     UnifiedDim  (0.5,0)
///                                 -   AbsoluteDim (22)
///                                 =   0.5*100-22 = 28
///
///      At time N, the grid-line has pixel-coord 28. The user moves it to position 40
///    after having selected "UnifiedDim..." and somehow also the translate-part of the unified dim
///    (I imagine a popup-window comes up asking if the scale or the translate part should be modified)
///    Now the system will have to deduce the new value somehow which ofcourse should be:
///
///               40 = (x*100+0) - 22
///                  =  x*100 - 22
///         <==>   x = 62/100 = 0.62
///
/// (In the following notation, I will assume that parentheses are inserted as if all
///  operators were right-associative and of the same precedence.)
///
///  Suggestion for algorithm: Say we want to work on the parameter for Dj in the expression:
///
///         D = .... <operator-i> Di <operator-j> Dj <operator-k> Dk ....
///
///  Since all the values, Di, for i<>N are actually fixed figures, we can find their value at any
///  moment and freeze it. Then we have a simple algebraic problem:
///
///  Dafter  = Dk ( <operator-l> Dl ... )
///  Dbefore = D0 ( <operator-1> D1 ... <operator-i> Di )
///  D       = Dbefore <operator-j> Dj <operator-k> Dafter
/// 
///  Hmm. I'm stuck here for the time being. Gotta' figure out how to work the equation
///  when the operators work the way they do.
///

User avatar
centipede
Quite a regular
Quite a regular
Posts: 58
Joined: Thu Jun 30, 2005 10:36
Contact:

Postby centipede » Sun Mar 26, 2006 20:07

The end of the story from the post above is that it becomes necessary to apply the inverse operation of all the 1..i first operations before any tricks can be applied. Never mind. I'll deal with it - later.

Things are coming together slowly:

http://artcamilla.dk/centipede/vaultage ... -0.2.4.zip

User avatar
centipede
Quite a regular
Quite a regular
Posts: 58
Joined: Thu Jun 30, 2005 10:36
Contact:

Postby centipede » Sun Mar 26, 2006 22:15

Ok folks, that's all from me for now. This version has a lot of hardwired stuff in it - you can forget about all I said above, that's a task for the future (and probably also somebody else). But the foundations have been laid:

http://artcamilla.dk/centipede/vaultage ... -0.2.5.zip

It still doesn't generate complete imageset/looknfeel files, however the files that is being generated can be used as a start if somebody wants to make the rest by hand. Although I must advice against it! The looknfeel file is 600kb which clearly shows that they were never meant to be handcoded in the first place.

Nnnndddd.d. Instructions coming tomorrow. You ain't using it anyway 8)

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 » Mon Mar 27, 2006 11:58

updated the CEImagesetEditor.zip with a new exe file.

User avatar
centipede
Quite a regular
Quite a regular
Posts: 58
Joined: Thu Jun 30, 2005 10:36
Contact:

Postby centipede » Mon Mar 27, 2006 15:59

..it crashes. CEGUI.log says:

Code: Select all

27/03/2006 17:55:49 (InfL1)   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
27/03/2006 17:55:49 (InfL1)   +                     Crazy Eddie's GUI System - Event log                    +
27/03/2006 17:55:49 (InfL1)   +                          (http://www.cegui.org.uk/)                         +
27/03/2006 17:55:49 (InfL1)   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

27/03/2006 17:55:49 (InfL1)   CEGUI::Logger singleton created.
27/03/2006 17:55:49 (InfL1)   ---- Begining CEGUI System initialisation ----
27/03/2006 17:55:49 (InfL1)   CEGUI::ImagesetManager singleton created
27/03/2006 17:55:49 (InfL1)   CEGUI::FontManager singleton created.
27/03/2006 17:55:49 (InfL1)   CEGUI::WindowFactoryManager singleton created
27/03/2006 17:55:49 (InfL1)   CEGUI::WindowManager singleton created
27/03/2006 17:55:49 (InfL1)   CEGUI::SchemeManager singleton created.
27/03/2006 17:55:49 (InfL1)   CEGUI::MouseCursor singleton created.
27/03/2006 17:55:49 (InfL1)   CEGUI::GlobalEventSet singleton created.
27/03/2006 17:55:49 (InfL1)   CEGUI::WidgetLookManager singleton created.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'DefaultWindow' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'DragContainer' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'ScrolledContainer' windows added.
27/03/2006 17:55:49 (InfL1)   Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
27/03/2006 17:55:49 (InfL1)   CEGUI::System singleton created.
27/03/2006 17:55:49 (InfL1)   ---- CEGUI System initialisation completed ----
27/03/2006 17:55:49 (InfL1)   ---- Version 0.4.1 ----
27/03/2006 17:55:49 (InfL1)   ---- Renderer module is: CEGUI::OpenGLRenderer - Official OpenGL based renderer module for CEGUI ----
27/03/2006 17:55:49 (InfL1)   ---- XML Parser module is: CEGUI::XercesParser - Official Xerces-C++ based parser module for CEGUI ----
27/03/2006 17:55:49 (InfL1)   ---- Scripting module is: None ----
27/03/2006 17:55:49 (InfL1)   Attempting to load Scheme from file '../datafiles/schemes/MartiSkin.scheme'.
27/03/2006 17:55:49 (InfL1)   XercesParser::initialiseSchema - Attempting to load schema from file 'GUIScheme.xsd'.
27/03/2006 17:55:49 (Error)   Exception: DefaultResourceProvider::load - GUIScheme.xsd does not exist
27/03/2006 17:55:49 (InfL1)   XercesParser::initialiseSchema - Attempting to load schema from file '../datafiles/schemes/GUIScheme.xsd'.
27/03/2006 17:55:49 (InfL1)   XercesParser::initialiseSchema - XML schema file 'GUIScheme.xsd' has been initialised.
27/03/2006 17:55:49 (InfL1)   Attempting to create an Imageset from the information specified in file '../datafiles/imagesets/Marti.imageset'.
27/03/2006 17:55:49 (InfL1)   XercesParser::initialiseSchema - Attempting to load schema from file 'Imageset.xsd'.
27/03/2006 17:55:49 (Error)   Exception: DefaultResourceProvider::load - Imageset.xsd does not exist
27/03/2006 17:55:49 (InfL1)   XercesParser::initialiseSchema - Attempting to load schema from file '../datafiles/imagesets/Imageset.xsd'.
27/03/2006 17:55:49 (InfL1)   XercesParser::initialiseSchema - XML schema file 'Imageset.xsd' has been initialised.
27/03/2006 17:55:49 (InfL1)   XercesParser::initialiseSchema - Attempting to load schema from file 'Falagard.xsd'.
27/03/2006 17:55:49 (Error)   Exception: DefaultResourceProvider::load - Falagard.xsd does not exist
27/03/2006 17:55:49 (InfL1)   XercesParser::initialiseSchema - Attempting to load schema from file '../datafiles/looknfeel/Falagard.xsd'.
27/03/2006 17:55:49 (InfL1)   XercesParser::initialiseSchema - XML schema file 'Falagard.xsd' has been initialised.
27/03/2006 17:55:49 (InfL1)   ===== Falagard 'root' element: look and feel parsing begins =====
27/03/2006 17:55:49 (InfL1)   ===== Look and feel parsing completed =====
27/03/2006 17:55:49 (InfL1)   No window factories specified for module 'CEGUIFalagardBase' - adding all available factories...
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/Button' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/Checkbox' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/ComboDropList' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/Combobox' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/Editbox' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/FrameWindow' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/ListHeader' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/ListHeaderSegment' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/Listbox' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/Menubar' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/MenuItem' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/MultiColumnList' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/MultiLineEditbox' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/PopupMenu' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/ProgressBar' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/RadioButton' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/ScrollablePane' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/Scrollbar' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/Slider' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/Spinner' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/StaticImage' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/StaticText' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/SystemButton' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/TabButton' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/TabControl' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/TabPane' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/Thumb' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/Titlebar' windows added.
27/03/2006 17:55:49 (InfL1)   WindowFactory for 'Falagard/Tooltip' windows added.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/Titlebar' using base type 'Falagard/Titlebar' and LookN'Feel 'Marti/Titlebar'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/FrameWindow' using base type 'Falagard/FrameWindow' and LookN'Feel 'Marti/FrameWindow'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/OutlineWindow' using base type 'Falagard/FrameWindow' and LookN'Feel 'Marti/OutlineWindow'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/Editbox' using base type 'Falagard/Editbox' and LookN'Feel 'Marti/Editbox'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/VerticalScrollbarThumb' using base type 'Falagard/Thumb' and LookN'Feel 'Marti/VerticalScrollbarThumb'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/VerticalScrollbar' using base type 'Falagard/Scrollbar' and LookN'Feel 'Marti/VerticalScrollbar'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/HorizontalScrollbarThumb' using base type 'Falagard/Thumb' and LookN'Feel 'Marti/HorizontalScrollbarThumb'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/HorizontalScrollbar' using base type 'Falagard/Scrollbar' and LookN'Feel 'Marti/HorizontalScrollbar'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/StaticImage' using base type 'Falagard/StaticImage' and LookN'Feel 'Marti/StaticImage'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/StaticText' using base type 'Falagard/StaticText' and LookN'Feel 'Marti/StaticText'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/MultiLineEditbox' using base type 'Falagard/MultiLineEditbox' and LookN'Feel 'Marti/MultiLineEditbox'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/Tooltip' using base type 'Falagard/Tooltip' and LookN'Feel 'Marti/Tooltip'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/ScrollablePane' using base type 'Falagard/ScrollablePane' and LookN'Feel 'Marti/ScrollablePane'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/Button' using base type 'Falagard/Button' and LookN'Feel 'Marti/Button'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/ButtonUp' using base type 'Falagard/Button' and LookN'Feel 'Marti/ButtonUp'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/ButtonDown' using base type 'Falagard/Button' and LookN'Feel 'Marti/ButtonDown'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/ButtonLeft' using base type 'Falagard/Button' and LookN'Feel 'Marti/ButtonLeft'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/ButtonRight' using base type 'Falagard/Button' and LookN'Feel 'Marti/ButtonRight'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/CheckboxButton' using base type 'Falagard/Checkbox' and LookN'Feel 'Marti/CheckboxButton'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/RadioButton' using base type 'Falagard/RadioButton' and LookN'Feel 'Marti/RadioButton'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/IconButton' using base type 'Falagard/Button' and LookN'Feel 'Marti/IconButton'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/CloseButton' using base type 'Falagard/SystemButton' and LookN'Feel 'Marti/CloseButton'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/Spinner' using base type 'Falagard/Spinner' and LookN'Feel 'Marti/Spinner'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/TabButton' using base type 'Falagard/TabButton' and LookN'Feel 'Marti/TabButton'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/TabControl' using base type 'Falagard/TabControl' and LookN'Feel 'Marti/TabControl'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/TabPane' using base type 'Falagard/TabPane' and LookN'Feel 'Marti/TabPane'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/ListHeader' using base type 'Falagard/ListHeader' and LookN'Feel 'Marti/ListHeader'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/ListHeaderSegment' using base type 'Falagard/ListHeaderSegment' and LookN'Feel 'Marti/ListHeaderSegment'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/Listbox' using base type 'Falagard/Listbox' and LookN'Feel 'Marti/Listbox'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/MultiColumnList' using base type 'Falagard/MultiColumnList' and LookN'Feel 'Marti/MultiColumnList'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/Combobox' using base type 'Falagard/Combobox' and LookN'Feel 'Marti/Combobox'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/ComboDropList' using base type 'Falagard/ComboDropList' and LookN'Feel 'Marti/ComboDropList'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/Menubar' using base type 'Falagard/Menubar' and LookN'Feel 'Marti/Menubar'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/MenuItem' using base type 'Falagard/MenuItem' and LookN'Feel 'Marti/MenuItem'.
27/03/2006 17:55:49 (InfL1)   Creating falagard mapping for type 'Marti/PopupMenu' using base type 'Falagard/PopupMenu' and LookN'Feel 'Marti/PopupMenu'.
27/03/2006 17:55:49 (InfL1)   Attempting to create Font from the information specified in file '../datafiles/fonts/arial-12.font'.
27/03/2006 17:55:49 (InfL1)   XercesParser::initialiseSchema - Attempting to load schema from file 'Font.xsd'.
27/03/2006 17:55:49 (Error)   Exception: DefaultResourceProvider::load - Font.xsd does not exist
27/03/2006 17:55:49 (InfL1)   XercesParser::initialiseSchema - Attempting to load schema from file '../datafiles/fonts/Font.xsd'.
27/03/2006 17:55:49 (InfL1)   XercesParser::initialiseSchema - XML schema file 'Font.xsd' has been initialised.
27/03/2006 17:55:49 (InfL1)   Attempting to create Imageset 'arial-12_auto_glyph_images' with texture only.
27/03/2006 17:55:49 (InfL2)   Window 'Root' of type 'Marti/StaticImage' has been created.
27/03/2006 17:55:49 (InfL2)   Assigning LookNFeel 'Marti/StaticImage' to window 'Root'.
27/03/2006 17:55:49 (InfL2)   Window 'Image' of type 'Marti/StaticImage' has been created.
27/03/2006 17:55:49 (InfL2)   Assigning LookNFeel 'Marti/StaticImage' to window 'Image'.

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 » Mon Mar 27, 2006 16:38

..it crashes. CEGUI.log says:
when exactly, at a specific action ?

i know there are some case, like renaming a region in the grid.

the errors complaining in the log file are about xerces validation files, and don't crash the application.

User avatar
centipede
Quite a regular
Quite a regular
Posts: 58
Joined: Thu Jun 30, 2005 10:36
Contact:

Postby centipede » Mon Mar 27, 2006 17:35

Sorry, it crashes after having filled in a random name and: Opened the filedialog, selected a .tga file and pressed ok.

User avatar
centipede
Quite a regular
Quite a regular
Posts: 58
Joined: Thu Jun 30, 2005 10:36
Contact:

Postby centipede » Tue Mar 28, 2006 07:27

My turn :)

http://artcamilla.dk/centipede/vaultage ... -0.2.6.zip

Added checkboxes to limit the amount of stuff saved to the looknfeel file. Elements and their StateImagery defaults to off now. This is the first step towards making useful files for testing with CEGUI/TestaSkin.

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 Mar 28, 2006 10:42

centipede wrote:Sorry, it crashes after having filled in a random name and: Opened the filedialog, selected a .tga file and pressed ok.
and surly without having opened a new doc before... properties fields should normaly be disabled when no documents are created or loaded (not yet implemented).
hum hum, in fact, for now, creating new document is buggy to :oops:

thanks for the feedback :)

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 Mar 28, 2006 10:52

centipede wrote:My turn :)

http://artcamilla.dk/centipede/vaultage ... -0.2.6.zip

Added checkboxes to limit the amount of stuff saved to the looknfeel file. Elements and their StateImagery defaults to off now. This is the first step towards making useful files for testing with CEGUI/TestaSkin.
Another way of reducing the looknfeel size is to take advantage of the "public ImagerySection" to avoid redundant definition, but it require modifs on how you handle that in you'r app.

User avatar
centipede
Quite a regular
Quite a regular
Posts: 58
Joined: Thu Jun 30, 2005 10:36
Contact:

Postby centipede » Wed Mar 29, 2006 09:40

Thanks for the tip. I'll optimize later on. Funny how the only people testing the developers' tools are the developers of competing tools HAHAHA! Symptom of a good environment.

http://artcamilla.dk/centipede/vaultage ... -0.2.7.zip

Now it actually saves scheme+windowaliases+imageset+looknfeel files, though the latter is rather hollow, so not really useful with Testaskin yet - it doesn't complain about the files though, as long as I stick to a button.

The first chore is going to be to get a simple button working. The next part will probably be to add functionality to handle placement of generic areas, subchildren and finally implement the complicated method of working with Falagards' dimension-calculations scheme

.. oh and ofcourse adding a 'Load' function :?

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 » Wed Mar 29, 2006 10:07

Funny how the only people testing the developers' tools are the developers of competing tools HAHAHA! Symptom of a good environment.
i'm sure will have lot of users ready to play with.... when we arrive to make some descent tools :wink:

speaking of competition, you steal my update day :lol: :wink:

so here is my update :

http://mfleurent.free.fr/CEGUI/CEImagesetEditor.zip

it begin to be pretty usuable, the saving isn't clean for now.
look at readme file for further info.

User avatar
tuan kuranes
Just popping in
Just popping in
Posts: 15
Joined: Thu Mar 16, 2006 17:05
Location: Grenoble, France
Contact:

Postby tuan kuranes » Wed Mar 29, 2006 20:19

@martignasse:
Modified your version to avoid need of cegui patching (filename bug and outline window), and even update.

Save/load is working too.

http://tuan.kuranes.free.fr/ImagesetEditor.zip

I'm thinking of adding key press + mouse move to switch scale/move window. Would be more productive than high precision click on 2pixel border when doing it repeativly...

Button linked to Reload/save/save as/recent files would be the really needed next step.

Could be mixed with your code using cfg option, outline window support or dll version check)


Return to “Skins and Themes”

Who is online

Users browsing this forum: No registered users and 10 guests