How to make progressbar without gaps?

WindowBlinds

Monday, February 18, 2008 by jamespaulp | Discussion: Skinning

I tried different methods but none seem to work.

These are the entries from the code. The images have no gaps embedded.

[Progress]
Bitmap=gimmick\progressbar.bmp
LeftWidth=0
RightWidth=0
TopHeight=1
BottomHeight=1
Trans=0
PerPixel=0

[ProgressXP.HorzEdge]
Image=gimmick\ProgressBarXPHorz.bmp
Trans=0
PerPixel=0
ChunkGap=0
ChunkSize=0
LeftWidth=0
RightWidth=0
TopHeight=1
BottomHeight=1
ContentLeft=0
ContentRight=0
ContentTop=1
ContentBottom=1

[ProgressXP.HorzBlock]
Image=gimmick\ProgressChunkXPHorz.bmp
LeftWidth=0
RightWidth=0
TopHeight=0
BottomHeight=0


Thanks

jazzymjr
Reply #1 Monday, February 18, 2008 7:01 PM
james, From what I can see in comparing your code to my code for the progress bar, you are missing some settings. May I suggest you download one of my skins, and open it in skin studio, and compare your code with mine. One big difference is that I use tga (pngs that SKS converts for me) for my images. Also, you don't have settings for stretching/tiling of your images in your code. When I was first learning how to do stuff, I would open other people's skins in SKS and see how they did whatever it was I was having trouble with...that always helped me a lot. Hope this helps.
Xiandi
Reply #2 Monday, February 18, 2008 8:20 PM
Are you using SKS6? When I made mine, all I did was use .png files (solid bar, no gaps), converted to .tga in SKS6. Then in the progress block area, go to "extra settings". Set the gap to 0 and the chunk size to 1. No codes needed.

If you're in SKS5, I have no idea how to do it.
jamespaulp
Reply #3 Tuesday, February 19, 2008 1:01 AM
Thanks Jazzy and Xiandi.

Jazzy, I downloaded the Spring Reflection and replaced sections in my blind with your code. I still had the problem. Then I noticed your blind did not have XP - Chunk Vertical set. I removed that section from mine and voila. It works now as expected.

Xiandi, I originally had TGA images and thought that was the problem. So I converted them to BMP images.
jazzymjr
Reply #4 Tuesday, February 19, 2008 7:17 AM
James,
I'm glad it worked out for you. The progress bar is a challenge to figure out in the beginning.   

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01