Hello!
We are using CEGUI in our own engine for mobile devices. It works great, but we have a problem with ScrollablePane. We expected that we will be able to scroll the content of the scrollable pane not only via scrollbar but also with a swipe over the content container of the scrollable pane. But it's possible to use only the scrollbar in our test application. Should we just add something we forget? Or should we care about that opportunity on our own?
Thanks!
Swipe on touch screen for ScrollablePane - any ideas?
Moderators: CEGUI MVP, CEGUI Team
Re: Swipe on touch screen for ScrollablePane - any ideas?
Only the scrollbar does this. Modifying this so that it also works on the scrollable pane would be fairly easy though.
CrazyEddie: "I don't like GUIs"
Re: Swipe on touch screen for ScrollablePane - any ideas?
Hi.
In the case the author or someone else needs this functionality, it is implemented in PR:
https://bitbucket.org/cegui/cegui/pull- ... mprovement
Use ScrollablePane::setSwipeScrollingEnabled method to enable it.
Kinetic scrolling is not implemented, but may be added in a future. If you want to do it yourself, subclass ScrollablePane, reimplement ScrollablePane::scrollContentPane and implement update(). Please share your results if you implement it faster than we do.
Note that widgets added to a scrollable pane must be able to propagate unprocessed cursor input to the parent. It is controlled via setCursorInputPropagationEnabled() or via the property "CursorInputPropagationEnabled".
In the case the author or someone else needs this functionality, it is implemented in PR:
https://bitbucket.org/cegui/cegui/pull- ... mprovement
Use ScrollablePane::setSwipeScrollingEnabled method to enable it.
Kinetic scrolling is not implemented, but may be added in a future. If you want to do it yourself, subclass ScrollablePane, reimplement ScrollablePane::scrollContentPane and implement update(). Please share your results if you implement it faster than we do.
Note that widgets added to a scrollable pane must be able to propagate unprocessed cursor input to the parent. It is controlled via setCursorInputPropagationEnabled() or via the property "CursorInputPropagationEnabled".
Who is online
Users browsing this forum: No registered users and 2 guests