From b0ac6dcb492b68404d800fe8ed0c7393d487fa4b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 4 Aug 2019 20:19:01 +0200 Subject: Add puglSetClassName() --- test/pugl_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/pugl_test.c') diff --git a/test/pugl_test.c b/test/pugl_test.c index 285c5d9..e291df7 100644 --- a/test/pugl_test.c +++ b/test/pugl_test.c @@ -314,8 +314,9 @@ main(int argc, char** argv) app.parent = puglNewView(app.world); app.child = puglNewView(app.world); + puglSetClassName(app.world, "Pugl Test"); + const PuglRect parentFrame = { 0, 0, 512, 512 }; - puglInitWindowClass(app.parent, "PuglTest"); puglSetFrame(app.parent, parentFrame); puglSetMinSize(app.parent, borderWidth * 3, borderWidth * 3); puglSetAspectRatio(app.parent, 1, 1, 16, 9); @@ -336,7 +337,6 @@ main(int argc, char** argv) return 1; } - puglInitWindowClass(app.child, "PuglTest"); puglSetFrame(app.child, getChildFrame(parentFrame)); puglInitWindowParent(app.child, puglGetNativeWindow(app.parent)); -- cgit v1.2.1