mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-16 17:22:44 +03:00
999410adc8
- Optimized browser window caret, uses back-buffer now. ( So no content redraw is scheduled by the frontend just for a caret move ) - Fixed a double redraw issue when the browser reformat is pending and the AES also sends an redraw request because of the resize. - Started to use netsurfs textarea instead of a custom implementation ( to reduce code size ). svn path=/trunk/netsurf/; revision=13191
28 lines
637 B
C
28 lines
637 B
C
#ifndef ATARI_REDRAW_SLOTS_H
|
|
#define ATARI_REDRAW_SLOTS_H
|
|
|
|
/*
|
|
MAX_REDRW_SLOTS
|
|
This is the number of redraw requests that the slotlist can store.
|
|
If a redraw is scheduled and all slots are used, the rectangle will
|
|
be merged to one of the existing slots.
|
|
*/
|
|
#define MAX_REDRW_SLOTS 32
|
|
|
|
/*
|
|
This struct holds scheduled redraw requests.
|
|
*/
|
|
struct rect;
|
|
struct s_redrw_slots
|
|
{
|
|
struct rect areas[MAX_REDRW_SLOTS];
|
|
short size;
|
|
short areas_used;
|
|
};
|
|
|
|
void redraw_slots_init(struct s_redrw_slots * slots, short size);
|
|
void redraw_slot_schedule(struct s_redrw_slots * slots, short x0, short y0, short x1, short y1);
|
|
|
|
|
|
#endif
|