[PR #1046] [MERGED] Highlight mouse cursor even when no buttons are pressed #1294

Closed
opened 2026-02-26 09:34:19 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/NickeManarin/ScreenToGif/pull/1046
Author: @zsee
Created: 1/8/2022
Status: Merged
Merged: 3/6/2022
Merged by: @NickeManarin

Base: devHead: feature/highlight-mouse


📝 Commits (1)

  • 4a67375 Feature: Highlight mouse cursor

📊 Changes

18 files changed (+213 additions, -110 deletions)

View changed files

📝 ScreenToGif.Model/Enums/PanelType.cs (+2 -2)
📝 ScreenToGif.Model/Enums/TaskTypes.cs (+1 -1)
📝 ScreenToGif.Util/Settings/Migrations.cs (+4 -0)
ScreenToGif.Util/Settings/Migrations/Migration2_36_0To2_37_0.cs (+68 -0)
📝 ScreenToGif.Util/Settings/UserSettings.cs (+9 -3)
📝 ScreenToGif.ViewModel/Tasks/BaseTaskViewModel.cs (+2 -2)
📝 ScreenToGif.ViewModel/Tasks/MouseEventsViewModel.cs (+23 -13)
📝 ScreenToGif/Capture/DirectImageCapture.cs (+1 -1)
📝 ScreenToGif/Model/FrameInfo.cs (+1 -1)
📝 ScreenToGif/Resources/Commands.xaml (+1 -1)
📝 ScreenToGif/Resources/Localization/StringResources.en.xaml (+4 -4)
📝 ScreenToGif/Resources/Settings.xaml (+5 -4)
📝 ScreenToGif/UserControls/MouseClicksPanel.xaml (+15 -11)
📝 ScreenToGif/UserControls/MouseClicksPanel.xaml.cs (+2 -2)
📝 ScreenToGif/Windows/Editor.xaml (+25 -20)
📝 ScreenToGif/Windows/Editor.xaml.cs (+45 -40)
📝 ScreenToGif/Windows/Other/AutomatedTask.xaml (+1 -1)
📝 ScreenToGif/Windows/Other/AutomatedTask.xaml.cs (+4 -4)

📄 Description

Hi!

This is a small change to the "Mouse Clicks" overlay feature: Adds a new setting to highlight the mouse cursor without clicks.
The name "Mouse Clicks" didn't seem appropriate anymore, so it's also renamed to "Mouse Events".

The highlight color is fully transparent by default, so it's not visible, and added a check to skip drawing transparent mouse overlays.

This is my first pull request, so I hope it's ok. :) Wasn't sure of the migrations part and what to do about the localization files.
Here are some screenshots:
image
image

closes #1086


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/NickeManarin/ScreenToGif/pull/1046 **Author:** [@zsee](https://github.com/zsee) **Created:** 1/8/2022 **Status:** ✅ Merged **Merged:** 3/6/2022 **Merged by:** [@NickeManarin](https://github.com/NickeManarin) **Base:** `dev` ← **Head:** `feature/highlight-mouse` --- ### 📝 Commits (1) - [`4a67375`](https://github.com/NickeManarin/ScreenToGif/commit/4a67375e847bfbd7cb4e727f1f319a2517b0a2b5) Feature: Highlight mouse cursor ### 📊 Changes **18 files changed** (+213 additions, -110 deletions) <details> <summary>View changed files</summary> 📝 `ScreenToGif.Model/Enums/PanelType.cs` (+2 -2) 📝 `ScreenToGif.Model/Enums/TaskTypes.cs` (+1 -1) 📝 `ScreenToGif.Util/Settings/Migrations.cs` (+4 -0) ➕ `ScreenToGif.Util/Settings/Migrations/Migration2_36_0To2_37_0.cs` (+68 -0) 📝 `ScreenToGif.Util/Settings/UserSettings.cs` (+9 -3) 📝 `ScreenToGif.ViewModel/Tasks/BaseTaskViewModel.cs` (+2 -2) 📝 `ScreenToGif.ViewModel/Tasks/MouseEventsViewModel.cs` (+23 -13) 📝 `ScreenToGif/Capture/DirectImageCapture.cs` (+1 -1) 📝 `ScreenToGif/Model/FrameInfo.cs` (+1 -1) 📝 `ScreenToGif/Resources/Commands.xaml` (+1 -1) 📝 `ScreenToGif/Resources/Localization/StringResources.en.xaml` (+4 -4) 📝 `ScreenToGif/Resources/Settings.xaml` (+5 -4) 📝 `ScreenToGif/UserControls/MouseClicksPanel.xaml` (+15 -11) 📝 `ScreenToGif/UserControls/MouseClicksPanel.xaml.cs` (+2 -2) 📝 `ScreenToGif/Windows/Editor.xaml` (+25 -20) 📝 `ScreenToGif/Windows/Editor.xaml.cs` (+45 -40) 📝 `ScreenToGif/Windows/Other/AutomatedTask.xaml` (+1 -1) 📝 `ScreenToGif/Windows/Other/AutomatedTask.xaml.cs` (+4 -4) </details> ### 📄 Description Hi! This is a small change to the "Mouse Clicks" overlay feature: Adds a new setting to highlight the mouse cursor without clicks. The name "Mouse Clicks" didn't seem appropriate anymore, so it's also renamed to "Mouse Events". The highlight color is fully transparent by default, so it's not visible, and added a check to skip drawing transparent mouse overlays. This is my first pull request, so I hope it's ok. :) Wasn't sure of the migrations part and what to do about the localization files. Here are some screenshots: ![image](https://user-images.githubusercontent.com/4281365/148661427-be287eb0-d77f-42b8-a5aa-f7d62b5eca66.png) ![image](https://user-images.githubusercontent.com/4281365/148661450-2760c7c1-2d97-4c92-a800-8a964295e723.png) closes #1086 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 09:34:19 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ScreenToGif#1294
No description provided.