Commit Graph

160 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
4d5b53fcdc cleanup of the script elements 2019-12-11 15:34:12 -07:00
Amy Bowersox
416438f6c8 typo 2019-12-11 15:28:45 -07:00
Amy Bowersox
59ee61200c added the backlight control and some code for doing repaints 2019-12-11 15:27:29 -07:00
Amy Bowersox
2a5a6dbe4e now we're actually saving the objects and drawing them properly 2019-12-11 15:18:33 -07:00
Amy Bowersox
85e89eae4c revised the feedback for freehand 2019-12-11 14:55:34 -07:00
Amy Bowersox
e7f191a9e0 wrong procedure name stored in tool list 2019-12-11 14:53:47 -07:00
Amy Bowersox
b620f55420 adding feedback for each of the tools 2019-12-11 14:52:32 -07:00
Amy Bowersox
35a12760d7 global variable definitions again 2019-12-11 14:45:59 -07:00
Amy Bowersox
90da46505e the basic tool and color selection code 2019-12-11 14:44:35 -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
c283d06c12 disco debugging the demo script 2019-12-11 14:08:33 -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
51fda759cc take out the test for size in mkgfx.c to make it more general 2019-12-11 13:23:53 -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
8c82022168 typos 2019-12-11 13:00:38 -07:00
Amy Bowersox
b7e9de7d7e now try rubberbanding lines 2019-12-11 12:59:45 -07:00
Amy Bowersox
2c0a1374d9 guess I need to declare certain things as global 2019-12-11 12:50:10 -07:00
Amy Bowersox
fee3619ee1 first try at rubberband feedback 2019-12-11 12:46:26 -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
Amy Bowersox
46213020dd separate out the message handlers for clarity 2019-12-11 12:26:05 -07:00
Amy Bowersox
8441949e3d script had a syntax error 2019-12-11 12:21:03 -07:00
Amy Bowersox
1ea7a740fe disco debugging the script 2019-12-11 12:19:48 -07:00
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