How to make a Circular progress bar?

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

Moderators: CEGUI MVP, CEGUI Team

ogre2012
Not too shy to talk
Not too shy to talk
Posts: 21
Joined: Wed Mar 23, 2011 07:55

How to make a Circular progress bar?

Postby ogre2012 » Tue Apr 19, 2011 03:17

How to make a Circular progress bar?

see this web firstly

http://ogre2012.blog.163.com/blog/static/162927495201132544045197/

Can anyone help me?It is so important for me.

Thank you very much!
Last edited by ogre2012 on Mon Apr 25, 2011 08:42, edited 1 time in total.

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

Re: I have met two difficult problem

Postby CrazyEddie » Tue Apr 19, 2011 08:17

you appear to fail at making images. This makes me sad :cry:

Circular progress bars can be very difficult, depending on how the progress is supposed to advance. It may require custom drawing code.

CE.

ogre2012
Not too shy to talk
Not too shy to talk
Posts: 21
Joined: Wed Mar 23, 2011 07:55

Re: I have met two difficult problem

Postby ogre2012 » Mon Apr 25, 2011 08:44

CrazyEddie wrote:you appear to fail at making images. This makes me sad :cry:

Circular progress bars can be very difficult, depending on how the progress is supposed to advance. It may require custom drawing code.

CE.


The images can see in this web :

http://ogre2012.blog.163.com/blog/static/162927495201132544045197/

thanks

User avatar
Mikademus
CEGUI MVP
CEGUI MVP
Posts: 130
Joined: Wed Mar 18, 2009 19:14

Re: How to make a Circular progress bar?

Postby Mikademus » Mon Apr 25, 2011 17:00

I think CE tries to say that the easiest way is to manually make a number of images and simply swap image as you count closer to 100%.

ogre2012
Not too shy to talk
Not too shy to talk
Posts: 21
Joined: Wed Mar 23, 2011 07:55

Re: How to make a Circular progress bar?

Postby ogre2012 » Fri May 06, 2011 01:51

Mikademus wrote:I think CE tries to say that the easiest way is to manually make a number of images and simply swap image as you count closer to 100%.


I think this it is not a good method.Can we use 0x00000000 & 0xFFFFFFFF when we need to show?
But I don't know how to make it true.
Anybody can help me? Thank you!

ogre2012
Not too shy to talk
Not too shy to talk
Posts: 21
Joined: Wed Mar 23, 2011 07:55

Re: How to make a Circular progress bar?

Postby ogre2012 » Mon May 16, 2011 15:05

ogre2012 wrote:How to make a Circular progress bar?

see this web firstly

http://ogre2012.blog.163.com/blog/static/162927495201132544045197/

Can anyone help me?It is so important for me.

Thank you very much!


I have make it true. And I modify the Sample_FirstWindow code in my blog.


http://blog.csdn.net/oryoung2008/archive/2011/05/16/6425494.aspx


And it is very efficient .You should make the images which is blue on the web to transparency.
Maybe it will be useful to you.
when compliint the cod, you met problem.You can delete the code which is related with Ogre.

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

Re: How to make a Circular progress bar?

Postby Kulik » Mon May 16, 2011 16:04

Nice solution, would be very welcomed in the wiki in English especially since I (and I figure most of CEGUI users) have a hard time understanding Chinese. :)


Return to “Skins and Themes”

Who is online

Users browsing this forum: No registered users and 3 guests