Commit Graph

2424 Commits

Author SHA1 Message Date
Pietro Gagliardi 9c2fe78f78 Added uiWindowSetMargined(). 2015-04-09 13:42:42 -04:00
Pietro Gagliardi feefa627dc Implemented all of uiCheckbox on GTK+. 2015-04-09 13:34:27 -04:00
Pietro Gagliardi 8b80b8c05d Implemented uiCheckbox(Set)Checked() on Windows. 2015-04-09 13:10:32 -04:00
Pietro Gagliardi 6d93fce5b5 Implemented uiCheckbox(Set)Checked() on Mac OS X. 2015-04-09 13:01:23 -04:00
Pietro Gagliardi ca607f8fb7 Added uiCheckboxChecked() and uiCheckboxSetChecked(). 2015-04-09 12:52:34 -04:00
Pietro Gagliardi 42e99da587 Implemented uiCheckbox on Mac OS X. Before I implement it on GTK+ I'll go back and add uiCheckboxChecked() and uICheckboxSetChecked(). 2015-04-09 12:47:34 -04:00
Pietro Gagliardi 07f3b4698e Implemented uiCheckbox on Windows. Fixed build issues in the test program. 2015-04-09 12:32:59 -04:00
Pietro Gagliardi d52a0b9a7d Added uiCheckboxOnToggled(). 2015-04-09 12:26:59 -04:00
Pietro Gagliardi 2917d568d2 Added a checkbox to the test program. It won't do anything just yet... 2015-04-09 12:14:18 -04:00
Pietro Gagliardi 67bfe61c93 Implemented the text functions on OS X. 2015-04-09 11:54:02 -04:00
Pietro Gagliardi b5eea413c4 Fixed a runtime parameters bug in the previous commit. 2015-04-09 11:37:29 -04:00
Pietro Gagliardi 79a7e18b8d Implemented the text functions on Windows. 2015-04-09 11:12:01 -04:00
Pietro Gagliardi 1f18d88f56 Split toUTF16() into a new file; other Windows text functions will also be there. 2015-04-09 09:24:08 -04:00
Pietro Gagliardi 723f2af8c6 Implemented the text routines on the GTK+ backend. They work! 2015-04-09 02:56:51 -04:00
Pietro Gagliardi a0073727c8 Re-enabled the text manipulation code in the test program. 2015-04-09 02:43:49 -04:00
Pietro Gagliardi ccdbdf011a Implemented uiEntry on Mac OS X. Now I can get to writing the text and title functions... 2015-04-09 02:35:52 -04:00
Pietro Gagliardi d6decf0abe Implemented uiEntry on Windows. 2015-04-08 23:43:01 -04:00
Pietro Gagliardi da45c51a82 Implemented uiEntry on GTK+. 2015-04-08 23:28:47 -04:00
Pietro Gagliardi c6d3a068a9 Decided to call it uiEntry for now. 2015-04-08 23:22:59 -04:00
Pietro Gagliardi d3f602f64a Wrote up a new test program that will feature uiEntry when I write it (next). 2015-04-08 21:25:30 -04:00
Pietro Gagliardi c6d7e33121 Decided to not call InvalidateRect() in the Windows updateParent(); the Cocoa one doesn't either, and besides, if controls expose something then the parent areas would be invalidated anyway :/ More TODO removal. 2015-04-08 21:08:53 -04:00
Pietro Gagliardi fef91d9820 "Fixed" initial Windows window shows for now (see previous commit). Not yet a clean fix; need to test some things on real Windows first. 2015-04-08 20:53:34 -04:00
Pietro Gagliardi 87bb732832 Fixed flicker and minimize issues on Windows. Simple mistake; should have used WM_WINDOWPOSCHANGED instead of WM_WINDOWPOSCHANGING. Startup looks wrong; will fix that next. 2015-04-08 20:37:32 -04:00
Pietro Gagliardi 47723aa8d9 More TODO resolution. 2015-04-08 20:14:10 -04:00
Pietro Gagliardi 7d349d6a28 More TODO resolution. 2015-04-08 20:01:33 -04:00
Pietro Gagliardi 317217de5a Decided not to take the suggestions of some TODOs in ui.h. 2015-04-08 19:53:15 -04:00
Pietro Gagliardi cbc0403e6a Removed some stale TODOs. 2015-04-08 19:22:13 -04:00
Pietro Gagliardi 410378b451 And implemented proper control showing on Mac OS X. 2015-04-08 19:14:22 -04:00
Pietro Gagliardi 7c2a32fec6 Implemented the parent updating logic on GTK+. 2015-04-08 18:58:59 -04:00
Pietro Gagliardi c1c78b5aeb More TODOs. 2015-04-08 18:32:32 -04:00
Pietro Gagliardi 06c2bb7c25 Fixed initial (and future) window redraw issues on Windows. 2015-04-08 18:04:46 -04:00
Pietro Gagliardi 7b104667ab More TODO resolution. 2015-04-08 17:19:44 -04:00
Pietro Gagliardi ec070204a5 More TODO resolving. More TODOs. 2015-04-08 17:08:25 -04:00
Pietro Gagliardi a97c9297c3 Removed a stale TODO. 2015-04-08 16:35:03 -04:00
Pietro Gagliardi 6d7140160b Decided not to turn new control scrolling parameters into a bitfield. 2015-04-08 16:27:45 -04:00
Pietro Gagliardi abf976ef44 Removed the need for specifying if a GTK+ widget needs to be in a GtkViewport for it to be scrollable; the new control code finds out itself now in the same way newer versions of GTK+ do. 2015-04-08 16:24:11 -04:00
Pietro Gagliardi 090977fa0a Cleaned up window_darwin.m's data structure juggling. 2015-04-08 16:04:27 -04:00
Pietro Gagliardi bb229f9dc1 Built up a better system for handling data cleanup on Mac OS X; thanks to http://stackoverflow.com/questions/29522715/is-there-a-reliable-way-to-destroy-private-data-structures-when-a-standard-nsvie. 2015-04-08 15:53:50 -04:00
Pietro Gagliardi 25b33c2afd More TODOs. 2015-04-08 05:13:38 -04:00
Pietro Gagliardi ab393ed6b2 Fixed compilation errors. Hm, nothing is still freed... 2015-04-08 04:48:03 -04:00
Pietro Gagliardi a850ea3ac5 Cleaned up the uiWindow Darwin implementation. Let's try this again... 2015-04-08 04:38:34 -04:00
Pietro Gagliardi 941825e190 Cleaned out some of that gunk. I can't avoid subclassing the standard controls, but making it so that the uiControl returned by uiDarwinNewControl() can be freed by the caller will help. 2015-04-08 04:35:50 -04:00
Pietro Gagliardi 4ab6251449 Wrote up cleanup gunk on Mac OS X. Really gunk; I don't like what all this does but I don't think there's another way. 2015-04-08 03:38:08 -04:00
Pietro Gagliardi 5597606f18 Better monitoring of Objective-C objects (including main GUI objects). 2015-04-08 02:28:42 -04:00
Pietro Gagliardi d37bc67158 Cleaned up memory leaks in the GTK+ backend. 2015-04-08 01:16:22 -04:00
Pietro Gagliardi f5c8bdd4b3 Finished Windows cleanup management. Everything (almost, only parentWindow is still around, but that shouldn't be a uiWindow to begin with) now cleaned! 2015-04-08 00:51:50 -04:00
Pietro Gagliardi 54e947eed3 Started work on ensuring things get cleaned up. Added a destroy() method to uiControl and implemented most of the work for Windows. 2015-04-08 00:43:35 -04:00
Pietro Gagliardi 521829a0a6 Added allocation logging to Objective-C objects. Fixed some Mac OS X build issues. 2015-04-08 00:27:03 -04:00
Pietro Gagliardi 1d828c8deb Added an awk script to check for leaks in the memory logging output we just added. 2015-04-07 23:53:10 -04:00
Pietro Gagliardi 66788e6edb Implemented the memory logging. 2015-04-07 23:40:18 -04:00