How to change sprogressbar/sGauge color?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #33069
    JohnBank
    Participant

    Hello,

    I'm wiritng a program for an MMO so it has be to be shiny like the MMO itself.I love using your skins!

    In those games,the characters have life/mana and other virtual stuff,which I'd like to express in my program,but the progressbar is in one color only – green.
    I'd like to use the normal Vista skin and your sGauge component,but with different colour(!= green).

    How do I change that property together with using your skins?

    Thanks in advance for your support!

    John Banks.

    #39721
    Support
    Keymaster

    Hello

    Try this demo please, maybe it helps?

    #39731
    JohnBank
    Participant

    QUOTE (Support @ Jun 25 2009, 06:41 AM)
    Hello

    Try this demo please, maybe it helps?


    Hello,

    I created this in the SkinManager.CommonSections:

    CODE
    [NEWPROGRESS]
    PARENTCLASS=BUTTON
    IMAGEPERCENT=0
    TRANSPARENCY=0
    GRADIENTPERCENT=100
    GRADIENTDATA=8454016;8454016;71;1;0;8454016;8454143;7;1;0;8454143;8454143;22;1;0
    ;8454143;8454143;0;1;0

    Then I changed the property sGauge1.ProgressSkin to NEWPROGRESS,but the color is white in Vista skin. <img src="style_emoticons//huh.gif” style=”vertical-align:middle” emoid=”:huh:” border=”0″ alt=”huh.gif” />

    I want it in red,blue and yellow.How do I make it in Vista skin?

    Edit:

    If I change the skin in your program from Saphire to Vista,the color becomes white and I can't change it.

    #39765
    Support
    Keymaster

    My demo was updated, please download and try it again.
    ParentClass was changed to 'GROUPBOX' and this gauge is more universal now there.
    http://www.alphaskins.com/sfiles/demos/gaugechangecolor.zip

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.