Pietro Gagliardi
|
1f33ca14d8
|
Fixed Windows build issues and resolved a question in libui that I need to enshrine in documentation next.
|
2017-11-04 21:44:28 -04:00 |
Pietro Gagliardi
|
fd7c436b8a
|
More TODOs.
|
2017-06-14 22:07:41 -04:00 |
Pietro Gagliardi
|
b3e3b27f71
|
Some more TODO cleanup and name adjustment.
|
2017-06-06 14:14:33 -04:00 |
Pietro Gagliardi
|
df2a726c1b
|
And fixed on Windows too. We're good.
|
2017-02-25 01:24:43 -05:00 |
Pietro Gagliardi
|
0f2b2b1fe5
|
Fixed background drawing on Windows.
|
2017-02-22 21:46:15 -05:00 |
Pietro Gagliardi
|
f2b158b529
|
And finished implementing attributes on Windows.
|
2017-02-22 19:13:36 -05:00 |
Pietro Gagliardi
|
b42250e3a9
|
More text attributes on Windows, including the beginning of drawing effects for colors and underlines.
|
2017-02-22 15:19:11 -05:00 |
Pietro Gagliardi
|
fb04feaebb
|
Started Windows attribute handling.
|
2017-02-22 12:49:55 -05:00 |
Pietro Gagliardi
|
ae8105c234
|
Added debugging to our custom IDWriteTextRenderer.
|
2017-02-22 11:23:26 -05:00 |
Pietro Gagliardi
|
9cc8b03516
|
Switched to a custom IDWriteTextRenderer, which will be necessary for some of our text attributes. More TODO.
|
2017-02-22 03:43:43 -05:00 |
Pietro Gagliardi
|
c4a97792ea
|
And implemented the new stuff on Windows.
|
2017-02-11 21:54:06 -05:00 |
Pietro Gagliardi
|
dca92d507e
|
And readded uiFontButton on Windows. Woo! Now we have to deal with styles.
|
2017-02-11 17:08:05 -05:00 |
Pietro Gagliardi
|
746e4091cb
|
Implemented uiDrawCaret() on Windows.
|
2017-02-10 17:38:17 -05:00 |
Pietro Gagliardi
|
5823c3a53e
|
More cleanup.
|
2017-02-10 11:52:26 -05:00 |
Pietro Gagliardi
|
5458e10134
|
Implemented the new hit-test functions on Windows.
|
2017-02-08 20:10:34 -05:00 |
Pietro Gagliardi
|
012ce92b71
|
And implemented the caret changes on Windows.
|
2017-02-07 19:55:21 -05:00 |
Pietro Gagliardi
|
3e4f99e0dd
|
Notes for Windows equivalent of previous commits. Not actually done yet.
|
2017-02-07 19:42:00 -05:00 |
Pietro Gagliardi
|
e4ed1c337b
|
And implemented the functions on Windows. Yeah I think I'll need cursor functions, perhaps.
|
2017-02-06 18:38:44 -05:00 |
Pietro Gagliardi
|
d8316790a0
|
More notes.
|
2017-01-21 10:21:39 -05:00 |
Pietro Gagliardi
|
f0b9ff9aba
|
Fixed multifragment lines on Windows, again with the help of the PadWrite sample.
|
2017-01-21 09:39:53 -05:00 |
Pietro Gagliardi
|
c720e8147b
|
Figured out what's going on. No clue how to fix it.
|
2017-01-20 20:57:20 -05:00 |
Pietro Gagliardi
|
87b7d5b4b7
|
Decided to remove uiDrawTextLayoutByteIndexToGraphemeRect(); the Range one later on handles it. Now we can do the hit testing functions!
|
2017-01-20 19:34:16 -05:00 |
Pietro Gagliardi
|
fc7fcd9f05
|
And implemented metrics stuff on Windows.
|
2017-01-20 18:09:06 -05:00 |
Pietro Gagliardi
|
88ea7c4665
|
Fixed runtime errors. Yay it works on all platforms now! Also more TODOs. Now the real work is getting the rest of the functionality in.
|
2017-01-20 04:34:15 -05:00 |
Pietro Gagliardi
|
c0781a13ae
|
Fixed compile errors. Jesus.
Runtime errors next.
|
2017-01-20 03:24:06 -05:00 |
Pietro Gagliardi
|
cac390a821
|
Wrote much of the new text layout code on Windows. Now to test.
|
2017-01-19 21:13:03 -05:00 |
Pietro Gagliardi
|
f7121774e1
|
Added some TODOs and started the work necessary for the Windows text system migration... which is gonna hurt.
|
2017-01-17 23:25:26 -05:00 |
Pietro Gagliardi
|
f46edd097b
|
uiDrawTextWeightUtraBold.
|
2016-10-21 16:35:46 -04:00 |
Pietro Gagliardi
|
155299cdb9
|
More intmax_t removal.
|
2016-06-13 21:11:59 -04:00 |
Pietro Gagliardi
|
ee373a94d6
|
Started the Windows cmake stuff and tried to get it to work on MinGW again.
|
2016-06-01 21:45:39 -04:00 |
Pietro Gagliardi
|
474d3fb1d5
|
Oops, forgot to free something in the previous commit.
|
2016-05-25 01:10:47 -04:00 |
Pietro Gagliardi
|
47632fe560
|
Switched text layout attributes to grapheme-based indices on Windows, just like on OS X.
|
2016-05-25 01:08:55 -04:00 |
Pietro Gagliardi
|
61185072f7
|
More TODO -> LONGTERM migration. Also made it so uiSpinbox and uiSlider merely swap min and max if min is larger.
|
2016-05-22 20:11:52 -04:00 |
Pietro Gagliardi
|
8067dc76b7
|
Got rid of most of Windows's complain()s.
|
2016-05-13 22:53:56 -04:00 |
Pietro Gagliardi
|
4b3084c2fe
|
Fixed up windows/drawtext.cpp.
|
2016-05-06 10:31:01 -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
|
5236aa5855
|
More compiler error fixes.
|
2016-04-23 22:15:33 -04:00 |
Pietro Gagliardi
|
0200af0301
|
Oh I forgot a few things. First, the other .cpp_ files.
|
2016-04-23 16:49:46 -04:00 |
Pietro Gagliardi
|
a7ff1e7c78
|
Moved the files that are already C++ out of the way so we can migrate them later and separate them from the already-migrated files.
|
2016-04-20 19:41:14 -04:00 |
Pietro Gagliardi
|
655e05463d
|
Implemented the new font button stuff on Windows.
|
2016-04-20 14:17:55 -04:00 |
Pietro Gagliardi
|
721269b3eb
|
Implemented colored text on OS X and Windows.
|
2016-04-19 18:45:16 -04:00 |
Pietro Gagliardi
|
5b74b2752e
|
Decided to use character offsets instead of byte offsets for text layout attributes. This removes the shaky code from the OS X and Windows backends to compute a list of character offsets for byte offsets. The equivalent code for GTK+ to convert chars to bytes will be much more solid; it will be written next.
|
2016-04-19 14:39:33 -04:00 |
Pietro Gagliardi
|
a1d0e669c8
|
Added some helpers for actually returning a font from the font button on Windows. Similar helpers are needed on other platforms.
|
2016-04-18 19:18:29 -04:00 |
Pietro Gagliardi
|
dcbbced23b
|
Implemented loading of the font dialog font. Now to save it too.
|
2016-04-18 00:56:13 -04:00 |
Pietro Gagliardi
|
97aad9a039
|
Added support routines for migrating DirectWrite attributes.
|
2016-04-18 00:41:17 -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
|
88e797e2be
|
Split the DirectWrite boilerplate to another C++ file so we can write a new font dialog with it, maybe.
|
2016-04-14 19:57:58 -04:00 |
Pietro Gagliardi
|
cb8323bee6
|
Decided that yes, for a single line the leading should not be included.
|
2016-01-16 18:22:27 -05:00 |
Pietro Gagliardi
|
32cc648e13
|
Diagnosed the root cause of an issue in a TODO; still need to fix it.
|
2016-01-16 16:48:10 -05:00 |