Commit Graph

899 Commits

Author SHA1 Message Date
Pietro Gagliardi 3af991651d Changed box.c to use ptrArray for maintaining controls. This also fixes crashes in uiControlDestroy() due to not removing the controls from the box's list and unparenting causing an update. 2015-05-07 22:52:27 -04:00
Pietro Gagliardi e6e1d7ef6e Changed uiBox's controls array to an array of pointers. This is transitional; we move it to ptrArray next. 2015-05-07 22:36:32 -04:00
Pietro Gagliardi 27d6994bdc Implemented stub uiUninit()s. 2015-05-07 22:32:17 -04:00
Pietro Gagliardi 560850dbb9 Added a uiUninit() function. 2015-05-07 22:28:18 -04:00
Pietro Gagliardi 2200cd4394 TODO management. 2015-05-07 21:07:58 -04:00
Pietro Gagliardi e19f52f542 Made Unix uiTab scrollable. 2015-05-07 20:33:09 -04:00
Pietro Gagliardi 4f19b9af5a Added a cbSize field to uiInitOptions. 2015-05-07 20:26:56 -04:00
Pietro Gagliardi 6c9a122a7d Changed the default uiWindowOnClosing() behavior. Decided to keep the int return. 2015-05-07 20:01:17 -04:00
Pietro Gagliardi 553941a5dd More TODO rearranging. 2015-05-07 19:55:42 -04:00
Pietro Gagliardi 34f55321e0 Added a [libui] and a newline to the message printed by complain(). 2015-05-07 19:34:45 -04:00
Pietro Gagliardi 7a78825378 More TODO cleanup. 2015-05-07 18:52:40 -04:00
Pietro Gagliardi e6b33aafd0 Cleaned up the make output to be less noisy. 2015-05-07 18:46:19 -04:00
Pietro Gagliardi 817e13ae61 Set up visibility on OS X. This seems to work... 2015-05-07 18:38:47 -04:00
Pietro Gagliardi 4d21ba8127 More TODOs. 2015-05-07 18:15:09 -04:00
Pietro Gagliardi ab5975eeb5 More TODOs. 2015-05-07 18:14:21 -04:00
Pietro Gagliardi 1d309e2f7c Exported ui_windows.h functions. 2015-05-07 18:13:47 -04:00
Pietro Gagliardi 1be288bb47 More TODO rearrangement and stale TODO removal. 2015-05-07 17:46:52 -04:00
Pietro Gagliardi 727b6871bc Made uiFree(NULL) illegal to spot bugs. 2015-05-07 17:45:55 -04:00
Pietro Gagliardi d853da9028 More TODO resolution. Decided not to worry about onDestroy()/destroy() naming (at least not now). 2015-05-07 17:43:48 -04:00
Pietro Gagliardi efbdf14d5f Made all instances of SetWindowPos() and MoveWindow() use the same wrapper functions so they can all use the same flags. Only the SetWindoPos() that sets the initial size of a uiWindow is unaffected (since that is a special case). 2015-05-07 17:40:13 -04:00
Pietro Gagliardi 3872b9777a Added a page to the test program tab for testing uiBox padding and hidden control interaction, which is currently incorrect. 2015-05-07 17:13:16 -04:00
Pietro Gagliardi d6aeb3c0a7 Added a test for controls that aren't initially visible. More TODOs. 2015-05-07 16:33:33 -04:00
Pietro Gagliardi 49595bb18d Set up proper -m flag manipulation for cross-compiling builds. 2015-05-07 16:02:34 -04:00
Pietro Gagliardi 598a499072 Changed ARCH on Windows to be amd64 for a 64-bit build instead of just 64 for consistency with the OS X one. 2015-05-07 15:47:29 -04:00
Pietro Gagliardi a6478d68d1 Set up a shortcut for 32-bit builds on OS X. 2015-05-07 15:47:10 -04:00
Pietro Gagliardi bf67a8b285 Fixed up darwin/init.m a bit. 2015-05-07 15:42:11 -04:00
Pietro Gagliardi 7c5740351c More TODO rearranging. 2015-05-07 15:12:28 -04:00
Pietro Gagliardi 897eacdd99 Rearranged some TODOs. 2015-05-07 14:46:37 -04:00
Pietro Gagliardi 2107595ce7 "Exported" uiSizing fields. 2015-05-07 14:33:46 -04:00
Pietro Gagliardi f74394fbac "Exported" uiSizingSys fields. 2015-05-07 14:22:31 -04:00
Pietro Gagliardi 6e4845f11f Fixed tab order on Windows. 2015-05-07 14:20:31 -04:00
Pietro Gagliardi f396496c3b uintmax_t/intmax_t differences already settled. 2015-05-07 13:58:30 -04:00
Pietro Gagliardi 22fc8d8967 Decided not to worry about terminate: right now; we'll do that when adding uiShutdown() or uiUninit(). 2015-05-07 13:56:19 -04:00
Pietro Gagliardi 7270b54e81 Same, but for OS X. 2015-05-07 13:48:41 -04:00
Pietro Gagliardi 38a5341603 Fixed public/private namespace clobbering in the Windows backend and a wrong name in ui_darwin.h. 2015-05-07 12:58:33 -04:00
Pietro Gagliardi 91f7096257 Resolved a TODO; we were already doing the right hting. 2015-05-07 12:25:44 -04:00
Pietro Gagliardi bb617883d1 "Fixed" box padded application bug on Windows; more related TODOs. 2015-05-07 12:24:02 -04:00
Pietro Gagliardi a944e32f4e Even more TODO refinement. 2015-05-07 10:30:26 -04:00
Pietro Gagliardi 74a8508f4a Even more TODO updates. 2015-05-07 10:27:00 -04:00
Pietro Gagliardi 73be30984e Some TODO updates. 2015-05-07 10:19:47 -04:00
Pietro Gagliardi 94da27c9ba Decided not to rewrite the resizing logic in windows/tab.c for now. Adjusted a few comments as well. 2015-05-07 10:14:49 -04:00
Pietro Gagliardi 08a1fc7480 Updated some TODOs. 2015-05-07 00:31:54 -04:00
Pietro Gagliardi 089186a88c Implemented read-only uiEntries on OS X. 2015-05-07 00:31:31 -04:00
Pietro Gagliardi 316657e09e I'm wrong; read-only edit controls on Windows DO get their backgrounds from their parents. Thanks gamax92 for help confirming. 2015-05-07 00:23:35 -04:00
Pietro Gagliardi 9d45ca5ecd Implemented read-only uiEntries on GTK+. 2015-05-06 23:18:55 -04:00
Pietro Gagliardi 6a1661fd91 Implemented read-only uiEntries on Windows. 2015-05-06 22:21:11 -04:00
Pietro Gagliardi 372cbf044d Added uiEntryReadOnly() and uiEntrySetReadOnly(). 2015-05-06 22:09:10 -04:00
Pietro Gagliardi 01ff7965da Implemented uiEntryOnChanged() on Mac OS X. 2015-05-06 20:58:55 -04:00
Pietro Gagliardi 180a17a235 Implemented uiEntryOnChanged() on GTK+. 2015-05-06 20:37:42 -04:00
Pietro Gagliardi 5128fed0af Implemented uiEntryOnChanged() on Windows. 2015-05-06 20:06:16 -04:00