Commit Graph

1771 Commits

Author SHA1 Message Date
Pietro Gagliardi 1a4f585556 Implemented linear gradients. 2015-10-07 16:54:56 -04:00
Pietro Gagliardi a4a37d1175 Set up the foundation for linear gradients. 2015-10-07 16:39:04 -04:00
Pietro Gagliardi f716e8e28d Upped the minimum version of Windows formally. 2015-10-07 13:22:55 -04:00
Pietro Gagliardi c7db62c691 Removed the old Windows uiArea. Direct2D version is now enforced. 2015-10-07 13:20:33 -04:00
Pietro Gagliardi babd7cdff5 Set the proper background color for an area with Direct2D. 2015-10-07 13:19:44 -04:00
Pietro Gagliardi 38a58ed094 More Direct2D work. Stroke parameters done. 2015-10-07 13:05:48 -04:00
Pietro Gagliardi d8715e6928 More Direct2D work. 2015-10-07 12:34:53 -04:00
Pietro Gagliardi a7d8a87540 "Fixed" arcs for now. 2015-10-07 12:19:20 -04:00
Pietro Gagliardi 2906fa5300 Finished porting over main.c. 2015-10-07 11:47:46 -04:00
Pietro Gagliardi 34d699cc29 Kinda sorta maybe fixed arcs?? 2015-10-07 11:43:51 -04:00
Pietro Gagliardi 4f1219213d Fixed compiler issues and bugs and started to get everything working again. 2015-10-07 11:12:18 -04:00
Pietro Gagliardi cb4079c468 More Direct2D work. Sources and drawing re more properly defined now. Some discrepancies in cairo documentation hold up gradients for now. Zero clue how to start images. 2015-10-07 10:47:38 -04:00
Pietro Gagliardi 4d39f77dbc Set up a system for brushes. 2015-10-07 10:10:03 -04:00
Pietro Gagliardi ed340dc017 More Direct2D work. Now to figure sources out... 2015-10-07 08:07:07 -04:00
Pietro Gagliardi de08c3a202 More Direct2D path work. 2015-10-06 19:56:38 -04:00
Pietro Gagliardi 020e128a2c More new uiDraw API work. 2015-10-06 16:33:03 -04:00
Pietro Gagliardi 8b80a1772b Started the API conversion for Direct2D. 2015-10-06 16:31:41 -04:00
Pietro Gagliardi 1ffb2abe1d Made a clone of the Direct2D ui.h; we'll need a new path API for it. 2015-10-06 13:26:56 -04:00
Pietro Gagliardi 40a4361498 Fixed a small bug in the Direct2D test. 2015-09-18 14:38:09 -04:00
Pietro Gagliardi 873763451a More Direct2D stuff. Not quite rendering yet... 2015-09-17 13:10:38 -04:00
Pietro Gagliardi 8dc72ddc5c More Direct2D work. 2015-09-17 11:00:53 -04:00
Pietro Gagliardi 3ea8a2f7dd Fixed build issues. 2015-09-17 10:31:22 -04:00
Pietro Gagliardi 0b4c76e484 More Direct2D code. 2015-09-16 23:42:24 -04:00
Pietro Gagliardi 16c07905c9 Started trying to move the Windows uiArea to Direct2D. 2015-09-16 23:15:42 -04:00
Pietro Gagliardi 6a3bae98ca Started a discussion of the drawing model. 2015-09-16 13:57:14 -04:00
Pietro Gagliardi 0bef344f61 More file migration. 2015-09-15 11:54:27 -04:00
Pietro Gagliardi bf54115a19 More text rendering stuff. 2015-09-15 09:26:31 -04:00
Pietro Gagliardi 640598f417 Aborted implementing text rendering for now. 2015-09-15 09:25:59 -04:00
Pietro Gagliardi 601bced3ac More ui.h work. Seriously not sure what I'm going to do about text. 2015-09-15 09:18:54 -04:00
Pietro Gagliardi 78482c8523 More Uniscribe work. Is this even necessary. 2015-09-14 23:28:46 -04:00
Pietro Gagliardi e79066fd9d Attempted to clean up the Uniscribe stuff. 2015-09-14 23:08:44 -04:00
Pietro Gagliardi 9dbc8a1ba2 Started writing the Uniscribe gunk. This is a mess... 2015-09-14 22:42:07 -04:00
Pietro Gagliardi 0db611abd8 More work. 2015-09-14 20:41:49 -04:00
Pietro Gagliardi 882dec1ad4 More uiArea API work. Text rendering functions started. I'll start with Windows because it'll require Uniscribe. 2015-09-14 20:02:52 -04:00
Pietro Gagliardi 1197cf4ada Finished keyboard events on OS X. 2015-09-13 21:12:48 -04:00
Pietro Gagliardi fed92cdf34 Started implementing keyboard events on OS X uiArea. 2015-09-13 19:26:40 -04:00
Pietro Gagliardi 1ac9bdaa02 Implemented keyboard events on GTK+ uiArea. 2015-09-13 15:21:21 -04:00
Pietro Gagliardi 92379ad592 Implemented keyboard events on Windows, mostly. 2015-09-13 12:59:12 -04:00
Pietro Gagliardi 3f15f5d60a Finished migrating events.c. 2015-09-13 10:43:26 -04:00
Pietro Gagliardi 905a1abda4 More TODOs. 2015-09-12 23:22:18 -04:00
Pietro Gagliardi 68387a8bfb Set up the infrastructure for keyboard events. 2015-09-12 23:21:34 -04:00
Pietro Gagliardi 72dacc82dd Fixed a small bug with regards to capture on drag on Windows. 2015-09-12 08:20:07 -04:00
Pietro Gagliardi 55456ae434 "Implemented" DragBroken() on OS X. Starting to wonder if I can get away with ignoring WM_CAPTURECHANGED on Windows. 2015-09-12 08:11:10 -04:00
Pietro Gagliardi 5f43cc9911 "Implemented" DragBroken() on GTK+. 2015-09-12 08:02:07 -04:00
Pietro Gagliardi bc5c6dac58 Added uiAreaHandler.DragBroken() and implemented it on Windows. 2015-09-11 22:59:59 -04:00
Pietro Gagliardi 0560d14a52 Removed the scroller test now that scrollbars have been implemented and work fine on the main uiArea. 2015-09-11 21:41:39 -04:00
Pietro Gagliardi 2f0a022ff3 Implemented capture on drag on Windows. 2015-09-11 21:36:28 -04:00
Pietro Gagliardi d570440a9b Removed the NSScrollView-based uIArea on OS X. We'll stick with our custom one. 2015-09-11 21:25:38 -04:00
Pietro Gagliardi 848eff27e7 Added a ClientWidth and ClientHeight fields to uiAreaMouseEvent. This is necessary for the updated dragging behavior, since both GTK+ and OS X do it: drags automatically capture. 2015-09-11 21:24:39 -04:00
Pietro Gagliardi aa171bd4a3 Started doing mouse events on OS X. 2015-09-11 21:20:49 -04:00