Go to the source code of this file.
Functions | |
win_widget_t * | win_img_new (hpg_pattern_t *pattern, hpg_t *image) |
Creates a new image widget. |
Image widgets are used to place images or patterns on the screen as decoration or for informational purposes. They are useful on their own, or to place underneath an existing transparent widget or oversized box cell as a background.
Definition in file winimg.h.
win_widget_t* win_img_new | ( | hpg_pattern_t * | pattern, | |
hpg_t * | image | |||
) |
Creates a new image widget.
Allocates and returns a new image widget, with its image and pattern set to the given values.