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
Pietro Gagliardi
68ad5f53fa
Added uiColorButton. Let's implement this on OS X first.
2016-05-15 20:06:57 -04:00
Pietro Gagliardi
2226c54430
Made the font dialog respect our new modality rules on OS X.
2016-05-15 19:56:01 -04:00
Pietro Gagliardi
1db3027619
Finished the re-disabling of all windows on Windows dialogs.
2016-05-15 19:38:45 -04:00
Pietro Gagliardi
6a81921c1a
More TODOs.
2016-05-15 19:26:58 -04:00
Pietro Gagliardi
1d08521cb7
Started reimplementing the old dialog helper stuff. Now that we're C++ on Windows, we can do this directly in window.cpp and save time.
2016-05-15 19:22:15 -04:00
Pietro Gagliardi
c82942a81b
More TODO stuff.
2016-05-15 19:15:00 -04:00
Pietro Gagliardi
f855453aab
More TODOs.
2016-05-15 19:06:20 -04:00
Pietro Gagliardi
0552e7c4a1
Revert "Made other windows get events when a dialog is running on OS X. Of course I only now realize this creates a recursiion problem..."
...
This isn't going to work. The only real solution is to disable every window like we're already doing here, make sure it happens on GTK+, and re-add the dialog helper stuff on Windows.
This reverts commit 20994639c0
.
2016-05-15 19:04:35 -04:00
Pietro Gagliardi
52fff1520d
Disabled page 11 for now.
2016-05-15 16:34:14 -04:00
Pietro Gagliardi
20994639c0
Made other windows get events when a dialog is running on OS X. Of course I only now realize this creates a recursiion problem...
2016-05-15 16:26:43 -04:00
Pietro Gagliardi
2f2db46109
Reverted the uiTab changes to allow NULL. Still debating whether to allow NULL or not.
2016-05-15 13:56:53 -04:00
Pietro Gagliardi
717486b7a2
Fixed some OS X 10.7 build errors.
2016-05-14 23:44:07 -04:00
Pietro Gagliardi
2c692eda36
More TODOs.
2016-05-14 22:10:43 -04:00
Pietro Gagliardi
fd9f6cea6a
Allowed uiGroups and uiTabs to have no and NULL controls with defined behavior on OS X. Actually added the test code this time.
2016-05-14 22:09:02 -04:00
Pietro Gagliardi
0e785d886b
Started tests for truly empty uiGroups and uiTabs; started banning NULL in uiBox.
2016-05-14 21:53:24 -04:00