Rev 8016 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8016 | Rev 8017 | ||
---|---|---|---|
Line -... | Line 1... | ||
- | 1 | struct _img |
|
1 | struct _img |
2 | { |
2 | { |
3 | collection url; |
3 | collection url; |
4 | collection_int xywh; |
4 | collection_int xywh; |
5 | collection_int data; |
5 | collection_int data; |
6 | int getid; |
Line 10... | Line 11... | ||
10 | bool next_url(); |
11 | void set_data(); |
11 | void set_data(); |
12 | void draw(); |
12 | void draw(); |
13 | }; |
13 | }; |
14 | |
Line -... | Line 15... | ||
- | 15 | #ifndef NO_IMG |
|
- | 16 | ||
14 | 17 | dword _img::add(dword _path, _x, _y) |
|
15 | dword _img::add(dword _path, _x, _y) |
18 | { |
16 | { |
19 | char full_path[URL_SIZE]; |
17 | char full_path[URL_SIZE]; |
20 | strncpy(#full_path, _path, URL_SIZE); |
18 | strncpy(#full_path, _path, URL_SIZE); |
21 | GetAbsoluteURL(#full_path, history.current()); |
Line 130... | Line 133... | ||
130 | } |
133 | |
Line 131... | Line 134... | ||
131 | 134 | ImageCache ImgCache; |
|
Line 132... | Line 135... | ||
132 | ImageCache ImgCache; |
135 | |
133 | 136 | */ |
|
- | 137 | ||
- | 138 | #else |
|
- | 139 | dword _img::add(dword _path, _x, _y) {}; |
|
- | 140 | void _img::clear() {}; |
|
- | 141 | dword _img::current_url() {}; |
|
- | 142 | bool _img::next_url() {}; |
|
- | 143 | void _img::set_data(dword _data, _data_len) {}; |
|
- | 144 | void _img::draw(int _x, _y, _start, _height) {}; |
|
- | 145 | ||
- | 146 | #endif=0)>>> |
|
134 | */=0)>>> |
147 |