Added scroll wheel to zoom in / out - since some apps require that feature#6779
Open
brantpastore wants to merge 1 commit into
Open
Added scroll wheel to zoom in / out - since some apps require that feature#6779brantpastore wants to merge 1 commit into
brantpastore wants to merge 1 commit into
Conversation
Added moveable window that enables scroll to zoom in / out. Added scroll to zoom in / out - since some apps require that feature. Added debugging output around motion events.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Added togglable
This pull request introduces a new on-screen overlay UI for debugging, adds a configurable mouse wheel action (scroll vs. pinch-to-zoom), and exposes new command-line options to control these features. The changes span CLI argument parsing, display rendering, input handling, and screen state management.
Overlay UI and Debugging Features:
sc_render_overlay_uiindisplay.c. Overlay state and position are managed instruct sc_displayandstruct sc_screen. [1] [2] [3]--overlayCLI flag to keep the debug overlay visible, with corresponding option parsing and propagation to runtime structures. [1] [2] [3] [4] [5] [6]Mouse Wheel Action Customization:
--scroll-actionCLI option to choose between normal scrolling or sending pinch-to-zoom keycodes for mouse wheel events. This is parsed and stored in the newenum sc_scroll_actionand propagated through options and input manager structures. [1] [2] [3] [4] [5] [6] [7] [8] [9]Display and Input Handling Enhancements:
struct sc_displayandstruct sc_input_managerto track overlay and scroll action state, and updated the display rendering pipeline to draw the overlay when enabled. [1] [2] [3] [4] [5]Command-line Interface and Defaults:
cli.candoptions.c. [1] [2] [3] [4] [5]These changes lay the groundwork for more interactive debugging and user customization of input behavior.