Rev 6152 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6152 | Rev 7284 | ||
---|---|---|---|
Line 18... | Line 18... | ||
18 | 18 | ||
19 | void _favicon::draw(int x,y) |
19 | void _favicon::draw(int x,y) |
20 | { |
20 | { |
21 | dword favicon_data_decoded; |
21 | dword favicon_data_decoded; |
22 | if (favget.bufpointer) { |
22 | if (favget.bufpointer) { |
23 | img_decode stdcall (favget.bufpointer, favget.data_full_size, 0); |
23 | img_decode stdcall (favget.bufpointer, favget.httpd.content_length, 0); |
24 | if (EAX==0) return; |
24 | if (EAX==0) return; |
25 | favicon_data_decoded = EAX; |
25 | favicon_data_decoded = EAX; |
26 | img_draw stdcall(favicon_data_decoded, x,y, 16, 16, 0, 0); |
26 | img_draw stdcall(favicon_data_decoded, x,y, 16, 16, 0, 0); |
27 | } |
27 | } |