-
Notifications
You must be signed in to change notification settings - Fork 143
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
Implementation of Pattern to enable multi zoom level support for win32 #1265
Implementation of Pattern to enable multi zoom level support for win32 #1265
Conversation
4ba3d27
to
37053e2
Compare
61b0a41
to
76e5391
Compare
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Pattern.java
Outdated
Show resolved
Hide resolved
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Pattern.java
Outdated
Show resolved
Hide resolved
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Pattern.java
Outdated
Show resolved
Hide resolved
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Pattern.java
Outdated
Show resolved
Hide resolved
24473af
to
bc79513
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#1236 is merged. Rebase on master
and resolve the conflicts.
bc79513
to
7748ad3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@amartya4256 thank you for contributing this. I added my initial evaluation. Once these have been resolved and the basics (checklist) have been checked I can move to the testing phase.
.../org.eclipse.swt.tests.win32/ManualTests/org/eclipse/swt/widgets/PatternWin32ManualTest.java
Show resolved
Hide resolved
.../org.eclipse.swt.tests.win32/ManualTests/org/eclipse/swt/widgets/PatternWin32ManualTest.java
Show resolved
Hide resolved
.../org.eclipse.swt.tests.win32/ManualTests/org/eclipse/swt/widgets/PatternWin32ManualTest.java
Outdated
Show resolved
Hide resolved
.../org.eclipse.swt.tests.win32/ManualTests/org/eclipse/swt/widgets/PatternWin32ManualTest.java
Show resolved
Hide resolved
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Pattern.java
Outdated
Show resolved
Hide resolved
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Pattern.java
Outdated
Show resolved
Hide resolved
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Pattern.java
Outdated
Show resolved
Hide resolved
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Pattern.java
Outdated
Show resolved
Hide resolved
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Pattern.java
Outdated
Show resolved
Hide resolved
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Pattern.java
Outdated
Show resolved
Hide resolved
c789fa1
to
ab6e47c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I forgot about one: rename the private method in the test
.../org.eclipse.swt.tests.win32/ManualTests/org/eclipse/swt/widgets/PatternWin32ManualTest.java
Outdated
Show resolved
Hide resolved
b8ba26f
to
0f3c523
Compare
This commit contributes to multi zoom level support of pattern using a map of zoom levels with relevant patterns. Contributes to eclipse-platform#62 and eclipse-platform#131
0f3c523
to
075f477
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested the Snippet219
and when I move from the 100% monitor to the 200% monitor I see that the region (content) is resized but the shell isn't
200% (ignore the background, it's my wallpaper)
Can you please look into that @amartya4256 ?
EDIT: wrong PR --> moved to #1278 (review)
Do you mean for this PR: #1278? |
I mistkingly requested changes that were for the PR #1278
Addressed issues
Requires
Note: Only the last commit in this PR is to be reviewed. Previous commit(s) belong to the prerequisite PR(s)
Description
This PR introduces multi zoom level support of pattern using a map which maintains patterns at different zoom level. The map is used by a package protected method which is used in GC in the place where the handle of patterns are needed. Since, testing patterns automatically for how they look visually is a bit difficult, so there's a snippet created for manual testing of the same pattern at different zoom levels.