how to custom the shape of my widgets?

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

zydgyy
Just popping in
Just popping in
Posts: 14
Joined: Mon Mar 05, 2012 03:01

how to custom the shape of my widgets?

Postby zydgyy » Tue Apr 03, 2012 09:28

As topic,Thanks

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

right-click xml files -> edit

Postby Ident » Tue Apr 03, 2012 10:56

as answer, thx
CrazyEddie: "I don't like GUIs"

zydgyy
Just popping in
Just popping in
Posts: 14
Joined: Mon Mar 05, 2012 03:01

Re: how to custom the shape of my widgets?

Postby zydgyy » Fri Apr 06, 2012 12:54

Don't understand u,can u detail it?I want to customize the shape of widgets not the looknfeel~

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: how to custom the shape of my widgets?

Postby Ident » Fri Apr 06, 2012 13:00

can you detail what you mean first? what is the shape of a widget? the graphical appearance? then edit the imageset
CrazyEddie: "I don't like GUIs"

zydgyy
Just popping in
Just popping in
Posts: 14
Joined: Mon Mar 05, 2012 03:01

Re: how to custom the shape of my widgets?

Postby zydgyy » Fri Apr 06, 2012 13:56

no,what i mean ,take an example,i want circle shape button,not the rectangle

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: how to custom the shape of my widgets?

Postby Ident » Fri Apr 06, 2012 14:03

so you take a circle image for a button, and then? what's the problem? do you need hit-testing for non-rectangular shapes?

maybe this helps http://www.cegui.org.uk/wiki/index.php/ ... EGUI_0.7.x
CrazyEddie: "I don't like GUIs"

zydgyy
Just popping in
Just popping in
Posts: 14
Joined: Mon Mar 05, 2012 03:01

Re: how to custom the shape of my widgets?

Postby zydgyy » Sat Apr 07, 2012 09:19

no,actually,i want to create a irregular shape of my widget

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: how to custom the shape of my widgets?

Postby Ident » Sat Apr 07, 2012 09:24

so you give a "circle" as example, then i refer to that "circle" example, and you tell me in your next reply that you do not want a circle at all. Well played, son. Well played...
CrazyEddie: "I don't like GUIs"

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: how to custom the shape of my widgets?

Postby Kulik » Sat Apr 07, 2012 09:28

zydgyy: You are getting free help from this forum, could you invest at least 5 minutes to write a decent question? And this isn't about English skills, it really is not. I can clearly tell that you take this forum as a "problem solver / magic research device". Stop doing that!

See the big red text on top? Read it! We need the version you are using to give any advice!

Ident: I congratulate you on your patience!


Return to “Help”

Who is online

Users browsing this forum: No registered users and 6 guests