diff --git a/examples/image.c b/examples/image.c index 0d8dbc5..0f36e42 100644 --- a/examples/image.c +++ b/examples/image.c @@ -6,9 +6,11 @@ int main() { MwNtitle, "image image", NULL); MwWidget image = MwCreateWidget(MwImageClass, "image", window, 50, 50, 200, 400); - MwWidget image2 = MwCreateWidget(MwImageClass, "image", window, 250, 50, 200, 400); + MwWidget image2 = MwCreateWidget(MwImageClass, "image", window, 250, 50, 200, 200); + MwWidget image3 = MwCreateWidget(MwImageClass, "image", window, 250, 250, 200, 200); MwLLPixmap px = MwLoadImage(window, "examples/picture.png"); MwLLPixmap px2 = MwLoadImage(window, "examples/picture.jpg"); + MwLLPixmap px3 = MwLoadImage(window, "resource/logo.png"); MwVaApply(window, MwNiconPixmap, px, @@ -20,6 +22,9 @@ int main() { MwVaApply(image2, MwNpixmap, px2, NULL); + MwVaApply(image3, + MwNpixmap, px3, + NULL); MwLoop(window); }