Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Views and Controls: support background colours #762

Merged
merged 2 commits into from
Sep 28, 2023
Merged

Conversation

compnerd
Copy link
Owner

Generate a solid brush when we assign a background colour to a view. This will then be used to erase the background to a solid fill when rendering the view. This is sufficient in some cases but not in others. The application of the null brush should give us a transparent view but seems to not function properly.

Generate a solid brush when we assign a background colour to a view.
This will then be used to erase the background to a solid fill when
rendering the view. This is sufficient in some cases but not in others.
The application of the null brush should give us a transparent view but
seems to not function properly.
@codecov
Copy link

codecov bot commented Sep 28, 2023

Codecov Report

Merging #762 (48482f6) into main (205ab85) will increase coverage by 0.11%.
The diff coverage is 7.14%.

@@            Coverage Diff             @@
##             main     #762      +/-   ##
==========================================
+ Coverage   27.01%   27.13%   +0.11%     
==========================================
  Files         130      130              
  Lines        5385     5399      +14     
==========================================
+ Hits         1455     1465      +10     
- Misses       3930     3934       +4     
Files Coverage Δ
Sources/SwiftWin32/Views and Controls/View.swift 39.92% <7.14%> (-0.92%) ⬇️

... and 1 file with indirect coverage changes

@compnerd compnerd merged commit 885771e into main Sep 28, 2023
9 of 11 checks passed
@compnerd compnerd deleted the compnerd/background branch September 28, 2023 16:43
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