mirror of
https://github.com/tmux/tmux.git
synced 2026-09-05 13:10:45 +00:00
Change some names of things for clarity.
This commit is contained in:
2
image.c
2
image.c
@@ -286,7 +286,7 @@ image_get_canvas_size(const struct image *im, u_int *width,
|
||||
|
||||
/* Return an image's cell dimensions. */
|
||||
void
|
||||
image_get_cell_size(const struct image *im, u_int *sx, u_int *sy)
|
||||
image_get_size_in_cells(const struct image *im, u_int *sx, u_int *sy)
|
||||
{
|
||||
if (sx != NULL)
|
||||
*sx = im->sx;
|
||||
|
||||
2
tmux.h
2
tmux.h
@@ -4251,7 +4251,7 @@ u_short image_get_grid_id(u_int);
|
||||
u_int image_get_id_by_grid_id(u_short);
|
||||
void image_get_size(const struct image *, u_int *, u_int *);
|
||||
void image_get_canvas_size(const struct image *, u_int *, u_int *);
|
||||
void image_get_cell_size(const struct image *, u_int *, u_int *);
|
||||
void image_get_size_in_cells(const struct image *, u_int *, u_int *);
|
||||
const u_char *image_get_pixels(const struct image *, size_t *, size_t *);
|
||||
struct sixel_image *image_get_sixel(const struct image *);
|
||||
void image_set_sixel(struct image *, struct sixel_image *);
|
||||
|
||||
Reference in New Issue
Block a user