Skip to main content
Version: 9.0.2

gra.screen.drag.config

Configure a screen drag plugin to track mouse movements and perform screen transitions.

Plugin: libgre-plugin-screen-drag.so

Options: type The type of screen transition animation. The corresponding plugin must be present. Default is screen replace which is the default action gra.screen.

replace
path
fade
3dcube
3dtip

rate Animation rate string that defines how the screens will move over time:

linear
easein
easeout
easeinout
bounce

fps Number of frames per second

duration Length of the transition in milliseconds

layers The layers to transition, all of the layers or just the layers that are different between source and destination:

all
delta

moving The screen(s) to animate with the desired transition (not available on all types).

both
new
old

left The screen to transition to on the left (when dragging towards the right)

right The screen to transition to on the right (when dragging towards the left)

up The screen to transition to on the top (when dragging towards the bottom)

down The screen to transition to on the bottom (when dragging towards the top)

x_threshold The horizontal amount which needs to be dragged when released to transition to the next screen, less than this amount will result in animating back to our original screen. Between 0.0 and 1.0, default is 0.3

y_threshold The vertical amount which needs to be dragged when released to transition to the next screen, less than this amount will result in animating back to our original screen. Between 0.0 and 1.0, default is 0.3