131 Commits

Author SHA1 Message Date
Amy Bowersox
d1369964d7 The code has to be GPL'd, because the license of the BCM2835 library requires
it.  Add the license document and the header on all source files.
2019-12-12 09:24:58 -07:00
Amy Bowersox
91c466eae7 typo in makefile 2019-12-11 15:54:21 -07:00
Amy Bowersox
cb9ecc89ca add the undo and clear commands with their icons 2019-12-11 15:52:49 -07:00
Amy Bowersox
6a4938e4ee finished disco debugging 2019-12-11 14:27:14 -07:00
Amy Bowersox
372f48eab7 assert that everything is present 2019-12-11 14:25:05 -07:00
Amy Bowersox
b5fd4c2879 OK, another null problem needs fixing 2019-12-11 14:23:23 -07:00
Amy Bowersox
9318d27b2b null check before deleting bitmap? 2019-12-11 14:21:27 -07:00
Amy Bowersox
b90c2efe2f dig into the bitmap creation 2019-12-11 14:19:51 -07:00
Amy Bowersox
a8a5206b89 is the problem in Epython_wrap_bitmap? 2019-12-11 14:16:25 -07:00
Amy Bowersox
0dd8d45898 now probing into the Python interface for devctx 2019-12-11 14:14:17 -07:00
Amy Bowersox
79088d4893 change spec of arguments to bitmap init 2019-12-11 14:06:26 -07:00
Amy Bowersox
b96527139f forgot brackets 2019-12-11 14:04:24 -07:00
Amy Bowersox
ed9fd9320c added stock bitmap handling and support for it in the demo script 2019-12-11 14:03:11 -07:00
Amy Bowersox
1b4cbfae63 try makefile another way 2019-12-11 13:22:39 -07:00
Amy Bowersox
62204682af adding the four "tool" icons to bind into the executable (this works for now) 2019-12-11 13:20:45 -07:00
Amy Bowersox
2526184dfe rename mksplash to mkgfx because it's really more general than just for
splash screen graphics
2019-12-11 13:04:00 -07:00
Amy Bowersox
0dce80f1e3 lengthen the click time 2019-12-11 12:33:18 -07:00
Amy Bowersox
a62364082a try to fix the coordinates returned by touch events 2019-12-11 12:31:32 -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
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