Page 1 of 1

3 Piece Progressbar

Posted: Sat Jul 14, 2007 16:54
by SilentSiege
Hey,

First of all I'm new to this forum and I'm not quite sure if this is the forum for my question.

I'm in the progress of creating a new skin for CEGUI and would like to create a progressbar made out of 3 pieces. A starting piece, middle piece and ending piece.

The endresult should look something like this.
Image

It should be composed out of these 3 pieces.
Image Image Image

To clarify some more this is how it should look when only filled for 75% for example.
Image

Can this be done using a xml looknfeel? Are there any examples that show how this can be done? All help is greatly appreciated.

Kind regards and thanks in advance,

Quinnie

Posted: Mon Jul 16, 2007 14:13
by Rackle
I think it's the scrollbar of the WindowsLook skin that has a thumb with a varying dimension. You could take a look at how that's accomplished. If it's not the WindowsLook then it could be Marti.

I'm interested in this topic; this is something I'd want to implement in my own projects. Please post/wiki the solution.