-
-
Notifications
You must be signed in to change notification settings - Fork 769
preparing the new magnifier types #19915
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 12 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
b839c3c
preparing the new magnifier types
Boumtchack d73dac0
Merge branch 'master' of https://github.com/France-Travail/nvda into …
Boumtchack ef986a8
merge master, resolves conflicts
Boumtchack 489604c
removed placeholder
Boumtchack 1890cb4
Merge branch 'master' into NewMagTypes
Boumtchack 600e5c0
update userguide
Boumtchack 8024c3f
tests
Boumtchack c90478f
changed magnifier type to magnified view
Boumtchack e273c6a
stronger typing for fullscreen
Boumtchack ffd9d75
Merge branch 'master' into NewMagTypes
Boumtchack 23a2b5b
restore userGuide and globalCommands
Boumtchack 13d408d
review modifications
Boumtchack b006196
changed view type to constant
Boumtchack 5b28ae7
Update source/_magnifier/lensMagnifier.py
Boumtchack 1b8c0f6
update fixed description
Boumtchack 847bfbe
Merge branch 'NewMagTypes' of https://github.com/France-Travail/nvda …
Boumtchack File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| # A part of NonVisual Desktop Access (NVDA) | ||
| # Copyright (C) 2025-2026 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 MagnifiedView | ||
|
|
||
|
|
||
| class DockedMagnifier(Magnifier): | ||
| """Displays a magnified panel anchored to one edge of the screen.""" | ||
|
|
||
| def __init__(self): | ||
| super().__init__() | ||
| self._magnifiedView = MagnifiedView.DOCKED | ||
|
|
||
| def _startMagnifier(self) -> None: | ||
| super()._startMagnifier() | ||
|
|
||
| def _stopMagnifier(self) -> None: | ||
| super()._stopMagnifier() | ||
|
|
||
| def _doUpdate(self): | ||
| pass | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| # A part of NonVisual Desktop Access (NVDA) | ||
| # Copyright (C) 2025-2026 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 | ||
|
|
||
| """ | ||
| Fixed magnifier module. | ||
|
Boumtchack marked this conversation as resolved.
|
||
| """ | ||
|
|
||
| from .magnifier import Magnifier | ||
| from .utils.types import MagnifiedView | ||
|
|
||
|
|
||
| class FixedMagnifier(Magnifier): | ||
| """Displays a magnified panel anchored to one corner of the screen.""" | ||
|
Boumtchack marked this conversation as resolved.
Outdated
|
||
|
|
||
| def __init__(self): | ||
| super().__init__() | ||
| self._magnifiedView = MagnifiedView.FIXED | ||
|
|
||
| def _startMagnifier(self) -> None: | ||
| super()._startMagnifier() | ||
|
|
||
| def _stopMagnifier(self) -> None: | ||
| super()._stopMagnifier() | ||
|
|
||
| def _doUpdate(self): | ||
| pass | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.