mirror of
https://codeberg.org/adnano/wmenu.git
synced 2025-10-29 05:40:20 -04:00
Move menu and rendering logic into separate files
This commit is contained in:
parent
1104e8e51b
commit
e8782db9c8
10 changed files with 1024 additions and 963 deletions
|
|
@ -1,4 +1,7 @@
|
|||
/* Taken from sway. MIT licensed */
|
||||
#ifndef WMENU_POOL_BUFFER_H
|
||||
#define WMENU_POOL_BUFFER_H
|
||||
|
||||
#include <cairo.h>
|
||||
#include <pango/pangocairo.h>
|
||||
#include <stdbool.h>
|
||||
|
|
@ -19,3 +22,5 @@ struct pool_buffer {
|
|||
struct pool_buffer *get_next_buffer(struct wl_shm *shm,
|
||||
struct pool_buffer pool[static 2], int32_t width, int32_t height, int32_t scale);
|
||||
void destroy_buffer(struct pool_buffer *buffer);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue