typedefs and comments

This commit is contained in:
2026-05-06 21:24:08 +07:00
parent 9d3528599a
commit 2b7353248d
20 changed files with 238 additions and 225 deletions
+9 -12
View File
@@ -3,20 +3,17 @@
#include "types.h"
struct absinthe_toplevel *toplevel_at(struct absinthe_server *server, double lx,
double ly, struct wlr_surface **surface, double *sx, double *sy);
absn_toplevel *toplevel_at(absn_server *server, double lx, double ly,
struct wlr_surface **surface, double *sx, double *sy);
bool toplevel_is_unmanaged(struct absinthe_toplevel *toplevel);
bool toplevel_is_unmanaged(absn_toplevel *toplevel);
void toplevel_update_geom(struct absinthe_toplevel *toplevel);
void toplevel_update_borders_geom(struct absinthe_toplevel *toplevel);
void toplevel_get_geom(absn_toplevel *toplevel);
void toplevel_set_pos(struct absinthe_toplevel *toplevel, int32_t x, int32_t y);
void toplevel_set_size(struct absinthe_toplevel *toplevel, int32_t width,
int32_t height);
void toplevel_set_fullscreen(struct absinthe_toplevel *toplevel,
bool fullscreen);
void toplevel_set_border_color(struct absinthe_toplevel *toplevel,
const float color[4]);
void toplevel_set_pos(absn_toplevel *toplevel, int32_t x, int32_t y);
void toplevel_set_size(absn_toplevel *toplevel, int32_t width, int32_t height);
void toplevel_set_geom(absn_toplevel *toplevel, struct wlr_box *geom);
void toplevel_set_fullscreen(absn_toplevel *toplevel, bool fullscreen);
void toplevel_set_border_color(absn_toplevel *toplevel, const float color[4]);
#endif