Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * set favicon
- */
- void
- gui_window_set_icon(struct gui_window *g, hlcache_handle *icon)
- {
- struct bitmap *icon_bitmap;
- #ifdef WITH_BMP
- if (icon != NULL && content_get_type(icon) == CONTENT_ICO)
- nsico_set_bitmap_from_size(icon, 16, 16);
- #endif
- icon_bitmap = (icon != NULL) ? content_get_bitmap(icon) : NULL;
- fbtk_set_bitmap(favicon, icon_bitmap);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement