Commit Graph

2138 Commits

Author SHA1 Message Date
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
Pietro Gagliardi 1a78c4c2f1 Added mouse events to Windows uiArea. 2015-09-11 16:01:54 -04:00
Pietro Gagliardi 018c18a74d Finished implementing mouse events on GTK+ uiArea. 2015-09-11 13:07:27 -04:00
Pietro Gagliardi 3d80f8b11f Implemented most of the mouse event code for GTK+ uiArea. 2015-09-11 12:38:37 -04:00
Pietro Gagliardi 37f7c8c445 Fixed line thicknesses on cairo. 2015-09-10 23:54:54 -04:00
Pietro Gagliardi ddc81d1b2e Started planning out mouse events. 2015-09-10 23:00:29 -04:00
Pietro Gagliardi 95e0ca8f49 Added uiAreaHandler.RedrawOnResize() to handle redrawing on resizes. 2015-09-10 21:17:00 -04:00
Pietro Gagliardi aa446a3e51 More TODOs. 2015-09-10 18:32:16 -04:00
Pietro Gagliardi 5832e56f3c More uiArea fixes. 2015-09-10 18:31:21 -04:00
Pietro Gagliardi 619ad1475b Implemented scrolling in the alternate uiArea. 2015-09-10 17:56:09 -04:00
Pietro Gagliardi 51e60359ab Set up a custom NSScrollView clone to see if that's more or less feasible than hijacking NSScrollView itself. Doesn't do scrolling yet. 2015-09-10 14:27:45 -04:00
Pietro Gagliardi 568e9f65e8 More OS X scrollbar work. 2015-09-10 11:21:08 -04:00
Pietro Gagliardi 4cc63399fa Adjusted OS X drawing for pixel grid offsets. 2015-09-10 08:21:58 -04:00
Pietro Gagliardi 7f078c29b9 More NSScroller tests. 2015-09-09 22:58:27 -04:00
Pietro Gagliardi 16917d2a04 More OS X uiArea work. Started investigating the functionality of NSScroller, because I have a feeling I'm going to have to write my own NSScrollView clone. 2015-09-09 20:13:14 -04:00
Pietro Gagliardi 7e0dae000f More OS X uiArea implementation work. 2015-09-09 10:25:13 -04:00
Pietro Gagliardi 24c8c085a0 More OS X work. 2015-09-08 23:40:49 -04:00
Pietro Gagliardi 8e18604fd9 Started the OS X uiArea. Implemented the Quartz layer. 2015-09-08 23:00:13 -04:00
Pietro Gagliardi b2faa68bf0 More Windows uiArea scrolling work. 2015-09-08 21:53:20 -04:00
Pietro Gagliardi 8c14cfefd1 Implemented vertical scrolling in the Windows Area. Code is based on wintable's. 2015-09-08 20:58:31 -04:00
Pietro Gagliardi 450dba41a1 Set up the framework for tracking scrolling. 2015-09-08 20:31:15 -04:00
Pietro Gagliardi afc2f25e85 Made the Windows uiArea test into a real window so I can add more stuff to it. 2015-09-08 17:58:07 -04:00
Pietro Gagliardi fc3e13a4e6 Fixed alpha-blending issues on Windows. 2015-09-08 17:13:55 -04:00
Pietro Gagliardi 4d97644f94 Renamed uiDrawArc to uiDrawArcTo. 2015-09-08 16:28:08 -04:00
Pietro Gagliardi 61fee661c2 Fixed Windows uiDrawArc() for now. 2015-09-08 16:26:04 -04:00
Pietro Gagliardi c5e4c3a92d Fixed some bugs in the Windows uiArea code. 2015-09-08 12:11:01 -04:00
Pietro Gagliardi 4eed0d77ae More uiArea work, this time on Windows. 2015-09-08 11:51:12 -04:00
Pietro Gagliardi 6e2ad99ce9 Fixed a bug. 2015-09-07 21:47:52 -04:00
Pietro Gagliardi 436290d4ed Finished the Windows draw.c. 2015-09-07 21:43:35 -04:00
Pietro Gagliardi 717e8dbc2d Started the Windows uiArea implementation for now. 2015-09-07 20:05:23 -04:00
Pietro Gagliardi c37d81cb06 More drawing API work. 2015-09-07 19:29:42 -04:00
Pietro Gagliardi cd215c260c More drawing API work, including some Windows code so I don't forget important implementation details. 2015-09-07 15:34:14 -04:00
Pietro Gagliardi 850f996d27 More drawing API work. 2015-09-07 10:25:59 -04:00
Pietro Gagliardi 2dc3dba97b Set up a new way to specify the color used to perform a stroke or fill. GDI restrictions necessitate this. 2015-09-07 10:13:15 -04:00