Commit Graph

4216 Commits

Author SHA1 Message Date
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
Pietro Gagliardi 8334e0ef70 Slightly different accelerator test. 2015-04-21 18:59:39 -04:00
Pietro Gagliardi cdbd31c554 Started to lay down the foundation for events. More thorough accelerator string testing. 2015-04-21 18:58:29 -04:00
Pietro Gagliardi ac8e59c004 Hooked up the Windows menu event system and fixed some bugs in it. Still need to define menu events in general... 2015-04-21 18:52:57 -04:00
Pietro Gagliardi dc386a599e Added a framework for handling menu events on Windows. 2015-04-21 18:44:31 -04:00
Pietro Gagliardi 9ef8019159 Quick OS X menu fixup. 2015-04-21 18:24:48 -04:00
Pietro Gagliardi 2f1a806a31 More TODOs. 2015-04-21 18:10:48 -04:00
Pietro Gagliardi de3c1cc0ea Implemented the standard application menu on the Mac OS X backend. 2015-04-21 18:09:12 -04:00
Pietro Gagliardi e26257006f Converted the OS X menu code to the changes in the past few commits and made a few other small changes. 2015-04-21 00:46:30 -04:00
Pietro Gagliardi b6a2233d0b Adjusted the Windows menu code for the recent changes (see past few commits). 2015-04-20 23:46:02 -04:00
Pietro Gagliardi 1b1cd2e11e Changed the GTK+ backend menu code to honor what was just changed. 2015-04-20 23:38:23 -04:00
Pietro Gagliardi a1e720bc05 Restructured the uiMenu type system. Will apply to the backends soon. 2015-04-20 23:35:26 -04:00
Pietro Gagliardi b45be6e5ab Turned off switch enum checks. There's nothing wrong with an omitted enum case; it might have been odne already! 2015-04-20 22:37:49 -04:00
Pietro Gagliardi b258e1fc82 Began implementing menus on Mac OS X. 2015-04-20 22:34:31 -04:00
Pietro Gagliardi f303f066e2 Started implementing menus on Windows. 2015-04-20 20:26:21 -04:00
Pietro Gagliardi b7e2905c72 More implementation of menus on GTK+. 2015-04-20 18:56:42 -04:00
Pietro Gagliardi 9f82838632 Started implementing menus in general and on the Unix backend. 2015-04-20 18:34:51 -04:00
Pietro Gagliardi fbe806a348 Defined an interface for menus. 2015-04-20 18:06:27 -04:00
Pietro Gagliardi 845104a1a1 Started a framework for menus. 2015-04-20 17:34:49 -04:00
Pietro Gagliardi 50bf3b8cab Even *more* uiButton.md fixups. 2015-04-20 15:29:06 -04:00
Pietro Gagliardi 3f92d7877e More uiButton fixups. 2015-04-20 15:27:45 -04:00
Pietro Gagliardi 326ce9f662 More uiButton documentation. 2015-04-20 15:25:46 -04:00
Pietro Gagliardi cefe53f3a9 Started uiButton documentation. 2015-04-20 15:16:31 -04:00