frontend: switch to new bluelib tty interface
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#ifndef LINE_ED_HL_RANGE_H_
|
||||
#define LINE_ED_HL_RANGE_H_
|
||||
|
||||
#include "tty.h"
|
||||
#include <blue/term/tty.h>
|
||||
|
||||
#include <blue/core/queue.h>
|
||||
|
||||
@@ -20,7 +20,7 @@ enum hl_range_comparison {
|
||||
struct hl_range {
|
||||
unsigned int h_start_x, h_start_y;
|
||||
unsigned int h_end_x, h_end_y;
|
||||
struct s_tty_vmode h_vmode;
|
||||
b_tty_vmode h_vmode;
|
||||
b_queue_entry h_entry;
|
||||
};
|
||||
|
||||
@@ -30,11 +30,11 @@ extern struct hl_range *get_hl_range(
|
||||
struct line_ed *ed, unsigned int x, unsigned int y);
|
||||
extern struct hl_range *get_next_hl_range(struct hl_range *range);
|
||||
extern int apply_hl_range(
|
||||
struct hl_range *range, struct s_tty *tty, unsigned int x, unsigned int y);
|
||||
struct hl_range *range, b_tty *tty, unsigned int x, unsigned int y);
|
||||
|
||||
extern struct hl_range *create_highlight(
|
||||
unsigned long start_x, unsigned long start_y, unsigned long end_x,
|
||||
unsigned long end_y, const struct s_tty_vmode *vmode);
|
||||
unsigned long end_y, const struct b_tty_vmode *vmode);
|
||||
extern enum hl_range_comparison compare_hl_ranges(
|
||||
const struct hl_range *a, const struct hl_range *b);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user