[Approved] Progressbar without lefttexture/righttexture (2 Viewers)

OnkelChris

Retired Team Member
  • Premium Supporter
  • October 17, 2007
    764
    59
    Home Country
    Germany Germany
    AW: Progressbar without lefttexture/righttexture

    i am not a team member, but i think this could be useful for skinners?!

    btw: i won't be disappointed, if it not implemented... ;)
     

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,884
    11,104
    Königstein (Taunus)
    Home Country
    Germany Germany
    AW: Progressbar without lefttexture/righttexture

    If you look into the majority of skins, nobody uses left and right textures.
    All adjust their progressbars in varying x/y positions and apply the new properties "innerheight" and "offset", which do exactly that what you are proposing ;)
    Nevertheless :D for you engagement ;)
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    catavolt: if the <onlymidtexture> tag isn't used, there is no any overhead on skin engine at all.

    But I'm still waiting for the reply from original author whether catavolt's suggestions are good enough. If not, there are no problems implementing this, performance or code wise.
     

    OnkelChris

    Retired Team Member
  • Premium Supporter
  • October 17, 2007
    764
    59
    Home Country
    Germany Germany
    AW: Re: Progressbar without lefttexture/righttexture

    But I'm still waiting for the reply from original author whether catavolt's suggestions are good enough.

    me? I think it's easier/better to "paint" some images in photoshop, slice them and then fit them 1:1 into MP... no need for playing around with x/y-coordinates, stretching or something else.
     

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,884
    11,104
    Königstein (Taunus)
    Home Country
    Germany Germany
    AW: Progressbar without lefttexture/righttexture

    What most of the skinners do is the following: You know the width of the left/right texture, lets say 4 px. So you just add 8 px to the length of the bar, put the same x values as the progressbar background (if you want to start the progressbar on exact the same position) and that´s it.
    With the "innerheight" and "offset"properties of progressbar you can steer what "frame" of the progressbar background is visible. Very easy and practiced in all skins I know.
     

    OnkelChris

    Retired Team Member
  • Premium Supporter
  • October 17, 2007
    764
    59
    Home Country
    Germany Germany
    AW: Progressbar without lefttexture/righttexture

    What most of the skinners do is the following: You know the width of the left/right texture, lets say 4 px. So you just add 8 px to the length of the bar, put the same x values as the progressbar background (if you want to start the progressbar on exact the same position) and that´s it.
    With the "innerheight" and "offset"properties of progressbar you can steer what "frame" of the progressbar background is visible. Very easy and practiced in all skins I know.

    And that's exactly what annoyed me ;)
    At the beginning I did this patch for myself... Then I thought other people would also like to have the possibility to "paint" progressbars and use them 1:1 on MP and not to add some pixels here and there...
    As SilentException stated: No skin is affected by these changes, you can use my suggestions or do it the way you did before :)

    @SilentException:
    will do this at the weekend
     

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,884
    11,104
    Königstein (Taunus)
    Home Country
    Germany Germany
    AW: Progressbar without lefttexture/righttexture

    OK then - go ahead :D
     

    OnkelChris

    Retired Team Member
  • Premium Supporter
  • October 17, 2007
    764
    59
    Home Country
    Germany Germany
    AW: Progressbar without lefttexture/righttexture

    hmm... is it me or the policies of the wiki?! Can't edit pages...
     

    Users who are viewing this thread

    Top Bottom