Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@dkwingsmt
Copy link
Contributor

@dkwingsmt dkwingsmt commented Jul 6, 2020

Description

This PR adds support to a number of system cursors to the following shells:

  • Android
  • CSS
  • Windows (Win32)
  • Linux (GTK)
  • macOS

All cursors that are added in flutter/flutter#60931 and flutter/flutter#61399 are included. Some of them might use a fallback.

Related Issues

Tests

I added the following tests:

  • N/A. The changes are only hard-coded values, which should be "tested" by not changing them. Testing all these values will basically be writing all of them a second time.

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

  • I read the contributor guide and followed the process outlined there for submitting PRs.
  • I signed the CLA.
  • I read and followed the C++, Objective-C, Java style guides for the engine.
  • I read the tree hygiene wiki page, which explains my responsibilities.
  • I updated/added relevant documentation.
  • All existing and new tests are passing.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Did any tests fail when you ran them? Please read handling breaking changes.

  • No, no existing tests failed, so this is not a breaking change.

@fluttergithubbot
Copy link
Contributor

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat.

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@dkwingsmt dkwingsmt requested review from stuartmorgan-g and removed request for chinmaygarde July 10, 2020 00:05
Copy link
Contributor

@gspencergoog gspencergoog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

32384589-a60f0e74-c078-11e7-9bc1-e5b5287aea9d

(Modulo fixing the quotes.)

@SahajRana
Copy link

@dkwingsmt, Does the windows cursor support work now?

@dkwingsmt
Copy link
Contributor Author

Yep! Give a try!

@SahajRana
Copy link

@dkwingsmt, Yes, it works! Thanks, flutter team for implementing it.
If we could have the ability to add custom cursors( .cur files) as an asset as well that would be really great.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants