Commit Graph

43 Commits

Author SHA1 Message Date
Pietro Gagliardi a96e76a4b5 More TODOs. 2015-09-02 16:43:20 -04:00
Pietro Gagliardi 3f1b72721e Implemented uiTab minimum size and uiWindow resize restriction. 2015-09-02 16:02:06 -04:00
Pietro Gagliardi 54332b90fb Finally merged out the redo folder. 2015-09-02 13:48:06 -04:00
Pietro Gagliardi ec4ac0d596 Started the migration of uiTab on Windows. Phew; we're getting close... 2015-08-31 11:31:42 -04:00
Pietro Gagliardi 8213eac2d7 Moved everything up a directory level. 2015-08-27 12:05:11 -04:00
Pietro Gagliardi ab4c534360 Migrated windows/tab.c. 2015-05-15 18:54:13 -04:00
Pietro Gagliardi a517beccae Added uiContainerUpdate() calls to each SetMargined(). 2015-05-11 12:42:13 -04:00
Pietro Gagliardi c0c6b4fed6 Made all variables that refer to a tab page be called 'page'. 2015-05-10 21:22:22 -04:00
Pietro Gagliardi bcafe6806a Made uiTab on Windows only resize when explicitly asked to rsize, not on every WM_WINDOWPOSCHANGED. This is important for making resizes smooth. 2015-05-10 12:54:11 -04:00
Pietro Gagliardi 24d63adb51 Migrated the Windows backend to the new bin. 2015-05-10 12:48:11 -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 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 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 329b4f29dd Implemented tab navigation across tabs on Windows. 2015-05-06 18:37:21 -04:00
Pietro Gagliardi c5e5fbd909 Laid the foundation for proper tab navigation in uiTabs. 2015-05-06 18:05:07 -04:00
Pietro Gagliardi d247e76866 Implemented uiTabInsertPageBefore() on Windows. 2015-05-06 14:09:20 -04:00
Pietro Gagliardi 956b78718f Migrated windows/tab.c to ptrarray and fixed the build. 2015-05-06 13:37:23 -04:00
Pietro Gagliardi 526e9b81ea Fixed bin destruction handling on the Windows backend. 2015-05-06 00:52:24 -04:00
Pietro Gagliardi 0ad6cbb4b5 Removed a now-stale TODO thanks to some past commits. 2015-05-04 20:11:05 -04:00
Pietro Gagliardi 854d1f49af Made preferredSize function names consistent on Windows. Stale TODO cleanup. 2015-05-04 14:56:26 -04:00
Pietro Gagliardi 7f41a3982f Finished implementing uiTab enable/disable on Windows. 2015-05-04 14:45:18 -04:00
Pietro Gagliardi 5c9751f4d4 Set up a framework on Windows for implementing tab enable/disable. 2015-05-04 14:42:23 -04:00
Pietro Gagliardi 4716781e78 Finished container enable/disable on Windows for now. 2015-05-04 14:05:36 -04:00
Pietro Gagliardi fd4c559e86 Removed the typename argument from uiAlloc() and uiRealloc(). 2015-05-03 19:52:24 -04:00
Pietro Gagliardi 23cfcc8c6d Confirmed that tabs are taken into account with TCM_ADJUSTRECT on Windows. 2015-05-03 17:21:48 -04:00
Pietro Gagliardi aa568e51cf Implemented uiControlPreferredSize() on Windows uiTabs. 2015-05-03 17:13:40 -04:00
Pietro Gagliardi fc1044aab9 Quick TODOTODOTODO... resolution. 2015-05-03 16:56:58 -04:00
Pietro Gagliardi dc5b7f4c59 Some TODO resolution in windows/tab.c. Wine bug filed (https://bugs.winehq.org/show_bug.cgi?id=38527); first tab behavior verified with program in wine bug. 2015-05-03 11:47:06 -04:00
Pietro Gagliardi 454b3ecb03 Changed the various OS-side control creation functions to use Make like uiMakeContainer() does instead of New. 2015-05-02 20:51:00 -04:00
Pietro Gagliardi 5094f08994 Fixed build errors from the previous commit. 2015-05-01 10:16:02 -04:00
Pietro Gagliardi 10345a2c7d Implemented the new uiTab methods on Windows. 2015-04-30 15:50:03 -04:00
Pietro Gagliardi 63f1f7576e Fixed a dumb typo in windows/tab.c that prevented tab switching from working correctly on Windows. 2015-04-29 23:05:15 -04:00
Pietro Gagliardi 6c6bce3702 Moved everything back to the top level. 2015-04-29 11:02:38 -04:00
Pietro Gagliardi 90bb60a435 Moved windows/newcontrol.c and windows/tab.c back. Totally not migrated yet. 2015-04-29 01:34:03 -04:00
Pietro Gagliardi 55fe50463f Changed Windows onWM_DESTROY to a generic onDestroy handler with a data parameter. This will make decoupling widget destruction from WM_DESTROY (like we did on GTK+ by decoupling from ::destroy) easier. 2015-04-18 18:02:16 -04:00
Pietro Gagliardi 63ccceed4f Implemented uiTabDeletePage() on Windows. I'm really getting unhappy with the way we're implemented right now... 2015-04-18 14:41:28 -04:00
Pietro Gagliardi 492099f85a Implemented lifetime stuff on Windows Tab. Starting to wonder why I'm bothering, or if this is even working. Anyway now I can write uiTabDeletePage()... 2015-04-18 14:19:42 -04:00
Pietro Gagliardi 9f0729de1c Changed uiParentSetChild() to uiParentSetMainControl(). Backend changes incoming. 2015-04-17 13:43:01 -04:00
Pietro Gagliardi c4499416d9 Migrated windows/tab.c. 2015-04-17 11:18:45 -04:00
Pietro Gagliardi a2b7492b32 Fixed the rest of the Windows build errors. IT STILL WORKS! Now to fix warnings, if any... 2015-04-16 09:59:05 -04:00
Pietro Gagliardi 83cb200582 Fixed some build errors in the Windows backend. 2015-04-16 09:53:44 -04:00
Pietro Gagliardi 2cc7899d89 Converted windows/tab.c. 2015-04-16 09:32:34 -04:00
Pietro Gagliardi e69c0c93eb Split all OS backends into their own folders. 2015-04-15 18:49:45 -04:00