55 |
|
|
56 |
static void move_cursor (int row, int col); |
static void move_cursor (int row, int col); |
57 |
static void clear_to_end (void); |
static void clear_to_end (void); |
58 |
static void clear_frame (void); |
void clear_frame (void); |
59 |
static void clear_end_of_line (int); |
void clear_end_of_line (int); |
60 |
static void ins_del_lines (int vpos, int n); |
static void ins_del_lines (int vpos, int n); |
61 |
static void insert_glyphs (struct glyph *start, int len); |
void insert_glyphs (struct glyph *start, int len); |
62 |
static void write_glyphs (struct glyph *string, int len); |
void write_glyphs (struct glyph *string, int len); |
63 |
static void delete_glyphs (int n); |
void delete_glyphs (int n); |
64 |
void w32_sys_ring_bell (void); |
void w32_sys_ring_bell (void); |
65 |
static void reset_terminal_modes (void); |
void reset_terminal_modes (void); |
66 |
static void set_terminal_modes (void); |
void set_terminal_modes (void); |
67 |
static void set_terminal_window (int size); |
void set_terminal_window (int size); |
68 |
static void update_begin (struct frame * f); |
void update_begin (struct frame * f); |
69 |
static void update_end (struct frame * f); |
void update_end (struct frame * f); |
70 |
static WORD w32_face_attributes (struct frame *f, int face_id); |
static WORD w32_face_attributes (struct frame *f, int face_id); |
71 |
|
|
72 |
static COORD cursor_coords; |
static COORD cursor_coords; |
103 |
#define PICK_FRAME() (updating_frame ? updating_frame : SELECTED_FRAME ()) |
#define PICK_FRAME() (updating_frame ? updating_frame : SELECTED_FRAME ()) |
104 |
|
|
105 |
/* Move the cursor to (row, col). */ |
/* Move the cursor to (row, col). */ |
106 |
void |
static void |
107 |
move_cursor (int row, int col) |
move_cursor (int row, int col) |
108 |
{ |
{ |
109 |
cursor_coords.X = col; |
cursor_coords.X = col; |
116 |
} |
} |
117 |
|
|
118 |
/* Clear from cursor to end of screen. */ |
/* Clear from cursor to end of screen. */ |
119 |
void |
static void |
120 |
clear_to_end (void) |
clear_to_end (void) |
121 |
{ |
{ |
122 |
struct frame * f = PICK_FRAME (); |
struct frame * f = PICK_FRAME (); |
240 |
#define LEFT 1 |
#define LEFT 1 |
241 |
#define RIGHT 0 |
#define RIGHT 0 |
242 |
|
|
243 |
void |
static void |
244 |
scroll_line (int dist, int direction) |
scroll_line (int dist, int direction) |
245 |
{ |
{ |
246 |
/* The idea here is to implement a horizontal scroll in one line to |
/* The idea here is to implement a horizontal scroll in one line to |