summaryrefslogtreecommitdiff
path: root/AUTHORS
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2019-10-05 22:52:11 -0400
committerraveit65 <[email protected]>2019-10-20 16:47:40 +0200
commit75c6e6c3682bc8ac5ef4803a6670b2cc57ed5c4f (patch)
treebee9b9ca5b7fc750db3bbdc51eda1cca89c53b97 /AUTHORS
parentf161cbffaf865ec24efcbd790196a73e928b5b3f (diff)
downloadmarco-75c6e6c3682bc8ac5ef4803a6670b2cc57ed5c4f.tar.bz2
marco-75c6e6c3682bc8ac5ef4803a6670b2cc57ed5c4f.tar.xz
theme: Render window control buttons and icons as surfaces
When loading window control buttons and icon as pixbufs, we just set them as the source for the cairo context used to paint them. Instead, we now convert them to cairo surfaces and scale them to the correct display density before painting them. This allows us to load higher resolution assets (i.e. at twice the size) and by explicitly setting the intended size in the theme draw_ops, we can then scale them down to fit lower resolution displays, or render them at full density for HiDPI displays.
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions