| Summary: | Support for IMAGE_GRAY and IMAGE_DISABLE | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Benjamin Muskalla <b.muskalla> | ||||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | enhancement | ||||||||
| Priority: | P3 | CC: | kRusspamadresse, rsternberg | ||||||
| Version: | 1.3 | ||||||||
| Target Milestone: | 3.0 M4 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 262787 | ||||||||
| Attachments: |
|
||||||||
|
Description
Benjamin Muskalla
These style flags modify images using native calls, which is not possible in RAP. However, decolorizing images could be simple operation on the image data. Contributions are welcome here... As far as I can see, SWT is not using native calls anymore. This means that the SWT code for IMAGE_GRAY and IMAGE_DISABLED can used in RAP with two lines changed. I'll append a patch for this. Created attachment 244406 [details]
Patched Image class to add support for IMAGE_GRAY and IMAGE_DISABLED
Copied from original SWT
Created attachment 244407 [details]
SWT class change adding two constants IMAGE_GRAY and IMAGE_DISABLED
Copied from original SWT. May need to add @Since annotation.
Thanks for your contribution! Would you mind to push your change directly to Gerrit [1]? You'll have to sign your CLA [2] in order to get it approved. [1] See https://www.eclipse.org/rap/source/ [2] https://wiki.eclipse.org/CLA Implemented with change https://git.eclipse.org/r/#/c/36977/. |