Commit Graph

611 Commits

Author SHA1 Message Date
Pietro Gagliardi cad165e100 Added a document explaining how parents and children relate. I'm starting to think the current system actually does work fine after all... 2015-04-13 22:30:19 -04:00
Pietro Gagliardi 5b29bd6d96 More TODOs. 2015-04-13 19:23:34 -04:00
Pietro Gagliardi d4d0aef8cb Okay, I have no idea what I'm going to do 2015-04-13 19:23:08 -04:00
Pietro Gagliardi 8803080975 More glossary work. 2015-04-13 18:37:07 -04:00
Pietro Gagliardi 61ed97092a More GLOSSARY stuff. 2015-04-13 18:05:34 -04:00
Pietro Gagliardi 50e7ef6f52 More glossary work. 2015-04-13 15:46:16 -04:00
Pietro Gagliardi 8672e5520a Added a glossary. I'm still not too happy with this... 2015-04-13 15:15:33 -04:00
Pietro Gagliardi d5416b8995 Fixed some code in stack.c. 2015-04-13 14:05:07 -04:00
Pietro Gagliardi 79f0650fee Added uiStackRemove(), the first removal function in package ui! That took long enough... Now I can piece together all the control and parent logic... 2015-04-13 13:43:29 -04:00
Pietro Gagliardi 949cd56611 Converted and fixed the Mac OS X code for uiParent. I'm still not happy, but this is DEFINITELY a step in the right direction... Perhaps automatic deletion is a pipe dream :/ I should also really nail the parenting/unparenting logic, but for that I need to add one more method. 2015-04-13 12:53:05 -04:00
Pietro Gagliardi c8ac8a6fea Fixed issues in the GTK+ uiParent change. 2015-04-13 12:12:17 -04:00
Pietro Gagliardi 159337df73 Did the GTK+ conversion to uiParent. Now to build. 2015-04-13 12:05:14 -04:00
Pietro Gagliardi 5a0a0d1584 Finally fixed the Tab content resizing. 2015-04-13 10:15:36 -04:00
Pietro Gagliardi 2005f18624 Fixed notification-sending issue on Windows. 2015-04-13 09:31:57 -04:00
Pietro Gagliardi 8ec3acdde9 Found the wine bug; will fix it next 2015-04-13 02:21:20 -04:00
Pietro Gagliardi 36982b7b38 Fixed some build warnings. 2015-04-13 00:45:34 -04:00
Pietro Gagliardi 0616d0342a Fixed initial content area size on uiWindows. 2015-04-13 00:44:27 -04:00
Pietro Gagliardi 83792ddf80 More TODOs. The problems I noticed earlier only happen on wine, so... 2015-04-13 00:36:30 -04:00
Pietro Gagliardi df8ac38579 Fixed a small undefined-behavior bug in the parent code. Still not working... 2015-04-13 00:04:43 -04:00
Pietro Gagliardi da3d55d4d2 Got rid of struct tabPage (it's just an array of uiParent *s now) and added a uiParentUpdate(). Thought that would fix it, but nope... 2015-04-12 23:20:09 -04:00
Pietro Gagliardi da23756a6a Fix helper: get rid of direct casts to HWND to make errors more obvious. 2015-04-12 23:14:56 -04:00
Pietro Gagliardi cfc3afe09f Fixed some runtime issues. Not all there... 2015-04-12 23:02:23 -04:00
Pietro Gagliardi 524a8c88bb Fixed build issues. Now to fix runtime issues... 2015-04-12 22:57:05 -04:00
Pietro Gagliardi 9a4bd6e79d Finished the Windows uiParent conversion, I think. Now to test. 2015-04-12 22:39:36 -04:00
Pietro Gagliardi f7b3e06147 Some more uiParent migration. 2015-04-12 20:08:32 -04:00
Pietro Gagliardi 7892757479 Finished writing parent_windows.c. 2015-04-12 19:25:16 -04:00
Pietro Gagliardi 5c6d2533ac Set up the foundation for the new Windows uiParent. 2015-04-12 19:19:06 -04:00
Pietro Gagliardi 2209039a6b Set up a unified system for containers, now called parents. 2015-04-12 18:34:54 -04:00
Pietro Gagliardi bd1db7d098 Fixed Mac OS X tab page clearing. I'm really going to oneed to restructure the whole container system... 2015-04-12 16:00:09 -04:00
Pietro Gagliardi f44094b4e4 Implemented uiTab on Mac OS X. It still doesn't quite work yet; switching from one tab and back doesn't show that tab's controls... 2015-04-12 15:46:58 -04:00
Pietro Gagliardi 6121e3a47e Some comment and TODO adjustments. 2015-04-12 14:50:58 -04:00
Pietro Gagliardi 4ff76fec17 More TODOs. 2015-04-12 12:59:39 -04:00
Pietro Gagliardi 7ddd16b30a More TODOs. 2015-04-12 12:53:16 -04:00
Pietro Gagliardi f497afe4ed Made controls transparent to tab backgrounds on Windows. It doesn't quite work right... 2015-04-12 12:38:25 -04:00
Pietro Gagliardi 83221c5c5a Implemented uiTab on Windows. 2015-04-12 03:16:11 -04:00
Pietro Gagliardi 97fa4a9211 Added uiTab to the GTK+ backend. 2015-04-12 01:06:42 -04:00
Pietro Gagliardi 39657d164f Quick update/fix to the test program. 2015-04-12 01:01:56 -04:00
Pietro Gagliardi efca31420b Fixed a major flaw in the GTK+ implementation I only realized now: by calling gtk_widget_show_all() in uiWindowShow(), we override the user's explicit hide settings! Fix it by calling gtk_widget_show() there (to only show the window), and gtk_widget_show_all() in both the new control constructor (to show the new control initially) and in the container constructor (to show that initially too). 2015-04-12 00:59:32 -04:00
Pietro Gagliardi 4a1d80dcae Laid the foundation for tabs. 2015-04-12 00:30:44 -04:00
Pietro Gagliardi db3d67dc2c More TODOs. 2015-04-12 00:15:20 -04:00
Pietro Gagliardi 7f984b29e2 Implemented uiLabel on Mac OS X. 2015-04-11 23:49:34 -04:00
Pietro Gagliardi ca6b5c9dfd Implemented uiLabel on GTK+. More TODOs. 2015-04-11 22:49:41 -04:00
Pietro Gagliardi 51d83e1ebc Made the necessary adjustments to the test program to test labels (and futureproof other layout changes); getting and setting text on Windows works. 2015-04-11 22:33:23 -04:00
Pietro Gagliardi 3699113bd7 Implemented uiLabel on Windows. We need to make a somewhat big change to the test program before we can test getting and setting the label's text, though... 2015-04-11 22:22:19 -04:00
Pietro Gagliardi 80c17ebf71 Set up the foundation for uiLabel. 2015-04-11 21:53:49 -04:00
Pietro Gagliardi e18e535476 Fixed the stupid 32-bit bug I did that fucking malloc pointer to struct instead of array of struct thing I always do again jesus fucking christ shit 2015-04-11 19:34:38 -04:00
Pietro Gagliardi a929a0416d More TODOs. 2015-04-11 18:24:53 -04:00
Pietro Gagliardi f7b001e400 Implemented show/hide/enable/disable on Mac OS X new controls. 2015-04-11 18:17:46 -04:00
Pietro Gagliardi 10045e25f4 Removed a leftover line from the Go version of uiStack that is actually wrong in the C version; I thought it would fix the previous commit but it doesn't... 2015-04-11 17:26:48 -04:00
Pietro Gagliardi 18cff13678 Okay I have no fucking idea what's going on 2015-04-11 17:23:36 -04:00