Commit Graph

124 Commits

Author SHA1 Message Date
Amy Bowersox
acc7aacf7b fixed another typo 2019-12-11 12:14:55 -07:00
Amy Bowersox
c309e4dc0f now I forgot that text_color is an ATTRIBUTE of a DC 2019-12-11 12:13:35 -07:00
Amy Bowersox
9fbb7be717 I forgot you can't alter the elements of tuples 2019-12-11 12:12:33 -07:00
0d6b6ba8b4 minor fix to sysinput 2019-12-11 12:07:37 -07:00
Amy Bowersox
1088f630a0 added the rgb function to upiwin and started building the demo script 2019-12-11 12:05:53 -07:00
Amy Bowersox
65999084c4 added "click" events for both buttons and touch 2019-12-11 11:32:19 -07:00
Amy Bowersox
7c844e6b69 use -Werror to make all warnings into errors (should have done this already) 2019-12-11 11:13:44 -07:00
Amy Bowersox
899be01f28 should be most of it now 2019-12-11 11:12:15 -07:00
Amy Bowersox
d7439be320 still plugging away at errors 2019-12-11 11:09:40 -07:00
Amy Bowersox
c388dbc1d2 more errors 2019-12-11 11:05:36 -07:00
Amy Bowersox
e59e6e0bae more compile errors 2019-12-11 11:04:09 -07:00
Amy Bowersox
971826e118 more pushing of errors 2019-12-11 10:59:14 -07:00
Amy Bowersox
864360f9fa compile errors in new stuff 2019-12-11 10:57:07 -07:00
Amy Bowersox
4745d51361 fix some compile errors 2019-12-11 10:54:09 -07:00
Amy Bowersox
379bcab885 fixes to some headers that were missing stuff 2019-12-11 10:51:25 -07:00
76269f5189 fix to makefile 2019-12-11 10:50:59 -07:00
Amy Bowersox
ee3df7bffc forgot to add the registration of the Bitmap type 2019-12-11 10:47:45 -07:00
Amy Bowersox
20ed16a9ae sending over all the bitmap and select_object work for compile check 2019-12-11 10:45:45 -07:00
Amy Bowersox
b390886277 work in progress - support for bitmaps and BitBlt 2019-12-10 17:09:16 -07:00
Amy Bowersox
59c8dcc638 a more extensive clipping test 2019-12-10 15:00:51 -07:00
Amy Bowersox
02c8ede681 remove use of tmp some places 2019-12-10 14:56:48 -07:00
Amy Bowersox
d711df60bd try it with 8-bit precision 2019-12-10 14:55:26 -07:00
Amy Bowersox
cfc7519727 a fencepost error 2019-12-10 14:51:53 -07:00
Amy Bowersox
ab16513e3a 8-bit precision may be needed here 2019-12-10 14:48:02 -07:00
Amy Bowersox
eee409d4e7 add an infinite loop detector 2019-12-10 14:45:02 -07:00
Amy Bowersox
2b9853fd4c boundary condition on right, attempting to bypass 2019-12-10 14:41:41 -07:00
Amy Bowersox
f5cab0010e OK, NOW i think I'm on the right track - re-reverse the signs 2019-12-10 14:36:38 -07:00
Amy Bowersox
da9658408a use lesser precision in hope it works 2019-12-10 14:32:24 -07:00
Amy Bowersox
3996501cf0 I don't understand fixed point arithmetic - this fixed that, I hope 2019-12-10 14:30:45 -07:00
Amy Bowersox
d66aa4de24 try with higher-precision variables 2019-12-10 14:13:38 -07:00
Amy Bowersox
406c4fd85d checking math again 2019-12-10 14:08:20 -07:00
Amy Bowersox
962f13dc1a ever closer to a solution 2019-12-10 14:06:23 -07:00
Amy Bowersox
85144de58f look at the unshifted d values 2019-12-10 14:01:36 -07:00
Amy Bowersox
3b7f326768 more tracing 2019-12-10 13:59:27 -07:00
Amy Bowersox
3821988610 I think I reversed a sign somewhere 2019-12-10 13:53:33 -07:00
Amy Bowersox
7ed0dea017 possible that numeric ordering is b0rking it? 2019-12-10 13:49:21 -07:00
Amy Bowersox
48415ab947 again... 2019-12-10 13:43:30 -07:00
Amy Bowersox
ddc005ed8b logging needed work :) 2019-12-10 13:42:40 -07:00
Amy Bowersox
3d40bb2943 now disco debugging the clipping algorithm 2019-12-10 13:40:23 -07:00
Amy Bowersox
a14acdb0ed the clipping looks like it worked, my geometry was just off :) 2019-12-10 13:25:36 -07:00
Amy Bowersox
3dd2e037ff finished debugging parameter error, now test drawing without resetting clip 2019-12-10 13:21:24 -07:00
Amy Bowersox
12bd14e1e7 more disco debugging 2019-12-10 13:17:46 -07:00
Amy Bowersox
9746ad1ab3 disco debugging, yay! 2019-12-10 13:13:56 -07:00
f41356cca4 prepare for disco debugging 2019-12-10 13:10:43 -07:00
Amy Bowersox
eef55f71b3 added a script to test clipping of drawn lines 2019-12-10 13:04:24 -07:00
519e58fd77 fixed compile errors 2019-12-10 12:55:32 -07:00
Amy Bowersox
c3b3e0a350 first pass at the device-independent drawing system, including the Python
representation of a device context
2019-12-10 12:42:58 -07:00
Amy Bowersox
ee292d3aab starting to build device-independent drawing functions (work in progress) 2019-12-09 17:02:04 -07:00
Amy Bowersox
68be55a8f5 tracing backlight problem and fixing a typo in a function definition 2019-12-09 13:42:55 -07:00
Amy Bowersox
bb8b27fb24 forgot the Python import 2019-12-09 13:38:01 -07:00