Commit Graph

245 Commits

Author SHA1 Message Date
Pietro Gagliardi f0011d6227 Started resolving TODOs in the GTK+ backend, marking some LONGTERM. In particular, uiDateTimePicker no longer will be localized, as there doesn't seem to be a way to get that info out. 2016-05-22 19:17:42 -04:00
Pietro Gagliardi 07cd03452d Implemented non-wrapping multiline entries in GTK+ and started implementing them in OS X. 2016-05-22 14:20:54 -04:00
Pietro Gagliardi 5a4b6aa6f0 Switched from using M_PI to a named constant uiPi. 2016-05-22 12:00:44 -04:00
Pietro Gagliardi 1c2acf59a3 Implemented uiControlDestroy() for uiRadioButtons on GTK+. Fixes #40. 2016-05-21 22:42:55 -04:00
Pietro Gagliardi 5891b764cb Forgot to take a reference on GtkWindows; this led to weird GObject warnings on the command line when closing a window. Update #40. 2016-05-21 22:36:21 -04:00
Pietro Gagliardi 0ede964a3d TODO updates. 2016-05-16 09:58:16 -04:00
Pietro Gagliardi b47689090e Implemented uiColorButton on GTK+. 2016-05-15 23:18:11 -04:00
Pietro Gagliardi 6a81921c1a More TODOs. 2016-05-15 19:26:58 -04:00
Pietro Gagliardi c82942a81b More TODO stuff. 2016-05-15 19:15:00 -04:00
Pietro Gagliardi 6d2d977363 Cleaned up the debugging infrastructure on Windows (we stopped using the strsafe functions so there's no useful failure case anymore) and implemented the new one. 2016-05-13 22:05:02 -04:00
Pietro Gagliardi 0205f2e5ca Got rid of complain() on GTK+. 2016-05-13 21:00:12 -04:00
Pietro Gagliardi 94587b660f Some TODO resolution and stale TODO removal. 2016-05-13 17:54:10 -04:00
Pietro Gagliardi 02fbb5a559 A lot more drawing migration on Windows. With that done, though, we can finally do this... 2016-05-05 21:49:50 -04:00
Pietro Gagliardi 4e53551e06 Split unix/draw.c into a bunch of smaller files. 2016-05-05 18:23:54 -04:00
Pietro Gagliardi eff0532760 Some TODO resolution/stale TODO elimination. 2016-05-05 17:58:26 -04:00
Pietro Gagliardi faeae31acc Cleaned up unix/box.c and made it not use struct child or ptrArray. 2016-05-05 14:04:07 -04:00
Pietro Gagliardi f10c760b00 More TODOs. 2016-05-04 23:41:25 -04:00
Pietro Gagliardi 440e8fa47f Integrated the GTK+ date/time picker. FINALLY! 2016-05-04 23:35:11 -04:00
Pietro Gagliardi a11e939b34 Wrote the finishing touches on the dptwidget.c needed for the final date-time picker. 2016-05-04 23:28:46 -04:00
Pietro Gagliardi 4e11b6efe1 Fixed build errors. It works! (Except for radiobuttons now needing a destroy; that'll come later.) Next up... Windows. Yay... 2016-04-25 20:34:12 -04:00
Pietro Gagliardi d65a263bb4 Whoops, forgot unix/area.c. Now let's try. 2016-04-25 20:19:57 -04:00
Pietro Gagliardi 3f16e28d1b Finished the conversions. Let's hope it works! 2016-04-25 20:15:02 -04:00
Pietro Gagliardi 289ca0ed78 More conversion work, including getting rid of a few now-unnecessary function declarations. 2016-04-25 20:09:20 -04:00
Pietro Gagliardi 01912877ce Converted the basic GTK+ controls. Now for the containers. 2016-04-25 20:00:25 -04:00
Pietro Gagliardi 85ee2e93dd More ui_unix.h and unix/control.c work. NOW we're ready to migrate the controls. 2016-04-25 19:45:05 -04:00
Pietro Gagliardi dda30cdb3c Started the new uiControl infrastructure. 2016-04-24 19:22:21 -04:00
Pietro Gagliardi bc0a1d43c9 Applied the new type system to the Windows backend and fixed some more C++ stupidity related to it. 2016-04-24 17:38:48 -04:00
Pietro Gagliardi 96e8f1f8ea Did the rest of the object changes on GTK+. 2016-04-24 16:59:46 -04:00
Pietro Gagliardi f60178798f Removed common type code. 2016-04-24 15:08:48 -04:00
Pietro Gagliardi 7b0f930185 Removed all the type function declarations from all the controls. More TODOs. 2016-04-24 15:04:36 -04:00
Pietro Gagliardi e6effa042d Implemented the new fontbutton routines on GTK+. 2016-04-20 13:59:59 -04:00
Pietro Gagliardi 8493bc3c5d Fixed the GTK+ SetColor() issues. It works! 2016-04-20 01:14:46 -04:00
Pietro Gagliardi 78772ca62d Fixed most compiler errors and warnings. 2016-04-19 23:58:36 -04:00
Pietro Gagliardi 6b6d6861c1 Wrote the SetColor() for GTK+. Now to test. 2016-04-19 23:52:44 -04:00
Pietro Gagliardi 6fdbd8d68f Implemented the chars-to-bytes algorithm on the GTK+ code. Now to finally add attributes to uiDrawTextLayout! 2016-04-19 14:57:15 -04:00
Pietro Gagliardi c2d165af94 Implemented the uiDrawTextFont direct from system font-making functions on other platforms. 2016-04-19 11:23:05 -04:00
Pietro Gagliardi ccfa3d41a3 More work on the initial font and showing styles. I have a feeling my current approach is a mistake. 2016-04-18 13:32:48 -04:00
Pietro Gagliardi 84fc5dafaa More TODOs. 2016-04-18 10:22:36 -04:00
Pietro Gagliardi 23ec771c86 Removed uiFontDescriptor.SmallCaps; on Windows this has to be applied to layouts. 2016-04-15 14:23:16 -04:00
Pietro Gagliardi 0bc140cd46 Dropped uiDrawTextGravity. That has to do with vertical text, which we can both abstract into a higher level API and can't do yet because DirectWrite simply does not support vertical text on Windows 7 for reasons that escape logical thought. 2016-04-15 00:24:27 -04:00
Pietro Gagliardi 042b08f31c Implemented uiFontButton on GTK+. 2016-04-14 15:55:04 -04:00
Pietro Gagliardi 7f2194c383 Typo fixes in the previous commit. 2016-01-24 21:50:10 -05:00
Pietro Gagliardi ab0230b428 Added a function for scrolling uiAreas. Implemented on OS X; stubbed elsewhere. 2016-01-24 21:41:34 -05:00
Pietro Gagliardi febb37700a "Fixed" the FreeBSD build. 2016-01-22 13:08:36 -05:00
Pietro Gagliardi b0621a6b1f Implemented the new multiline text stuff on GTK+. 2016-01-16 15:59:34 -05:00
Pietro Gagliardi 9442ebd53a More TODOs. 2016-01-13 15:59:45 -05:00
Pietro Gagliardi 6394446461 Fixed text rendring on GTK+. 2016-01-13 15:48:39 -05:00
Pietro Gagliardi 621d75695c More (serious) TODOs. 2016-01-13 14:34:28 -05:00
Pietro Gagliardi 776be61c45 Implemented metrics on Pango. 2016-01-12 23:33:50 -05:00
Pietro Gagliardi f9b6eba7df Implemented the new font stuff on GTK+. 2016-01-12 16:59:13 -05:00