diff dep/animia/src/win/quartz.mm @ 182:c413e475f496

dep/animia: various stylistic changes
author Paper <mrpapersonic@gmail.com>
date Mon, 04 Dec 2023 13:19:54 -0500
parents 44c5e6dd9488
children
line wrap: on
line diff
--- a/dep/animia/src/win/quartz.mm	Mon Dec 04 12:14:30 2023 -0500
+++ b/dep/animia/src/win/quartz.mm	Mon Dec 04 13:19:54 2023 -0500
@@ -1,3 +1,11 @@
+/* We actually DON'T need Objective-C for most of this file.
+ * GetWindowTitle() is the only function that really needs it.
+ * (and even then, we can use the C bindings for it...)
+ *
+ * However, being able to use the Foundation classes makes things
+ * so, so, so much easier, and so I've decided to make this file
+ * in Objective-C++.
+*/
 #include "animia/win/quartz.h"
 #include "animia.h"
 
@@ -24,6 +32,7 @@
 	return true;
 }
 
+/* This is really the only a*/
 static bool GetWindowTitle(unsigned int wid, std::string& result) {
 	NSWindow* window = [NSApp windowWithWindowNumber: wid];
 	if (!window)