Commit Graph

41 Commits

Author SHA1 Message Date
Pietro Gagliardi 4c2a4aa807 Migrated the cairo backend to the new drawing system. That was quick... 2015-10-08 08:47:36 -04:00
Pietro Gagliardi b43ec18561 Started bringing the new drawing code over to the other backends. 2015-10-08 08:04:23 -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 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 1ac9bdaa02 Implemented keyboard events on GTK+ uiArea. 2015-09-13 15:21:21 -04:00
Pietro Gagliardi 3f15f5d60a Finished migrating events.c. 2015-09-13 10:43:26 -04:00
Pietro Gagliardi 68387a8bfb Set up the infrastructure for keyboard events. 2015-09-12 23:21:34 -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 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 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 8e18604fd9 Started the OS X uiArea. Implemented the Quartz layer. 2015-09-08 23:00:13 -04:00
Pietro Gagliardi 4d97644f94 Renamed uiDrawArc to uiDrawArcTo. 2015-09-08 16:28:08 -04:00
Pietro Gagliardi 4eed0d77ae More uiArea work, this time on Windows. 2015-09-08 11:51:12 -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
Pietro Gagliardi bf4f5388d0 Drawing API planning. 2015-09-06 23:37:05 -04:00
Pietro Gagliardi 917a0b17e2 More drawing API work. 2015-09-06 22:48:25 -04:00
Pietro Gagliardi c8384f4579 Started writing the vector graphics API. 2015-09-06 20:02:01 -04:00
Pietro Gagliardi e628ae45bb More uiArea work. Ready to write the actual drawing code now, I suppose. 2015-09-06 16:55:43 -04:00
Pietro Gagliardi 33c1852e21 More GTK+ uiArea work. Not sure what I'll do about DPI; GTK+ handles scaling for us... 2015-09-06 16:20:37 -04:00
Pietro Gagliardi 8344ed5f17 More uiArea work. uiAreas now no longer allow arbitrary scroll unit size because GTK+ doesn't support that (it assumes 1 unit = 1 pixel). 2015-09-05 20:05:48 -04:00
Pietro Gagliardi 22d690d535 More area work. 2015-09-05 19:07:56 -04:00
Pietro Gagliardi 6db1bf7923 Fixed overshoot issues. I still don't think this ir gith... 2015-09-05 15:51:55 -04:00
Pietro Gagliardi decc470e69 More Area scrolling work. 2015-09-04 21:50:49 -04:00
Pietro Gagliardi 00e005b71a More GTK+ area work. 2015-09-04 21:27:32 -04:00
Pietro Gagliardi 30b6a0a696 More GTK+ uiArea work and bug fixes. 2015-09-04 21:12:41 -04:00
Pietro Gagliardi bd3764e176 Compilation fixes. 2015-09-04 17:56:13 -04:00
Pietro Gagliardi 706d250292 Wrote a main program for testing the GTK+ area. Untested yet. 2015-09-04 17:52:07 -04:00
Pietro Gagliardi 04dcccf914 Started the GTK+ uiArea implementation. Much of the scrolling boilerplate is finished. 2015-09-04 14:51:10 -04:00