Pietro Gagliardi
|
01d6422664
|
Added uipriv prefixes to the matrix functions.
|
2018-04-15 22:39:34 -04:00 |
Pietro Gagliardi
|
f93973d3cb
|
Migrated implbug() and userbug() to uipriv forms.
|
2018-04-15 21:46:08 -04:00 |
Pietro Gagliardi
|
8ca32f098f
|
uiAlloc() et al -> uiprivAlloc() et al, OS X code.
|
2018-04-15 16:05:24 -04:00 |
Pietro Gagliardi
|
44f24fc900
|
Added the foreground color attribute. Considering making the background color a background BRUSH attribute instead...
|
2017-02-12 20:27:47 -05:00 |
Pietro Gagliardi
|
7bda3baee3
|
Fixed build errors. DOES IT WORK?!?!?!?!?!?!?!?!
|
2017-01-17 13:05:40 -05:00 |
Pietro Gagliardi
|
1bd2ca22c2
|
Some more work on the new Cocoa text drawing code.
|
2017-01-06 23:53:23 -05:00 |
Pietro Gagliardi
|
eb11452dd3
|
More TODO resolution. Some TODOs were moved to the issue tracker.
|
2016-05-28 18:01:25 -04:00 |
Pietro Gagliardi
|
a99a81f584
|
Answered matrix scaling stuff. https://www.willamette.edu/~gorr/classes/GeneralGraphics/Transforms/transforms2d.htm#Combining
|
2016-05-22 22:52:29 -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
|
232839020f
|
More TODOs.
|
2016-05-14 11:39:51 -04:00 |
Pietro Gagliardi
|
d52c92d2f8
|
Cleaned out complain()s in the OS X backend. Affects everything *except* drawtext.m, which will need its own migration.
|
2016-05-13 20:14:46 -04:00 |
Pietro Gagliardi
|
94587b660f
|
Some TODO resolution and stale TODO removal.
|
2016-05-13 17:54:10 -04:00 |
Pietro Gagliardi
|
ae60141497
|
Decided to split the OS X text drawing stuff into its own file to make it easier to manage. In fact, darwin/draw.m used to be the longest file (by line count) in libui's source code proper (not the longest in the repo)! (Now it's windows/draw.c instead, and that *doesn't* contain text code!)
|
2016-01-12 01:14:41 -05:00 |
Pietro Gagliardi
|
5f1b900dc5
|
More TODOs. More even bigger TODOs.
|
2016-01-10 15:35:43 -05:00 |
Pietro Gagliardi
|
29794af67a
|
Filled in text size conversion functions on OS X.
|
2016-01-09 18:14:06 -05:00 |
Pietro Gagliardi
|
ca75579135
|
More exposition.
|
2016-01-09 18:05:44 -05:00 |
Pietro Gagliardi
|
3cc2a06147
|
Added font matching to the OS X backend.
|
2016-01-09 17:41:05 -05:00 |
Pietro Gagliardi
|
a826fd7516
|
Wrote the text drawing code on Windows. Now to build and test.
|
2016-01-09 01:07:48 -05:00 |
Pietro Gagliardi
|
5365453c19
|
Tried to figure out the traits stuff for myself. I can't quite do that when it has no effect :v
|
2016-01-08 17:13:31 -05:00 |
Pietro Gagliardi
|
11a3fcfad0
|
Fixed the drawing shenanigans.
|
2016-01-08 13:51:39 -05:00 |
Pietro Gagliardi
|
94883ed620
|
Kinda sorta fixed the text rendering stuff.
|
2016-01-08 12:49:52 -05:00 |
Pietro Gagliardi
|
4c12934992
|
Fixed the compiler errors in the previous commit. Things aren't quite right yet.
|
2016-01-08 10:14:09 -05:00 |
Pietro Gagliardi
|
e7a68893e2
|
Filled in the rest of the beginning of the Core Text implementation.
|
2016-01-08 02:08:26 -05:00 |
Pietro Gagliardi
|
9fc92cf96b
|
Started doing the Core Text text code. I am completely lost on text styles.
|
2016-01-07 21:51:37 -05:00 |
Pietro Gagliardi
|
3b916fa749
|
Stubbed out the text drawing functions on OS X.
|
2015-12-27 11:32:47 -05:00 |
Pietro Gagliardi
|
a9419e0cc4
|
Oops, I completely overlooked the Core Text Font Manager Reference, which would have told me that CTFontManagerCopyAvailableFontFamilyNames() was what I was looking for. Yay; the font families stuff now works on OS X as well!
|
2015-12-23 00:58:06 -05:00 |
Pietro Gagliardi
|
bcc17a4e6d
|
Attempted to write the font enumeration code for OS X. It does not work yet (memory management is borked and duplicate removal does not work, period).
|
2015-12-22 21:48:26 -05:00 |
Pietro Gagliardi
|
b4cbf79cbb
|
Implemented dashing on OS X.
|
2015-10-16 11:05:08 -04:00 |
Pietro Gagliardi
|
c3fdd3050d
|
Implemented clipping on OS X.
|
2015-10-13 13:53:24 -04:00 |
Pietro Gagliardi
|
c6cdabe20d
|
Preparation for proper, extensible state tracking and clipping on Windows.
|
2015-10-12 21:11:42 -04:00 |
Pietro Gagliardi
|
de3ccecd5b
|
Implemented skewing. Will do the test now.
|
2015-10-12 07:58:07 -04:00 |
Pietro Gagliardi
|
46e3fee40d
|
Added a center point to scaling transforms. Fixed rotations on GTK+.
|
2015-10-12 01:43:12 -04:00 |
Pietro Gagliardi
|
5792ac76fc
|
Work on more tests. Scaling will need a center point for this test to work correctly...
|
2015-10-12 01:18:08 -04:00 |
Pietro Gagliardi
|
41a33a1aa1
|
Fixed the failing test.
|
2015-10-12 00:27:34 -04:00 |
Pietro Gagliardi
|
f4b0e7e35e
|
Added negative arcs to the OS X backend. Now we have a crash in one of the tests; still debugging.
|
2015-10-11 23:48:40 -04:00 |
Pietro Gagliardi
|
b09cdb5137
|
Made 90° point toward y=+∞.
|
2015-10-11 20:24:06 -04:00 |
Pietro Gagliardi
|
40acbd8fa0
|
Did the matrix stuff on OS X. Now we can implement more tests.
|
2015-10-11 13:53:47 -04:00 |
Pietro Gagliardi
|
3a932d281b
|
Fixed arcs on the OS X backend too. Woo!
|
2015-10-10 11:04:15 -04:00 |
Pietro Gagliardi
|
73d77ef38b
|
Capped sweeps at 2π radians.
|
2015-10-09 22:00:41 -04:00 |
Pietro Gagliardi
|
2c7ed07747
|
Changed the arc functions to take a start angle and a sweep amount instead of a start angle and an end angle. This makes it easier to reason about sweeps > 2π radians.
|
2015-10-09 21:51:43 -04:00 |
Pietro Gagliardi
|
4deb0f364c
|
Migrated the OS X uiArea back into main.
|
2015-10-09 12:33:45 -04:00 |