Commit Graph

1811 Commits

Author SHA1 Message Date
Pietro Gagliardi 50f03eca14 More arc testing. 2015-10-09 22:28:10 -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 9adf4cef86 Added an arc test. 2015-10-09 19:18:16 -04:00
Pietro Gagliardi 844015f71a Fixed typos in the test program that in turn fixed the gradients; also fixed a few Objective-C-isms in the OS X backend. 2015-10-09 18:49:41 -04:00
Pietro Gagliardi f558319f18 More TODOs. 2015-10-09 18:02:28 -04:00
Pietro Gagliardi 6dfbd71c52 More drawtests.c stuff. I need to resolve this arc stuff once and for all and write AddEllipse before I can continue. 2015-10-09 17:49:43 -04:00
Pietro Gagliardi fc502b178b More drawing tests. There is defintely something wrong with arcs. 2015-10-09 17:32:26 -04:00
Pietro Gagliardi 7075bea0f5 Added uiAreaQueueRedrawAll() and implemented on all platforms. NOW we can focus exclusively on the test suite. 2015-10-09 15:27:57 -04:00
Pietro Gagliardi db1026f003 Added a second test to the uiArea draw test suite. Now to add a uiAreaQueueRedrawAll() function. 2015-10-09 15:09:08 -04:00
Pietro Gagliardi 5da68c64b3 Implemented uiComboboxSetSelected() on OS X and Windows; fixed editable combobox minimum widths on OS X. 2015-10-09 14:39:26 -04:00
Pietro Gagliardi 843ea0d46c Implemented uiComboboxSetSelected() on GTK+. 2015-10-09 13:54:34 -04:00
Pietro Gagliardi 581cbaecc9 Added uiComboboxSetSelected(), which we need for the uiArea drawing tests. Will implement next. 2015-10-09 13:47:02 -04:00
Pietro Gagliardi 6424ea00ab Created a new framework for consolidating all drawing tests. 2015-10-09 13:38:41 -04:00
Pietro Gagliardi 4d8951bbb8 Removed the uiArea Darwin test program. 2015-10-09 12:50:35 -04:00
Pietro Gagliardi 1d4e341583 Fixed a memory leak in the Windows uiArea. 2015-10-09 12:41:01 -04:00
Pietro Gagliardi 56d0d35f83 More TODOs. 2015-10-09 12:34:26 -04:00
Pietro Gagliardi 4deb0f364c Migrated the OS X uiArea back into main. 2015-10-09 12:33:45 -04:00
Pietro Gagliardi b0492cbde8 Fixed up more bits of uiArea on Windows. 2015-10-09 11:49:57 -04:00
Pietro Gagliardi f899bf28c2 Removed the Windows uiArea test program. 2015-10-09 11:20:36 -04:00
Pietro Gagliardi e4e72e55bb Merged the Windows uiArea back into the main library. 2015-10-09 11:17:58 -04:00
Pietro Gagliardi 2780105b7b Removed the gtkarea test program entirely. 2015-10-09 10:12:26 -04:00
Pietro Gagliardi 5d19387811 Did scrolling for the uiArea test and uiArea itself on GTK+. 2015-10-09 10:09:55 -04:00
Pietro Gagliardi 752467b543 Fixed up the GTK+ uiArea a bit. 2015-10-09 03:43:29 -04:00
Pietro Gagliardi e27781cce7 Integrated the test into the main packge. I'll need to handle a few corner cases here... 2015-10-08 19:20:06 -04:00
Pietro Gagliardi ef04c18856 Merged the GTK+ uiArea implementation with its backend. Now we just have to move the test program. 2015-10-08 18:24:09 -04:00
Pietro Gagliardi cb58ced9d9 Started merging uiArea back into main. ui.h merged. 2015-10-08 18:03:24 -04:00
Pietro Gagliardi 8fb5d1212f Implemented the new uiCombobox behavior on OS X. 2015-10-08 16:32:12 -04:00
Pietro Gagliardi eb96d5edb0 Implemented the new combobox stuff on Windows. 2015-10-08 15:42:58 -04:00
Pietro Gagliardi 06f17aa4de Implemented the new uiCombobox stuff on GTK+. 2015-10-08 14:55:18 -04:00
Pietro Gagliardi 26e90f0b51 Started uiCombobox querying and events. Needed for the uiArea tests. 2015-10-08 14:23:04 -04:00
Pietro Gagliardi 9089138f7f Fixed issues in the OS X backend port. 2015-10-08 12:19:48 -04:00
Pietro Gagliardi 52c6888a6b Migrated the OS X uiArea. Now to fix build issues and test. 2015-10-08 11:49:24 -04:00
Pietro Gagliardi 447396d18d Moved macarea/alt to macarea; we made alt the primary one ages ago. 2015-10-08 09:07:31 -04:00
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 6787130125 More TODOs. 2015-10-08 07:03:31 -04:00
Pietro Gagliardi 3790c58b9d More TODOs. 2015-10-07 18:34:54 -04:00
Pietro Gagliardi 70349a403d Implemented radial gradients. 2015-10-07 18:32:55 -04:00
Pietro Gagliardi 68a8bbc39a Changed Thickness to a double; all platforms use doubles for this. 2015-10-07 17:27:24 -04:00
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