Commit Graph

788 Commits

Author SHA1 Message Date
Pietro Gagliardi 9e18ee03e6 Nuked uiParent/uiOSContainer, replacing it with the older uintptr_t/Update() method. I'm not sure if I'm happy with *this* design either... I really have no idea what's clean or elegant here ^^' Fixed initial title/size setting not taking effect on the GTK+ Window bckend. 2015-04-25 13:00:11 -04:00
Pietro Gagliardi d0e213fb04 More TODOs. 2015-04-24 15:59:38 -04:00
Pietro Gagliardi 333d610b0e Hooked up menu events on Windows. We're done! 2015-04-24 15:54:37 -04:00
Pietro Gagliardi 7a1634a387 Made menu IDs on Windows global across all menus. This is what we actually intended... 2015-04-24 15:45:58 -04:00
Pietro Gagliardi 88bbdc4805 Wrote up the actual HMENU creation code on Windows. That just leaves the event handling. 2015-04-24 15:44:29 -04:00
Pietro Gagliardi d28d5c8d3e More TODOs. 2015-04-24 15:29:57 -04:00
Pietro Gagliardi a80f1936f8 Wrote the code that builds menu data structures. That just leaves the code to create the menus in the windows themselves. 2015-04-24 15:26:37 -04:00
Pietro Gagliardi 962b71d773 Added a stub menu creation function (for linking), turned off test program menu generation temporarily, and fixed another Windows build issue. 2015-04-24 14:16:37 -04:00
Pietro Gagliardi c97f95ef10 Fixed some Windows Makefile issues. 2015-04-24 14:11:23 -04:00
Pietro Gagliardi c42b9399cd More Windows stuff. Ugh this is what I was trying to AVOID but oh well 2015-04-24 14:09:48 -04:00
Pietro Gagliardi 3ea84f9bf5 More Windows work. This will just be a flat import for now. I really want to figure something out about uiOSContainers... 2015-04-24 13:59:49 -04:00
Pietro Gagliardi e8adc2a969 More TODOs. 2015-04-23 23:37:27 -04:00
Pietro Gagliardi e4e2c1232f Started readding the Windows backend. Still not too sure about uiOSContainer... 2015-04-23 22:32:58 -04:00
Pietro Gagliardi 34df4b9343 Added initial menu state test for disabled state. 2015-04-23 20:41:25 -04:00
Pietro Gagliardi 92e0ac02b4 Added tests for uiMenuItemSetChecked(). It all works! 2015-04-23 20:37:10 -04:00
Pietro Gagliardi 11ad023f78 Fixed pointer abuse in unix/menu.c. Almost there now... 2015-04-23 20:15:21 -04:00
Pietro Gagliardi 58444b0ea2 Fixed premature ::activate emission in unix/menu.c. Christ Almighty. 2015-04-23 20:07:42 -04:00
Pietro Gagliardi 663a2c84bb Removed the commented-out GTK+ menu deletion functions. I have no idea how I'm going to clean up after package ui. 2015-04-23 19:37:55 -04:00
Pietro Gagliardi 9592affb18 Removed unused fields from the GTK+ menu code. 2015-04-23 19:36:53 -04:00
Pietro Gagliardi b9f855eaec Expanded the menu test. GTK+ is really starting to get on my nerves. 2015-04-23 19:23:14 -04:00
Pietro Gagliardi f416b32477 Cleaned up the GTK+ menu checkbox code. 2015-04-23 19:11:53 -04:00
Pietro Gagliardi 250cda3cad Added skeleton code to test duplicate menu state. 2015-04-23 19:06:52 -04:00
Pietro Gagliardi 26e42bc1ba Hooked menus up to windows on the GTK+ backend. 2015-04-23 18:48:01 -04:00
Pietro Gagliardi e18727cff6 Added menus to the test program. 2015-04-23 18:22:06 -04:00
Pietro Gagliardi 25bd081f71 Thanks to hergertme in irc.gimp.net/#gtk+, we can connect to ::clicked instead of ::toggled for check buttons and check items. This avoids playing the signal blocking game. 2015-04-23 16:48:35 -04:00
Pietro Gagliardi 2688cd48d1 More Unix menu work. 2015-04-23 16:00:34 -04:00
Pietro Gagliardi 1ceb07dcbb More GTK+ menu work. 2015-04-23 15:30:37 -04:00
Pietro Gagliardi cfc4dfb787 Started writing the GTK+ menu code. 2015-04-23 13:11:36 -04:00
Pietro Gagliardi 7618dd6237 Set up menu events. 2015-04-23 12:15:27 -04:00
Pietro Gagliardi 3756657921 Finished uiWindow Unix work. 2015-04-23 10:17:16 -04:00
Pietro Gagliardi 6a90d8c5c6 More GTK+ uiWindow work. Readded the backend's text.c; finally replaced its g_strdup(). 2015-04-23 10:01:39 -04:00
Pietro Gagliardi f90c15fef1 Started rewriting window.c. More TODOs. 2015-04-22 23:03:32 -04:00
Pietro Gagliardi 78ae87409e Started developing a replacement for uiWindow's Unix implementation. Deleted its Internal field. 2015-04-22 22:26:49 -04:00
Pietro Gagliardi b0ed680a4d Readded uiWindow on the GTK+ backend and to the tests. 2015-04-22 19:23:34 -04:00
Pietro Gagliardi 3f101ff591 Re-added and migrated unix/oscontainer.c. 2015-04-22 19:10:54 -04:00
Pietro Gagliardi c46627f8e1 Added linker flags to ban undefined extern functions. 2015-04-22 18:24:16 -04:00
Pietro Gagliardi 94dfb3bb75 Made the test target depend on the make target. 2015-04-22 18:13:40 -04:00
Pietro Gagliardi 405e16660c Fixed the remaining errors. 2015-04-22 17:56:39 -04:00
Pietro Gagliardi db3fe82554 Fixed most errors. 2015-04-22 17:54:05 -04:00
Pietro Gagliardi f5fa6eb2c7 Set up a better build system. Started fixing the build. 2015-04-22 17:40:58 -04:00
Pietro Gagliardi 9777f08356 Migrated box.c to the new codebase. 2015-04-22 17:04:30 -04:00
Pietro Gagliardi 3b32ab8625 Fixed the makefile. Fixed the build. Added files needed for builds. Updated ui_unix.h to account for _UI_EXPORT. 2015-04-22 15:47:37 -04:00
Pietro Gagliardi 647b7892ef Added nonworking makefiles... 2015-04-22 15:04:55 -04:00
Pietro Gagliardi 54ac2f57ce Work on shared library symbol exporting. 2015-04-22 14:09:17 -04:00
Pietro Gagliardi 21d73bad8b Added main.c on the Unix backend to the rewrite. 2015-04-22 13:53:22 -04:00
Pietro Gagliardi bba58dbcb0 Started a rewrite. Started the test program. Added ui.idl. 2015-04-22 13:42:52 -04:00
Pietro Gagliardi 662146f46e Redid the interface a bit. 2015-04-22 13:08:21 -04:00
Pietro Gagliardi 9519c59011 More documentation work. 2015-04-22 11:47:44 -04:00
Pietro Gagliardi d7d6de3306 More planning for a rewrite. Changed uiParent to uiOSContainer. 2015-04-22 09:48:34 -04:00
Pietro Gagliardi f411a02312 Started planning a do-over of the library. 2015-04-21 20:02:25 -04:00