1. 22 Jun, 2013 1 commit
    • Erwan Tulou's avatar
      skins2: add width/height parameters to slider · 91a9eee8
      Erwan Tulou authored
      These parameters will allow to create a slider which adapts to the display.
      width/height parameters will be optional. If set, the initial slider will
      be resized to meet these requirements.
      
      A main use case will be the possibility to create a fullscreen timeslider
      that automatically spans the whole screen whatever the screen resolution.
      e.g syntax would be <Slider width="100%" ....>
      91a9eee8
  2. 21 Jun, 2011 1 commit
  3. 01 Mar, 2011 1 commit
  4. 11 Dec, 2010 1 commit
    • Erwan Tulou's avatar
      skins2: implement a new 'focus' attribute for text control · 81717b48
      Erwan Tulou authored
      Up to now, text control could but be focusable, and this focus was used
      to scroll text, should it be too long for full display.
      
      From a user viewpoint, this behavior is often counterintuitive :
       - Most of the time, the control is designed to fit the text anyway, and
         scrolling is not expected.
       - On the other hand, an underlying control may be used to move the window
         (for instance, the title bar), and a text control is expected not to
         interact in this endeavor. Same goes for popupmenu, that is expected
         to work if one happens to right-click on a text control.
      
      This patch adds a 'focus' attribute to the text control, and leave it to the
      skins developper to decide which behavior is most desirable on a per-control
      basis. focus still defaults to true to maintain skins current behavior.
      81717b48
  5. 22 Nov, 2010 3 commits
    • Erwan Tulou's avatar
      skins: add some transparency to the default skin · f07499ac
      Erwan Tulou authored
      Default skin becomes slightly transparent when moved.
      (deactivated by default, needs to be set up in preferences)
      f07499ac
    • Erwan Tulou's avatar
      skins2: improve the default skin placements · f511daad
      Erwan Tulou authored
      The default skins now benefits from relative positioning:
         - main window centered
         - playlist window centered with a 5% offset
         - fullscreen controller centered at the bottom
           of the screen with a 3% margin from the border
         - other ancillary windows all centered
      f511daad
    • Erwan Tulou's avatar
      skins2: implement relative positioning · 6f772953
      Erwan Tulou authored
      So far in skins2, all x, y, width and height were given in pixels, and
      no reference to the screen resolution could be made.
      
      This patch implements the following :
      - all x, y, width, height can be given in pixels or in % of their container.
        For windows, the container is the screen. For widgets, it can be the
        layout or a panel.
      - Five new tags eases up positioning
        - position : relative position given as "Center", "West", "NorthWest", ...
        - x/y-margin : margins to take into account (in px or %) wrt the borders.
        - x/y-offset : additional offset to apply (in px or %).
      - the image control can now accept a width and a height parameters.
      6f772953
  6. 12 Aug, 2010 1 commit
    • Erwan Tulou's avatar
      skin2: fix minor issue with default skins · 7f09499f
      Erwan Tulou authored
      Fix two text controls overlapping by 1 pixel in length.
      Though it's no real problem, that avoids unnecessary refresh for zilch.
      (one control is the position that keeps being updated)
      7f09499f
  7. 18 May, 2010 2 commits
    • Erwan Tulou's avatar
      skins2: add support for art in default skin · 3e8f184d
      Erwan Tulou authored
      This patch implements art display in the default skin, in the same way as it is
      implemented in qt4 interface, namely if no video is available, art is displayed in lieu of video.
      3e8f184d
    • Erwan Tulou's avatar
      skins2: implement art display in image controls · 0530638a
      Erwan Tulou authored
      This patch gives skins developpers the possibility to display the art file
       associated to the current input in an image control.
      
      It features the following :
          - a new 'art' boolean parameter is added for the Image control (skin.dtd)
          - when set to true, the skin engine will reuse this control to display
            the current art file
          - in addition to 'scale' and 'mosaic', the resize parameter can now accept
            a new 'scale2' value, that respects the original aspect ratio of art files
      0530638a
  8. 28 Dec, 2009 1 commit
  9. 27 Dec, 2009 1 commit
  10. 22 Jun, 2009 1 commit
  11. 19 Jun, 2009 1 commit
  12. 01 Feb, 2009 1 commit
    • Daniel Dreibrodt's avatar
      Skins2: change DTD to add possibility to store ID for Anchors, Panels and Groups. · 8a5a4a2d
      Daniel Dreibrodt authored
      It adds possibility to store IDs for Anchors, Panels and Groups.
      This does not change the way skins2 works I believe. It just stops the
      XML parser from complaining about non standard skins when they have set
      IDs for those elements. And setting IDs for them is vital in the skin
      editor, as it differentiates between different elements in the skin just
      by their ID.
      8a5a4a2d
  13. 27 Sep, 2007 1 commit
  14. 28 Jan, 2007 1 commit
    • Olivier Teulière's avatar
      * skins2: · 8086b07c
      Olivier Teulière authored
          - New Panel tag, allowing to group the resizing behaviour of controls
          - Documentation updated accordingly
          - Fixed a memory leak due to CtrlMove/CtrlResize objects
      8086b07c
  15. 05 Aug, 2006 1 commit
  16. 03 Jun, 2006 1 commit
    • Olivier Teulière's avatar
      * modules/gui/skins2/*: · 24648f43
      Olivier Teulière authored
           - anchors have a new "lefttop" attribute, allowing them to follow the
             border of the window when resizing
           - the resizing is now handled by the WindowManager class (to enforce the
             mediator pattern). This makes it possible to handle tricky cases,
             such as:
                 window B is anchored to window A, and A is resized
                 ==> B moves accordingly, and can still be anchored by other windows
      24648f43
  17. 02 May, 2006 1 commit
  18. 30 Apr, 2006 4 commits
  19. 29 Apr, 2006 1 commit
  20. 28 Apr, 2006 3 commits
  21. 17 Apr, 2006 2 commits
  22. 15 Apr, 2006 2 commits
  23. 09 Apr, 2006 1 commit
  24. 04 Apr, 2006 1 commit
  25. 25 Mar, 2006 1 commit
  26. 10 Feb, 2006 1 commit
    • Clément Stenac's avatar
      Fix playtree deletion · f12fa7ca
      Clément Stenac authored
      Should support deletion through the delete key. But the delete key is not recognized par X11 skins2.
      f12fa7ca
  27. 29 Jan, 2006 1 commit
  28. 04 Dec, 2005 3 commits