Wow, So Viewport, Very Gesture
Oxide WebView merged touchscreen support in revision.378, oxide-qt package lands in PPA, so I updated the EGLFS patch accordingly.
How to Use It
To enable pinch gesture and viewport, you'll need a SharedGLContext created to do accelerated compositing, so the tool oxideqmlscene comes in handy:
$ export OXIDE_FORCE_FORM_FACTOR=tablet
$ cat << EOF > web.qml
import QtQuick 2.0
import com.canonical.Oxide 0.1
WebView {
width: 800; height: 600
url: 'http://duckduckgo.com'
}
EOF
$ oxideqmlscene web.qml
And there you go. Technical preview of SlateKit Base also upgraded: slatekit-base-tp-02202014.iso (97MB)

沒有留言:
張貼留言