[Approved] Progressbar without lefttexture/righttexture (1 Viewer)

OnkelChris

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

    hmm... hard to explain, but what if someone is using the "old" tags and the new one?

    i am new to the shared MP programming, but a "none" makes more sense in my oppinion?! i think about "hmm... what texture do i want to use?" and the answer would be "none" ;)
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    What is not logical here is having "hidden" keywords in tags for texture (where they do not belong, there should be path to image there). That's why I think this is not the right place.

    While if someone is using old tags and adds new tag he will certainly know that old tags are redundant )
     

    OnkelChris

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

    ok... will try sth. to get it working with a new tag. but this needs some time to get it done. will report back.

    EDIT:
    while i am coding around... would you like, if i add an offset and make the size of the progressbar independent of the background size?!
    short: own tags for -> backgroundsize, progressbarsize, offset of progressbar tot the upperleft corner of background
     

    OnkelChris

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

    ok... please don't hit me, I have some problems :p

    here are the changes:

    <onlymidtexture>: as said before
    <midwidth>: width of the progressbar
    <midheight>: height of the progressbar
    <midoffsetX>: place the progressbar with an offset from the left of background
    <midoffsetY>: place the progressbar with an offset from the top of background

    EDIT:
    forget my question... should look more than twice ;)


    EDIT #2:
    first post and attachment updated!
     

    OnkelChris

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

    sth new?
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    Sorry, this slipped under my radar due too much stuff :)

    Next week I'm on vacation so will take care of it week after! Thanks for reminder ;)
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    I looked into patch and I'm happy with results :)

    Only thing I'm gonna change is type of _onlyMidTexture (from string to bool) and few formatting errors I've noticed near the patch ending.
     

    OnkelChris

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

    :)

    will take a look at the final result
     

    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

    TBH I think this patch is not needed.
    You can adjust the width of the progressbar and the x/y positions to give exact length. I always use progressbar w/o left and right texture. Just a matter of correct positioning.
    Is it really worth that overhead in skin engine?
     

    Users who are viewing this thread

    Top Bottom