bug fixes + general X axis splitting!

This commit is contained in:
Emile Clark-Boman 2025-09-16 21:30:14 +10:00
parent 5e99b09f8a
commit dce97e6b3e
6 changed files with 69 additions and 33 deletions

View file

@ -26,10 +26,13 @@ void rebind_surface(struct ct_surface *const surface,
#define sfpos(surface, x, y) (x = sfposx(surface), y = sfposy(surface))
#define sfsize(surface, width, height) (width = sfwidth(surface), height = sfheight(surface))
void sclear(struct ct_surface *const surface);
int swidth(const struct ct_surface *const surface);
int sheight(const struct ct_surface *const surface);
int sposx(const struct ct_surface *const surface);
int sposy(const struct ct_surface *const surface);
int sfwidth(const struct ct_surface *const surface);
int sfheight(const struct ct_surface *const surface);
int sfposx(const struct ct_surface *const surface);
int sfposy(const struct ct_surface *const surface);
struct ct_dims *sfdims(const struct ct_surface *const surface);
void sfclear(struct ct_surface *const surface);
void sfflush(struct ct_surface *const surface);
#endif /* CURSETREE_SURFACE_H */