mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2025-12-24 07:50:11 +01:00
Add unicode art pictures for panning.
This commit is contained in:
parent
19a851fc85
commit
e71912062f
1 changed files with 38 additions and 3 deletions
|
|
@ -121,6 +121,9 @@ following features are added in this version:
|
||||||
can be used to scale the screen up/down as well as perform projector
|
can be used to scale the screen up/down as well as perform projector
|
||||||
keystone correct or other effects.
|
keystone correct or other effects.
|
||||||
|
|
||||||
|
• Panning. It was removed with RandR 1.2 because the old semantics didn't
|
||||||
|
fit any longer. With RandR 1.3 panning can be specified per crtc.
|
||||||
|
|
||||||
1.1 Acknowledgements
|
1.1 Acknowledgements
|
||||||
|
|
||||||
Our thanks to the contributors to the design found on the xpert mailing
|
Our thanks to the contributors to the design found on the xpert mailing
|
||||||
|
|
@ -1116,6 +1119,16 @@ dynamic changes in the display environment.
|
||||||
successfully set, the request is ignored and InvalidTime returned in
|
successfully set, the request is ignored and InvalidTime returned in
|
||||||
status.
|
status.
|
||||||
|
|
||||||
|
┌──┳━━━━━━━━━━━━━━┳─────┬ ─ ─ ─ ─ ─ ┐
|
||||||
|
│ ┃ CRTC ┃ │
|
||||||
|
│ ┃ ┃ │ │
|
||||||
|
│ ┃ X┃→ │
|
||||||
|
│ ┃ ┃ │ │ framebuffer
|
||||||
|
│ ┗━━━━━━━━━━━━━━┛ │
|
||||||
|
│ │ │
|
||||||
|
│panning area │
|
||||||
|
└───────────────────────┴ ─ ─ ─ ─ ─ ┘
|
||||||
|
|
||||||
'left', 'top', 'width', and 'height' contain the total panning area
|
'left', 'top', 'width', and 'height' contain the total panning area
|
||||||
for this CRTC. 'width' has to be larger than or equal to the CRTC's
|
for this CRTC. 'width' has to be larger than or equal to the CRTC's
|
||||||
width or 0, and 'left'+'width' must be within the screen size, else a
|
width or 0, and 'left'+'width' must be within the screen size, else a
|
||||||
|
|
@ -1126,13 +1139,35 @@ dynamic changes in the display environment.
|
||||||
RRSetScreenSize will silently enable panning if the screen size is
|
RRSetScreenSize will silently enable panning if the screen size is
|
||||||
increased. This does not happen if set to 0.
|
increased. This does not happen if set to 0.
|
||||||
|
|
||||||
|
┌────────┳━━━━━━━━━━━━━━┳ ─ ─ ─ ─ ─ ┐
|
||||||
|
│ ┃ CRTC ┃
|
||||||
|
│ ┃ ┃ │
|
||||||
|
│ ┃ ┃
|
||||||
|
│ ┃ ┃ │ tracking area
|
||||||
|
│ ┗━━━━━━━━━━━━━━┫ X
|
||||||
|
│ ↓ │ ↓ │
|
||||||
|
│panning area │
|
||||||
|
└───────────────────────┴ ─ ─ ─ ─ ─ ┘
|
||||||
|
|
||||||
'track_left', 'track_top', 'track_width', and 'track_height' contain
|
'track_left', 'track_top', 'track_width', and 'track_height' contain
|
||||||
the pointer area for which the panning region is updated. For normal
|
the pointer area for which the panning region is updated. For normal
|
||||||
use cases it should enclose the panning area minus borders, and is
|
use cases it should enclose the panning area minus borders, and is
|
||||||
typically set to either the panning area minus borders, or to the
|
typically set to either the panning area minus borders, or to the
|
||||||
total screen size. If set to the total screen size, the CRTC will pan
|
total screen size. If set to the total screen size, the CRTC will pan
|
||||||
in the remaining axis even if the pointer is outside the panning area
|
in the remaining axis even if the pointer is outside the panning area
|
||||||
on a different CRTC.
|
on a different CRTC, as shown in the figure above. If the pointer is
|
||||||
|
outside the tracking area, the CRTC will not pan.
|
||||||
|
|
||||||
|
┌──┳━━━━━━━━━━━━━━┳────────────┐
|
||||||
|
│ ┃ CRTC ┃ │
|
||||||
|
│ ┃ ┃ │
|
||||||
|
│ ┃ ┃→ │
|
||||||
|
│ ┃ X←→┃ │
|
||||||
|
│ ┃ border_right │
|
||||||
|
│ ┗━━━━━━━━━━━━━━┛ │
|
||||||
|
│ │
|
||||||
|
│panning area │
|
||||||
|
└──────────────────────────────┘
|
||||||
|
|
||||||
'border_left', 'border_top', 'border_right', and 'border_bottom'
|
'border_left', 'border_top', 'border_right', and 'border_bottom'
|
||||||
define the distances from the CRTC borders that will activate panning
|
define the distances from the CRTC borders that will activate panning
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue