-
-
Notifications
You must be signed in to change notification settings - Fork 766
Expand file tree
/
Copy pathdockedMagnifier.py
More file actions
27 lines (20 loc) · 828 Bytes
/
dockedMagnifier.py
File metadata and controls
27 lines (20 loc) · 828 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# A part of NonVisual Desktop Access (NVDA)
# Copyright (C) 2025 NV Access Limited, Antoine Haffreingue
# This file may be used under the terms of the GNU General Public License, version 2 or later, as modified by the NVDA license.
# For full terms and any additional permissions, see the NVDA license file: https://github.com/nvaccess/nvda/blob/master/copying.txt
"""
Docked magnifier module.
"""
from .magnifier import Magnifier
from .utils.types import Coordinates, MagnifierType
class DockedMagnifier(Magnifier):
def __init__(self):
super().__init__()
self._magnifierType = MagnifierType.DOCKED
self._currentCoordinates = Coordinates(0, 0)
def _startMagnifier(self) -> None:
super()._startMagnifier()
def _stopMagnifier(self) -> None:
super()._stopMagnifier()
def _doUpdate(self):
super()._doUpdate()