examples: add descriptions to missing files

While at it, move all descriptions to the top of the file.
This commit is contained in:
Simon Ser 2024-11-28 20:04:15 +01:00
parent c0d4d7217b
commit 80ef27c1b7
9 changed files with 48 additions and 19 deletions

View file

@ -1,3 +1,7 @@
/* Simple scene-graph example with a custom buffer drawn by Cairo.
*
* Input is unimplemented. Surfaces are unimplemented.
*/
#include <stdbool.h>
#include <stdlib.h>
@ -13,10 +17,6 @@
#include <wlr/util/log.h>
#include <wlr/interfaces/wlr_buffer.h>
/* Simple scene-graph example with a custom buffer drawn by Cairo.
*
* Input is unimplemented. Surfaces are unimplemented. */
struct cairo_buffer {
struct wlr_buffer base;
cairo_surface_t *surface;