mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
Rename grid_* functions to term_*
This commit is contained in:
parent
e2bdda8c61
commit
1ecd4a6ae1
8 changed files with 376 additions and 374 deletions
29
grid.h
29
grid.h
|
|
@ -1,32 +1,3 @@
|
|||
#pragma once
|
||||
|
||||
#include "terminal.h"
|
||||
|
||||
void grid_damage_all(struct grid *grid);
|
||||
void grid_damage_update(struct grid *grid, int start, int length);
|
||||
void grid_damage_erase(struct grid *grid, int start, int length);
|
||||
void grid_damage_scroll(
|
||||
struct grid *grid, enum damage_type damage_type,
|
||||
struct scroll_region region, int lines);
|
||||
|
||||
void grid_erase(struct grid *grid, int start, int end);
|
||||
|
||||
void grid_cursor_to(struct grid *grid, int row, int col);
|
||||
void grid_cursor_left(struct grid *grid, int count);
|
||||
void grid_cursor_right(struct grid *grid, int count);
|
||||
void grid_cursor_up(struct grid *grid, int count);
|
||||
void grid_cursor_down(struct grid *grid, int count);
|
||||
|
||||
void grid_scroll(struct grid *grid, int rows);
|
||||
void grid_scroll_reverse(struct grid *grid, int rows);
|
||||
|
||||
void grid_scroll_partial(
|
||||
struct grid *grid, struct scroll_region region, int rows);
|
||||
void grid_scroll_reverse_partial(
|
||||
struct grid *grid, struct scroll_region region, int rows);
|
||||
|
||||
int grid_cursor_linear(const struct grid *grid, int row, int col);
|
||||
|
||||
|
||||
//void grid_cursor_to(struct grid *grid, int pos);
|
||||
//void grid_cursor_move(struct grid *grid, int cols);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue