Hello, i encountered some 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

cutenoob
Not too shy to talk
Not too shy to talk
Posts: 23
Joined: Tue Jul 11, 2006 02:28
Location: Shanghai

Hello, i encountered some problem....

Postby cutenoob » Sun Aug 06, 2006 14:15

i wanna make my own window skin now, and when i read the TaharezLook.imageset file, There're some Image Name in the TaharezLook.imageset i dont understand..

what's the different between Titlebar and NewTitlebar ?

what's SysAreaMiddle and SysAreaRight ?

another question, if some window in the current cegui i dont want to use ,should i remove the correlative window's code in xxxlook.looknfeel ? that means i can create custom xxxlook.looknfeel ?(just copy the TaharezLook.looknfeel to mylook.looknfeel and do small change) :idea: :idea:

if you known something tell me :) :)
thanks

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

Postby CrazyEddie » Sun Aug 06, 2006 17:47

The difference between Titlebar and NewTitlebar is just simply that Taharez (who did the imagery) decided to make an alternative looking titlebar some time after the original version of the imagery was made - we retained the old parts for people who prefered that style.

The SysArea* parts are the parts to the far right of the title bar - the area where the close button appears. I referred to this region at the time as the 'system area' (for non-client buttons). The SysAreaRight is the far 'end cap' and the SysAreaMiddle is stretched to fill the space between the right end of the main title bar imagery and the far right end cap (SysAreaRight).

You don't have to remove anything in the looknfeel if you don't want to use a particular type - just don't use it. If you do decide to delete parts of the looknfeel then do not forget to update any scheme xml files that reference it too - the scheme files are how we map the WidgetLooks defined in the looknfeel to actual C++ types.

In order to make your own skin, yes, the best approach is to start with a working skin and make modifications until you are either happy with the way it looks, or become confident enough to write your own from scratch.

In any case, once you have done the looknfeel, you then have to map the WidgetLooks you create to concrete types in the system. This is done in scheme files (you can do it in code, but schemes are more easily modified later). Have a look at the existing schemes to see how we do this. If you are using 0.4.x code, then you need to look at the *Skin variants of the schemes (for example TaharezLookSkin.scheme).

HTH

CE.

cutenoob
Not too shy to talk
Not too shy to talk
Posts: 23
Joined: Tue Jul 11, 2006 02:28
Location: Shanghai

Postby cutenoob » Mon Aug 07, 2006 14:37

well, i read the .imageset file again, and still got some "image name" i dont understand clearly, wish some guy can help me.
like VertScrollBarSegment ,, TextSelectionBrush..
what's the Spinner window ? I've never see that window used by cegui..
and what's different between AlternateProgressBar and ProgressBar

new

what's this window Menubar? in both files imageset and looknfeel defined that window,but in the layouteditor did not have that. :shock: :shock:

:roll: :roll: someone can help me ? or give some information also great..
thanks..


Return to “Help”

Who is online

Users browsing this forum: No registered users and 27 guests