Commit Graph

2498 Commits

Author SHA1 Message Date
Pietro Gagliardi ea37e13c67 Quick README clarification. 2016-05-22 16:19:19 -04:00
Pietro Gagliardi 878778c683 Implemented WM_PRINTCLIENT for uiArea and the Direct2D scratch windows. 2016-05-22 16:16:20 -04:00
Pietro Gagliardi 585872839d Made uiColorButton on Windows draw with actual alpha values. 2016-05-22 16:07:31 -04:00
Pietro Gagliardi 531f8ea19c Finally wrote makeDCRenderTarget() for the Windows backend. Now to use it. 2016-05-22 15:59:23 -04:00
Pietro Gagliardi 44cdc82fc7 Adjusted the intrinsic size of NSColorWell. 2016-05-22 14:55:12 -04:00
Pietro Gagliardi bbae4478f6 More TODOs. 2016-05-22 14:41:42 -04:00
Pietro Gagliardi d9f133d81b Fixed the README. 2016-05-22 14:39:14 -04:00
Pietro Gagliardi 6c6843dac6 Fixed non-wrapping uiMultlineEntries. 2016-05-22 14:37:02 -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 313ce47833 Started non-wrapping multiline entries. Implemented on Windows. 2016-05-22 13:56:36 -04:00
Pietro Gagliardi f3dad94039 Added CRLF translation to uiMultilineEntry on Windows. More TODOs. 2016-05-22 13:42:37 -04:00
Pietro Gagliardi d060744f87 Some TODO resolution. 2016-05-22 13:09:13 -04:00
Pietro Gagliardi 3705ef05d1 Fixed up uiWindow ownership mechanics in the Darwin backend. 2016-05-22 12:15:50 -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 1d8ea79e45 Removed uiControlVerifyDestroy(); we could have just had it in uiFreeControl(). 2016-05-22 01:07:25 -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 a8fe3004a3 Fixed uiRadioButtons rendering on Windows. 2016-05-21 22:17:29 -04:00
Pietro Gagliardi 772caf19f3 Link to issue because for some reason github doesn't auto-link. 2016-05-21 18:09:09 -04:00
Pietro Gagliardi da9ee6a913 Vast README updates. 2016-05-21 18:07:36 -04:00
Pietro Gagliardi f5aa8cd32d Consistency: calibrated color space -> sRGB color space. 2016-05-21 11:34:30 -04:00
Pietro Gagliardi 7b04d974ac More OS X 10.7 fixes and TODOs. 2016-05-21 11:28:11 -04:00
Pietro Gagliardi 2c0e333ca0 Converted uiRadioButtons on OS X to use a NSView of NSButtons instead of NSMatrix; the latter was deprecated on 10.8 and has lots of little quirks that made it annoying to use. 2016-05-21 02:00:08 -04:00
Pietro Gagliardi 46a280cf46 More TODOs. 2016-05-20 15:07:10 -04:00
Pietro Gagliardi 6575f44818 Removed some dummy debug code. Fixes #24. Fixes #33. 2016-05-20 15:06:02 -04:00
Pietro Gagliardi 33f4a427c3 Added a uiColorButton to the control gallery. 2016-05-18 14:40:03 -04:00
Pietro Gagliardi de1571cd1f And implemented the opacity slider. We're done with this dialog! 2016-05-18 00:46:14 -04:00
Pietro Gagliardi 341f8373d3 Implemented the previewer. That just leaves the opacity slider! 2016-05-18 00:20:41 -04:00
Pietro Gagliardi 22a1525d24 Implemented the grid-drawing function. Now we can write the other two views. 2016-05-17 22:55:35 -04:00
Pietro Gagliardi b226288584 Implemented the H slider. 2016-05-17 20:46:28 -04:00
Pietro Gagliardi bc69da86af Implemented the hex entry. That just leaves the other Direct2D views! 2016-05-17 17:41:38 -04:00
Pietro Gagliardi 70635858bd Implemented the integer entries. 2016-05-17 17:00:00 -04:00
Pietro Gagliardi d42864c696 Implemented the other double entry fields and drawing alpha on the SV chooser. 2016-05-17 16:46:47 -04:00
Pietro Gagliardi 571faf9582 Implemented mouse control of the SV area; updated the color button immediately after a change. 2016-05-17 14:44:57 -04:00
Pietro Gagliardi 9654ca793d Changed the color dialog to edit HSV instead of RGB. This fixes issues with conversion that we had in the previous commit. The real question: will this break entering RGB values? 2016-05-17 13:52:56 -04:00
Pietro Gagliardi d892a8f710 Started making the color dialog editable. I'm going to have to store HSV and alpha instead of RGB and alpha... 2016-05-17 13:44:14 -04:00
Pietro Gagliardi 7c34acc2b7 And an itoutf16() too, because why not. Okay, NOW for updating the labels. 2016-05-17 12:44:43 -04:00
Pietro Gagliardi 8a1fe1f48a And added a proper invalidateRect(). 2016-05-17 12:41:41 -04:00
Pietro Gagliardi 473e0c9b69 Actually first let's do event handling. This adds a ftoutf16() function we can use here. 2016-05-17 12:35:44 -04:00
Pietro Gagliardi 027bb6782b Drew the marker on the color panel. Now for the hue slider. 2016-05-17 12:18:36 -04:00
Pietro Gagliardi 3128e58c5b Started drawing the SV chooser part of the Windows color dialog. 2016-05-16 23:54:28 -04:00
Pietro Gagliardi 2c160bb5eb Started work on the color dialog itself; positioned controls correctly to start. 2016-05-16 19:28:30 -04:00
Pietro Gagliardi 4b4a5c335f Laid out the Windows color dialog. 2016-05-16 17:07:30 -04:00
Pietro Gagliardi 6e7a74928d More TODOs. 2016-05-16 14:00:37 -04:00
Pietro Gagliardi 475326b111 Started implementing uiColorButton on Windows. This implements the color button itself. 2016-05-16 13:59:11 -04:00
Pietro Gagliardi 0ede964a3d TODO updates. 2016-05-16 09:58:16 -04:00
Pietro Gagliardi 695bca9033 Tested the worksWhenModal stuff for NSColorPanel; it works. 2016-05-16 09:40:02 -04:00
Pietro Gagliardi b47689090e Implemented uiColorButton on GTK+. 2016-05-15 23:18:11 -04:00
Pietro Gagliardi a038923060 Added a color well to the histogram example. 2016-05-15 21:02:35 -04:00
Pietro Gagliardi bf411e787e Implemented uiColorButton on OS X. 2016-05-15 20:51:33 -04:00