Pietro Gagliardi
e8daaf659e
windows/direct2d: fix ID2D1RenderTarget::GetPixelFormat() and ID2D1RenderTarget::GetSize() typedefs in MinGW-w64 ABI workaround
...
MinGW-w64 recently added manual workarounds directly into the class via overloads that make existing Direct2D code source-compatible. However, that exposed an error in my definition of the typedefs I was using in my own workaround: both of these methods are const, even in MSVC, but I neglected to include the const qualifier. I'm not sure how this code compiled in the past, but now the overload resolution engine finds no match.
I want to remain compatible with versions of MinGW-w64 old enough to not have their fix, so our fix remains.
Fixes #446 .
2019-04-07 21:56:35 -04:00
Pietro Gagliardi
4432e39a44
And the color dialog. All done! Now we just need to clean up and remove the kludge.
2018-05-02 21:13:35 -04:00
Pietro Gagliardi
c6bb463692
uiAlloc() et al -> uiprivAlloc() et al, Windows code.
2018-04-15 18:12:58 -04:00
Pietro Gagliardi
538965b4ef
Fixed the MinGW ABI stuff again...
2016-06-05 16:07:40 -04:00
Pietro Gagliardi
d060744f87
Some TODO resolution.
2016-05-22 13:09:13 -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
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