Scott Moreau
c6a7e4b277
toytoolkit: Don't draw shadows for maximized windows.
...
Add THEME_FRAME_MAXIMIZED flag so the theming system can know not to draw
shadows for maximized windows. This allows maximized surfaces' content to be
sized and placed in a more expectable fashion.
12 years ago
Martin Minarik
5f3eddc07a
weston: Clip window title text to the frame
...
Fixes an issue with text overflowing the available frame space.
13 years ago
Kristian Høgsberg
f96e6c00d9
Share code to to classify pointer location in frame
13 years ago
Kristian Høgsberg
5a315bc72d
Move cairo-util to shared/
13 years ago
Kristian Høgsberg
5adb480e60
window: Move frame rendering to cairo-util
13 years ago
Kristian Høgsberg
42abdf5c80
window: Move theme rendering code to cairo-util
13 years ago
Kristian Høgsberg
919fbf0fee
cairo-util: Use nearest filtering for rendering frame
...
We don't need bilinear filtering here, the corners aren't scaled and
the scaled edges are just stretched along one axis.
13 years ago
Kristian Høgsberg
126f85535f
window.c: Fix the stretch scaling code
13 years ago
Kristian Høgsberg
ec323d222c
window.c: Increase drop shadow fluffiness
13 years ago
Ustun Ergenoglu
6dc0f86dbd
cairo-util: load_cairo_surface returns NULL if loading the file fails.
...
Otherwise a non-existent file in the configuration crashes the desktop shell.
Signed-off-by: Ustun Ergenoglu <ego@ustun.fi>
13 years ago
Kristian Høgsberg
f02a649a3c
Consolidate image loading code and move to shared/
13 years ago
Tiago Vignatti
0a26641626
clients: fix spelling
...
Signed-off-by: Tiago Vignatti <vignatti@freedesktop.org>
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
13 years ago
Kristian Høgsberg
3d5437c48d
Add support for webp image format
13 years ago
Kristian Høgsberg
902865c757
cairo-util: Only look at first two bytes for jpegs
...
The next two bytes aren't fixed.
13 years ago
Kristian Høgsberg
804e05185b
cairo-util: Don't anger png.h by including setjmp.h
...
Older libpngs are a bit fussy about this, apparently.
13 years ago
Kristian Høgsberg
d654876510
cairo-util: Add png loader and image type sniffing
13 years ago
Kristian Høgsberg
ffe3bba13e
cairo-util: Return NULL instead of exit() on jpeg load failure
13 years ago
Kristian Høgsberg
02453dd699
cairo-util: Dont use non-standard JCS_EXT_BGRX color space
...
Everytime somebody has to write a channel swizzling loop,
God kills a kitten... and a dolphin and a unicorn.
13 years ago
Kristian Høgsberg
bf8bd5aa3a
cairo-util: Fix another last-minute typo
13 years ago
Kristian Høgsberg
27d3866045
cairo-util: Add helper to load jpeg files
13 years ago
Benjamin Franzke
47eb8f4e91
window: Remove display_flush_cairo_device
...
Rather add a flush_surface utility that
flushed the cairo_device thats associated to a surface.
13 years ago
Kristian Høgsberg
1e164b9afd
Move rounded_rect() to cairo-util.c
13 years ago
Kristian Høgsberg
0cd8f6eded
Drive-by optimization of blur_surface()
14 years ago
Kristian Høgsberg
9a686243b6
Add a drag and drop test client
14 years ago
Kristian Høgsberg
b91cd10fcb
Move cairo-util.[ch] to clients/
14 years ago
Kristian Høgsberg
dcb71b62a0
Update decoration drawing to be less cairo path happy
15 years ago
Kristian Høgsberg
49e868cb05
Fix a few bugs in blur implementation
15 years ago
Kristian Høgsberg
7d7b5dbf4d
Tweak theme a bit
15 years ago
Kristian Høgsberg
5fc96ff6e2
Dont use an image surface for the tmp
...
It may have a incompatible stride and there's no point
in using a cairo surface for this.
15 years ago
Kristian Høgsberg
0ac16f056d
Switch to cairo-drm, drop struct buffer hacks.
16 years ago
Kristian Høgsberg
ffd710e653
Put Wayland under the MIT license.
16 years ago
Kristian Høgsberg
e9d550bdd4
Optimize blur further, resize gears with window.
16 years ago
Kristian Høgsberg
873302649a
Optimize blur a bit more.
16 years ago
Kristian Høgsberg
10bdd298b8
Optimize window blur calculation.
16 years ago
Kristian Høgsberg
2f2cfae227
Factor out common cairo code, add blur function.
16 years ago