git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@84 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-09-30 22:23:54 +00:00
parent 13164f0ed5
commit a5200bdb3f
5 changed files with 12 additions and 12 deletions

View File

@@ -8,11 +8,13 @@ int main() {
MwWidget button = MwCreateWidget(MwButtonClass, "button", window, 50, 50, 400, 400);
MwLLPixmap px = MwLoadImage(window, "examples/picture.png");
MwVaApply(window,
MwNiconPixmap, px,
NULL);
MwVaApply(button,
MwNpixmap, px,
NULL);
MwWindowSetIcon(window, px);
MwLoop(window);
}