Commit Graph

30 Commits

Author SHA1 Message Date
Pietro Gagliardi f04bbe1bdc Laid the foundation for text rendering into uiAreas on Windows. GTK+ and Cocoa backends need no special setup (we can start using Pango and Core Text respectively without extra initialization). Not sure when I'll actually add the APIs to draw text, but hopefully it's soon because I really really really need to start working on what I was actually going to USE this library for, and text rendering is the last major prerequisite. 2015-12-22 00:35:52 -05:00
Pietro Gagliardi e6e264408f Implemented dialog parenting on Windows. Eliminated the dialog helper. uiArea still works (and still responds to key events), but IsDialogMessage() isn't being called for the active window anymore... 2015-11-28 10:53:48 -05:00
Pietro Gagliardi 3a5a4557ab Switch uiArea from using a custom message pump to using a message filter for input handling. This allows us to rewrite the dialog system to avoid needing to block ALL windows and set a proper parent window. 2015-11-27 21:45:30 -05:00
Pietro Gagliardi d29d36a6cd Fixed assorted build errors in the MSVC build. It works! And MinGW-w64 will need isolation awareness... 2015-11-27 19:59:46 -05:00
Pietro Gagliardi f93d9a4c91 More WPF foundations/boilerplate work. 2015-11-25 14:38:40 -05:00
Pietro Gagliardi e4e72e55bb Merged the Windows uiArea back into the main library. 2015-10-09 11:17:58 -04:00
Pietro Gagliardi 54332b90fb Finally merged out the redo folder. 2015-09-02 13:48:06 -04:00
Pietro Gagliardi 3a607cbbf2 Moved back a whole bunch of Windows files. 2015-08-31 12:45:53 -04:00
Pietro Gagliardi 8213eac2d7 Moved everything up a directory level. 2015-08-27 12:05:11 -04:00
Pietro Gagliardi 721d58d4b9 Brought init.c, text.c, and util.c back on Windows. Migrated util.c; still need to do init.c. 2015-05-15 21:09:13 -04:00
Pietro Gagliardi d13c0f3cbd Revert "Attempted to improve the profiler a bit, making it more like a real profiler. It doesn't quite work yet."
It won't work. We spend most of our time in GetMessage(). Thanks to various people on Stack Overflow.

This reverts commit a342998263.
2015-05-11 11:46:34 -04:00
Pietro Gagliardi a342998263 Attempted to improve the profiler a bit, making it more like a real profiler. It doesn't quite work yet. 2015-05-10 23:02:16 -04:00
Pietro Gagliardi 349d54b2f1 More commentary and TODOs about the previous commit(s). 2015-05-09 16:04:54 -04:00
Pietro Gagliardi bd4716c949 Started code for handling WM_QUERYENDSESSION and its console equivalent. 2015-05-09 14:22:51 -04:00
Pietro Gagliardi a6c86cc863 More Windows uninit stuff. 2015-05-08 17:17:03 -04:00
Pietro Gagliardi 3f3191ea7a More Windows uiUninit() implementation. 2015-05-08 15:01:23 -04:00
Pietro Gagliardi 04923399fe Implemented uninitMenus() on Windows. 2015-05-08 14:23:22 -04:00
Pietro Gagliardi 85ca2a0901 Wrote uninitAlloc() on Windows. 2015-05-08 14:05:16 -04:00
Pietro Gagliardi b60f17ee5a Added type names to the memory allocator on Windows. More TODOs. 2015-05-08 10:34:59 -04:00
Pietro Gagliardi 27d6994bdc Implemented stub uiUninit()s. 2015-05-07 22:32:17 -04:00
Pietro Gagliardi bc2e6d134b Started working on a pointer array implementation. This also means we'll need the C standard library for memcpy()/memmove(), so drop the DisableThreadLibraryCalls() TODO. 2015-05-05 22:55:02 -04:00
Pietro Gagliardi e808b155cc Moved a TODO to the long-term TODO list. 2015-05-04 20:11:58 -04:00
Pietro Gagliardi fd4c559e86 Removed the typename argument from uiAlloc() and uiRealloc(). 2015-05-03 19:52:24 -04:00
Pietro Gagliardi e8600450aa TODO elaboration. 2015-05-03 12:36:35 -04:00
Pietro Gagliardi 61bcfa1a7e Cleaned up and resolved DllMain() TODOs and issues. 2015-05-03 12:34:10 -04:00
Pietro Gagliardi a70d56d77c Switched to the Windows API heap functions in windows/alloc.c. 2015-05-02 12:27:53 -04:00
Pietro Gagliardi effb919176 Added DllMain() to the Windows code. 2015-05-01 10:19:44 -04:00
Pietro Gagliardi 6c6bce3702 Moved everything back to the top level. 2015-04-29 11:02:38 -04:00
Pietro Gagliardi 7c91616af1 More old code file removal. 2015-04-28 13:53:45 -04:00
Pietro Gagliardi e69c0c93eb Split all OS backends into their own folders. 2015-04-15 18:49:45 -04:00