xbmc/xbmc — pull request #1677 by pieh (2012-10-26 08:31:16+00:00)
Title: add mouse/touch handling for slider control with 2 selectors

Now we can just control lower selector with mouse/touch - this adds logic to guess which selector we want to control (based on distance between touch/mouse click point and lower/upper selectors).

We want to guess selector only when we start dragging or when we do single mouse click. Also when we are dragging selector we need to swap current selector in case we dragged lower selector behind upper selector and vice versa.