mirror of
https://github.com/swaywm/sway.git
synced 2025-11-02 09:01:40 -05:00
Initial swaylock port
This commit is contained in:
parent
a28730edee
commit
b32bf595ae
6 changed files with 327 additions and 758 deletions
|
|
@ -9,11 +9,12 @@ enum background_mode {
|
|||
BACKGROUND_MODE_CENTER,
|
||||
BACKGROUND_MODE_TILE,
|
||||
BACKGROUND_MODE_SOLID_COLOR,
|
||||
BACKGROUND_MODE_INVALID,
|
||||
};
|
||||
|
||||
enum background_mode parse_background_mode(const char *mode);
|
||||
cairo_surface_t *load_background_image(const char *path);
|
||||
void render_background_image(cairo_t *cairo, cairo_surface_t *image,
|
||||
enum background_mode mode, int buffer_width, int buffer_height,
|
||||
int buffer_scale);
|
||||
enum background_mode mode, int buffer_width, int buffer_height);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue