Rev 4438 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4438 | Rev 5372 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #ifndef __CONTROL_H__ |
1 | #ifndef __CONTROL_H__ |
2 | #define __CONTROL_H_ |
2 | #define __CONTROL_H_ |
Line 3... | Line 3... | ||
3 | 3 | ||
4 | #include |
4 | #include |
Line 5... | Line 5... | ||
5 | #include "link.h" |
5 | #include "link.h" |
6 | 6 | ||
7 | typedef struct |
7 | typedef struct |
Line 12... | Line 12... | ||
12 | int b; |
12 | int b; |
13 | }rect_t; |
13 | }rect_t; |
Line 14... | Line 14... | ||
14 | 14 | ||
15 | typedef struct ctx |
15 | typedef struct ctx |
16 | { |
- | |
17 | bitmap_t *pixmap; |
16 | { |
18 | int offset_x; |
17 | int offset_x; |
- | 18 | int offset_y; |
|
- | 19 | int *pixmap_data; |
|
19 | int offset_y; |
20 | int pixmap_pitch; |
Line 20... | Line 21... | ||
20 | }ctx_t; |
21 | }ctx_t; |
Line 21... | Line 22... | ||
21 | 22 |