Skip to content
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

FeatureRequest: Promote Camera._DisplayPanel to readonly property #3

Open
ScruffR opened this issue Jan 8, 2024 · 0 comments
Open

Comments

@ScruffR
Copy link

ScruffR commented Jan 8, 2024

I came across some cases where I wanted to tie the camera to different display panels depending on the particular QR code I'd wanted to scan.
The QR parsing and other business logic would be the same but had some differences (mostly) revolving around the display.
Although I could have a "global" variable for that but that would add some redundancy and possible cause for error when the two don't always align.
Hence it would be nice to just "ask" the Camera object to which display panel it currently is tied and use that without reason for doubt.

(doing the same for Moniker and FrameSize wouldn't be bad either 😉)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant