89f4bc4fc4 
								
							
								 
							
						 
						
							
							
								
								window.c: Don't put titlebars on menu windows  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								c680e90489 
								
							
								 
							
						 
						
							
							
								
								window.c: Use frame code for drawing menus  
							
							... 
							
							
 
							
							This gives us a nice frame and drop shadows for the menus. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								c0bf8173dd 
								
							
								 
							
						 
						
							
							
								
								shared: Add out-of-memory handling to theme_create()  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								c228e23b05 
								
							
								 
							
						 
						
							
							
								
								configure.ac: Enable AC_USE_SYSTEM_EXTENSIONS  
							
							... 
							
							
 
							
							AC_USE_SYSTEM_EXTENSIONS enables _XOPEN_SOURCE, _GNU_SOURCE and similar
macros to expose the largest extent of functionality supported by the
underlying system.  This is required since these macros are often
limiting rather than merely additive, e.g. _XOPEN_SOURCE will actually
on some systems hide declarations which are not part of the X/Open spec.
Since this goes into config.h rather than the command line, ensure all
source is consistently including config.h before anything else,
including system libraries.  This doesn't need to be guarded by a
HAVE_CONFIG_H ifdef, which was only ever a hangover from the X.Org
modular transition.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
[pq: rebased and converted more files] 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								3c2360ff9d 
								
							
								 
							
						 
						
							
							
								
								Add new shared/image-loader.h to separate include dependencies  
							
							... 
							
							
 
							
							Before, cairo-util.h would combine pixman and cairo includes.  X11 and
Wayland compositors uses this to load an image as a pixman_image_t but are
forced to include cairo headers.  Clients use load_cairo_surface to
load images as cairo_surface_t's, but are forced to include pixman.h.
We move the load_image pixman prototype to its own header, so compositors
can get at the pixman prototype without including cairo.h and clients
can include the cairo based function without including pixman.h. 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								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. 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								5f3eddc07a 
								
							
								 
							
						 
						
							
							
								
								weston: Clip window title text to the frame  
							
							... 
							
							
 
							
							Fixes an issue with text overflowing the available frame space. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								f96e6c00d9 
								
							
								 
							
						 
						
							
							
								
								Share code to to classify pointer location in frame  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								5a315bc72d 
								
							
								 
							
						 
						
							
							
								
								Move cairo-util to shared/  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								5adb480e60 
								
							
								 
							
						 
						
							
							
								
								window: Move frame rendering to cairo-util  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								42abdf5c80 
								
							
								 
							
						 
						
							
							
								
								window: Move theme rendering code to cairo-util  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								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. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								126f85535f 
								
							
								 
							
						 
						
							
							
								
								window.c: Fix the stretch scaling code  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								ec323d222c 
								
							
								 
							
						 
						
							
							
								
								window.c: Increase drop shadow fluffiness  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								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> 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								f02a649a3c 
								
							
								 
							
						 
						
							
							
								
								Consolidate image loading code and move to shared/  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								0a26641626 
								
							
								 
							
						 
						
							
							
								
								clients: fix spelling  
							
							... 
							
							
 
							
							Signed-off-by: Tiago Vignatti <vignatti@freedesktop.org>
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com> 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								3d5437c48d 
								
							
								 
							
						 
						
							
							
								
								Add support for webp image format  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								902865c757 
								
							
								 
							
						 
						
							
							
								
								cairo-util: Only look at first two bytes for jpegs  
							
							... 
							
							
 
							
							The next two bytes aren't fixed. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								804e05185b 
								
							
								 
							
						 
						
							
							
								
								cairo-util: Don't anger png.h by including setjmp.h  
							
							... 
							
							
 
							
							Older libpngs are a bit fussy about this, apparently. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								d654876510 
								
							
								 
							
						 
						
							
							
								
								cairo-util: Add png loader and image type sniffing  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								ffe3bba13e 
								
							
								 
							
						 
						
							
							
								
								cairo-util: Return NULL instead of exit() on jpeg load failure  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								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. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								bf8bd5aa3a 
								
							
								 
							
						 
						
							
							
								
								cairo-util: Fix another last-minute typo  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								27d3866045 
								
							
								 
							
						 
						
							
							
								
								cairo-util: Add helper to load jpeg files  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								47eb8f4e91 
								
							
								 
							
						 
						
							
							
								
								window: Remove display_flush_cairo_device  
							
							... 
							
							
 
							
							Rather add a flush_surface utility that
flushed the cairo_device thats associated to a surface. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								1e164b9afd 
								
							
								 
							
						 
						
							
							
								
								Move rounded_rect() to cairo-util.c  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								0cd8f6eded 
								
							
								 
							
						 
						
							
							
								
								Drive-by optimization of blur_surface()  
							
							
 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								9a686243b6 
								
							
								 
							
						 
						
							
							
								
								Add a drag and drop test client  
							
							
 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								b91cd10fcb 
								
							
								 
							
						 
						
							
							
								
								Move cairo-util.[ch] to clients/  
							
							
 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								dcb71b62a0 
								
							
								 
							
						 
						
							
							
								
								Update decoration drawing to be less cairo path happy  
							
							
 
							
						 
						
							16 years ago  
				
					
						
							
							
								 
						
							
							
								49e868cb05 
								
							
								 
							
						 
						
							
							
								
								Fix a few bugs in blur implementation  
							
							
 
							
						 
						
							16 years ago  
				
					
						
							
							
								 
						
							
							
								7d7b5dbf4d 
								
							
								 
							
						 
						
							
							
								
								Tweak theme a bit  
							
							
 
							
						 
						
							16 years ago  
				
					
						
							
							
								 
						
							
							
								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. 
							
						 
						
							16 years ago  
				
					
						
							
							
								 
						
							
							
								0ac16f056d 
								
							
								 
							
						 
						
							
							
								
								Switch to cairo-drm, drop struct buffer hacks.  
							
							
 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								ffd710e653 
								
							
								 
							
						 
						
							
							
								
								Put Wayland under the MIT license.  
							
							
 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								e9d550bdd4 
								
							
								 
							
						 
						
							
							
								
								Optimize blur further, resize gears with window.  
							
							
 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								873302649a 
								
							
								 
							
						 
						
							
							
								
								Optimize blur a bit more.  
							
							
 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								10bdd298b8 
								
							
								 
							
						 
						
							
							
								
								Optimize window blur calculation.  
							
							
 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								2f2cfae227 
								
							
								 
							
						 
						
							
							
								
								Factor out common cairo code, add blur function.  
							
							
 
							
						 
						
							17 years ago