Skip to content

[Feature] Add GazeInput.SetCursorBrush method to change the default GazeCursor color #3210

Closed

Description

Describe the problem this feature would solve

The current Toolkit implementation allows for setting the visibility of the gaze cursor and the radius of the ellipse.

The brush however, can not be changed - which is unfortunate because the default color does look great and having the flexibility to change it (for e.g. dark vs light themed UIs) to create more accessible apps would be great!

Describe the solution

  • Add a method that allows for setting the gaze cursor brush.

The current available methods are:
public static void SetIsCursorVisible(UIElement element, bool value);
public static void SetCursorRadius(UIElement element, int value);

The proposed method would be:
public static void SetCursorBrush(UIElement element, Brush value);

Additional context & Screenshots

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    feature request 📬A request for new changes to improve functionalitygaze 👀good first issueIssues identified as good for first-time contributorshelp wantedIssues identified as good community contribution opportunities

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions