XenevaOS
Loading...
Searching...
No Matches
backdirty.h
Go to the documentation of this file.
1
30#ifndef __BACKDIRTY_H__
31#define __BACKDIRTY_H__
32
33#include "deodhai.h"
34#include <stdint.h>
35
36/* handles the dirty areas of canvas surface */
37/*
38* BackDirtyInitialise -- initialise the back
39* dirty count
40*/
41extern void BackDirtyInitialise();
42
43/*
44* BackDirtyAdd -- add a dirty rect to the list
45* @param x -- X coord of the rect
46* @param y -- Y coord of the rect
47* @param w -- Width of the rect
48* @param h -- Height of the rect
49*/
50extern void BackDirtyAdd(int x, int y, int w, int h);
51
52/*
53* BackDirtyGetRect -- get a rect from the list
54* @param x -- Pointer where to store x
55* @param y -- Pointer where to store y
56* @param w -- mem pointer where to store w
57* @param h -- mem pointer where to store h
58* @param index -- index
59*/
60extern void BackDirtyGetRect(int *x, int *y, int *w, int *h, int index);
61
62extern int BackDirtyGetDirtyCount();
63
64extern void BackDirtyCountReset();
65
66#endif
void BackDirtyCountReset()
Definition backdirty.cpp:98
int BackDirtyGetDirtyCount()
Definition backdirty.cpp:94
void BackDirtyInitialise()
Definition backdirty.cpp:42
void BackDirtyGetRect(int *x, int *y, int *w, int *h, int index)
Definition backdirty.cpp:86
void BackDirtyAdd(int x, int y, int w, int h)
Definition backdirty.cpp:59
#define index(str, chr)
Definition string.h:66