-
-
Notifications
You must be signed in to change notification settings - Fork 769
Add Fixed Magnifier Window Mode #19473
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
Draft
Boumtchack
wants to merge
34
commits into
nvaccess:master
Choose a base branch
from
France-Travail:fixedMagWindow
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 31 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
77b7e19
placeholder and option for magnifier types
Boumtchack 9c1a665
pre-commit
Boumtchack 8523c02
Merge branch 'master' of https://github.com/France-Travail/nvda into …
Boumtchack b4ccd7c
pre-commit
Boumtchack a1d9f4b
changing MagnifierPosition to MagnifierParameters prepare for window …
Boumtchack 04c53e7
Merge branch 'master' of https://github.com/France-Travail/nvda into …
Boumtchack e47e926
Merge branch 'nvaccess:master' into fixedMagWindow
Boumtchack 704a4a8
fixed window creation, first draft
Boumtchack 85f4e39
Merge branch 'fixedMagWindow' of https://github.com/France-Travail/nv…
Boumtchack f695dc6
updated setting dialog for clearer options
Boumtchack bb4dff1
changed typing, wip
Boumtchack 090a247
Pre-commit auto-fix
pre-commit-ci[bot] 50e45b7
fix tests
Boumtchack d9a737e
Merge pre-commit autofix changes
Boumtchack 80124fe
Merge branch 'nvaccess:master' into fixedMagWindow
Boumtchack 53d90f1
added filter and better window creation handling
Boumtchack 8e87f5d
adding settings
Boumtchack a08a6db
added userguide for fixedWindow and updated fullscreen
Boumtchack d9a54c8
simplifying WindowCreator
Boumtchack 516be80
tests for magnifierPanel & magnifierFrame
Boumtchack 34ccff9
added tests fpr WindowedMagnifier
Boumtchack aa4e7d5
unit test for fixed Magnifier
Boumtchack 1bd5868
Merge branch 'nvaccess:master' into fixedMagWindow
Boumtchack c2fba2c
merge conflict resolve
Boumtchack 011d4c3
fixed true center, update gui
Boumtchack 939c3ff
Merge branch 'master' of https://github.com/France-Travail/nvda into …
Boumtchack b3bdfc8
changed to native win32 for window handling
Boumtchack 5bcad40
continuing changes
Boumtchack 1785883
Merge branch 'nvaccess:master' into fixedMagWindow
Boumtchack e70fc26
Merge branch 'nvaccess:master' into FixedMagWindow
Boumtchack 5280b10
Merge pull request #6 from France-Travail/FixedMagWindow
Boumtchack f046a8c
copilot review, without doc
Boumtchack 9a192e4
master merge + doc
Boumtchack ab30830
removed 'default' mentions
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,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() |
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.