Merge lp:~widelands-dev/widelands/bug-1654989-fuzzy-terrain-images into lp:widelands

Proposed by GunChleoc
Status: Merged
Merged at revision: 8242
Proposed branch: lp:~widelands-dev/widelands/bug-1654989-fuzzy-terrain-images
Merge into: lp:widelands
Diff against target: 12 lines (+1/-1)
1 file modified
src/ui_basic/checkbox.cc (+1/-1)
To merge this branch: bzr merge lp:~widelands-dev/widelands/bug-1654989-fuzzy-terrain-images
Reviewer Review Type Date Requested Status
kaputtnik (community) testing Approve
Review via email: mp+315095@code.launchpad.net

Commit message

Blit pictorial checkboxes pixel perfect.

Description of the change

Editor terrain messages are no longer fuzzy.

To post a comment you must log in.
Revision history for this message
kaputtnik (franku) wrote :

Small change, great result :D

review: Approve (testing)
Revision history for this message
bunnybot (widelandsofficial) wrote :

Continuous integration builds have changed state:

Travis build 1830. State: passed. Details: https://travis-ci.org/widelands/widelands/builds/193309204.
Appveyor build 1668. State: success. Details: https://ci.appveyor.com/project/widelands-dev/widelands/build/_widelands_dev_widelands_bug_1654989_fuzzy_terrain_images-1668.

Revision history for this message
GunChleoc (gunchleoc) wrote :

It's the little things that count... :P

@bunnybot merge

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/ui_basic/checkbox.cc'
2--- src/ui_basic/checkbox.cc 2016-10-25 08:11:31 +0000
3+++ src/ui_basic/checkbox.cc 2017-01-19 08:24:46 +0000
4@@ -114,7 +114,7 @@
5 const uint16_t w = pic_graphics_->width();
6 const uint16_t h = pic_graphics_->height();
7
8- dst.blit(Vector2f((get_inner_w() - w) / 2., (get_inner_h() - h) / 2.), pic_graphics_);
9+ dst.blit(Vector2f((get_inner_w() - w) / 2, (get_inner_h() - h) / 2), pic_graphics_);
10
11 if (flags_ & Is_Checked) {
12 dst.draw_rect(Rectf(0.f, 0.f, get_w(), get_h()), RGBColor(229, 116, 2));

Subscribers

People subscribed via source and target branches

to status/vote changes: