mirror of
https://github.com/labwc/labwc.git
synced 2026-03-16 05:33:50 -04:00
Add screen magnifier
This adds a screen magnifier which can be controlled with the `ZoomIn` / `ZoomOut` and `ToggleMagnify` actions. It scales up part of the rendered framebuffer so the magnification may end up looking blurry depending on the magnification scale. PR #1774
This commit is contained in:
parent
ad15c0474d
commit
8ba066a1a5
13 changed files with 473 additions and 1 deletions
|
|
@ -264,6 +264,18 @@ Actions are used in menus and keyboard/mouse bindings.
|
|||
decorations (including those for which the server-side titlebar has been
|
||||
hidden) are not eligible for shading.
|
||||
|
||||
*<action name="ToggleMagnify">*
|
||||
Toggle the screen magnifier on or off at the last magnification level
|
||||
used.
|
||||
|
||||
*<action name="ZoomIn">*++
|
||||
*<action name="ZoomOut">*
|
||||
Increase or decrease the magnification level for the screen magnifier.
|
||||
If the magnifier is currently off, ZoomIn will enable it at the lowest
|
||||
magnification, equal to (1 + the magnifier increment set in the theme).
|
||||
If the magnifier is on and at the lowest magnification, ZoomOut will
|
||||
turn it off.
|
||||
|
||||
*<action name="None" />*
|
||||
If used as the only action for a binding: clear an earlier defined
|
||||
binding.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue