3680.1.1
|
|
|
Sam Spilsbury |
11 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
3680
|
|
|
MC Return |
11 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
3679
|
|
|
MC Return |
11 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
3678
|
|
|
MC Return |
11 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
3677
|
|
|
MC Return |
11 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
3676
|
|
|
Sam Spilsbury |
11 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
3675
|
|
|
MC Return |
11 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
3674
|
|
|
MC Return |
11 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
3673
|
|
|
MC Return |
11 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
3672
|
|
|
MC Return |
11 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
3671
|
|
|
Sam Spilsbury |
11 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
3670
|
|
|
Sam Spilsbury |
11 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
3669
|
|
|
Sam Spilsbury |
11 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
3668
|
|
|
MC Return |
11 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
3667
|
|
*Screenshot, xml:
Better plugin summary. Added option to disable the drawing of the screenshot selection indicator. Added options to change color and opacity of the outline and the inside of the rectangle indicator, default colors have not been changed. Other minor improvements.
*Screenshot, code:
Introduced the new variable bool selectionSizeChanged, which is true if the size of the selection has changed.
We just want to draw the screenshot selection box, if we are grabbed, the size has changed and the CCSM option to draw it is enabled. Do not render anything if indicator is disabled.
Indicator colors are now configurable. Increased indicator box outline line width to 2.0.
Only damage the full screen once, if the grab gets terminated, during grab just damage the region painted, which is the screenshot selection box (LP: #1172234).
*SCreenshot, cleanup:
Minor cleanup in the rendering code. Removed redundant #ifndef USE_GLES compiler option, GLES can cope with enabling and disabling GL_BLEND. Use prefix- instead of postfix increments. Declaration and assignment of local variables in one line. Reduced the scope of the variables x1, y1, x2 and y2. Replaced magic number 65535.0f with const float MaxUShortFloat = std::numeric_limits <unsigned short>::max ();. Indentation fixes. C++ style for comments, added comments.
(LP: #1169353, LP: #1172234). Fixes: https://bugs.launchpad.net/bugs/1169353, https://bugs.launchpad.net/bugs/1172234.
Approved by PS Jenkins bot, Sam Spilsbury.
|
MC Return |
11 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
3666
|
|
|
MC Return |
11 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
3665
|
|
|
MC Return |
11 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
3664
|
|
|
MC Return |
11 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
3663
|
|
|
MC Return |
11 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
3662
|
|
|
MC Return |
11 years ago
|
![Diff](/static/images/ico_diff.gif) |
|