Skip to content

made DVIGFX::color565() static#14

Open
Lorandil wants to merge 1 commit intoadafruit:masterfrom
Lorandil:master
Open

made DVIGFX::color565() static#14
Lorandil wants to merge 1 commit intoadafruit:masterfrom
Lorandil:master

Conversation

@Lorandil
Copy link

The change allows to use DVIGFX16::color565() without the need of having access to a specific DVIGFX16 object.

It comes in handy when

  • the DVIGFX16 object isn't accessible, but a color parameter is required
  • the object containing the DVIGFX16 object has a long name or is deeply nested

There is no risk as the function only combines and returns the given arguments.

Best regards,
Sven

This allows to use DVIGFX16::color565() without the need of having access to a specific DVIGFX16 object.
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

Successfully merging this pull request may close these issues.

1 participant