Commit Graph

279 Commits

Author SHA1 Message Date
Reed Nightingale
c727d876eb Fix button drawing routine 2020-02-11 21:42:50 -08:00
Reed Nightingale
efd3bfc5ad Add color distinction to button drawing 2020-02-10 01:34:02 -08:00
Reed Nightingale
2722b4367a Update include annotation 2020-02-10 01:30:21 -08:00
Reed Nightingale
2826dfde56 First pass at button drawing implementation 2020-02-10 01:30:01 -08:00
Reed Nightingale
8239761a26 Move button declarations together, declaring rather than defining required functions 2020-02-10 01:17:47 -08:00
Reed Nightingale
25d5f3aaa9 Move most of the button stuff to a separate file 2020-02-10 01:02:03 -08:00
Reed Nightingale
4583288bfa Update functions to use new button array 2020-02-10 00:53:53 -08:00
Reed Nightingale
55096c9284 Fix most compiler errors 2020-02-10 00:53:17 -08:00
Reed Nightingale
8bd9d59e5a Displaying text should accept const char* 2020-02-10 00:51:58 -08:00
Reed Nightingale
2f9a0a3e04 Fix compile errors 2020-02-10 00:51:23 -08:00
Reed Nightingale
51288f1db3 Define types for formatFreq 2020-02-10 00:35:32 -08:00
Reed Nightingale
90d550a03a Prevent multi-include problems 2020-02-10 00:29:46 -08:00
Reed Nightingale
61b79ba06a Move formatFreq to utils 2020-02-10 00:16:15 -08:00
Reed Nightingale
5c0ecb087b Comment out submenus for now 2020-02-10 00:06:28 -08:00
Reed Nightingale
fa62b1136f Update morse playback to use new version of button 2020-02-10 00:06:11 -08:00
Reed Nightingale
1077b0bf84 First pass on main menu button conversion complete. Not expected to compile 2020-02-10 00:01:49 -08:00
Reed Nightingale
254b60d88f More button conversion 2020-02-09 23:52:02 -08:00
Reed Nightingale
1869e20cf0 Add some band utility functions for later use 2020-02-09 23:35:33 -08:00
Reed Nightingale
846c59e5cc Update more buttons 2020-02-09 23:32:22 -08:00
Reed Nightingale
dc5104324b Start converting buttons. Not expected to compile 2020-02-09 23:07:12 -08:00
Reed Nightingale
c4e9d3c156 Add function stub for drawing buttons 2020-02-09 23:06:44 -08:00
Reed Nightingale
6dacc470a2 Copy size of the actual object 2020-02-09 23:05:41 -08:00
Reed Nightingale
bc1e546ece const the size 2020-02-09 22:27:49 -08:00
Reed Nightingale
7a149a979d Add some comments to button and move char to the end 2020-02-09 22:19:54 -08:00
Reed Nightingale
bafe61d10a Update button struct to provide more functionality 2020-02-09 22:17:50 -08:00
Reed Nightingale
ecc3b9c1fb Add an init routine to the menu struct 2020-02-09 22:01:19 -08:00
Reed Nightingale
cc763a0dce Add endSelector util 2020-02-09 21:59:15 -08:00
Reed Nightingale
5c04e23504 Show puck on first selection 2020-02-09 21:45:51 -08:00
Reed Nightingale
9541c009be Extract progmem variables, and fix LIMITing on menu selection 2020-02-09 21:34:30 -08:00
Reed Nightingale
d4867ac35b Partial move of main menu buttons 2020-02-09 21:14:43 -08:00
Reed Nightingale
4483852742 Fix includes 2020-02-09 18:44:17 -08:00
Reed Nightingale
a92fdc7793 Update to use new touch functions 2020-02-09 18:41:47 -08:00
Reed Nightingale
26c670ce14 Include new point location 2020-02-09 18:41:26 -08:00
Reed Nightingale
947624518d Move touch functions to their own files 2020-02-09 18:41:13 -08:00
Reed Nightingale
72fc92b584 Add classes for button timing variables and point 2020-02-09 18:40:42 -08:00
Reed Nightingale
b29bd955ca Swap loop logic for new menu logic 2020-02-09 17:59:58 -08:00
Reed Nightingale
e50857f181 Have checkTouch support ButtonPress_e 2020-02-09 17:59:29 -08:00
Reed Nightingale
bd616caaba Have touch functions read to passed pointer 2020-02-09 17:58:45 -08:00
Reed Nightingale
d9667d6756 Add some debugging lines for now 2020-02-09 17:09:46 -08:00
Reed Nightingale
5e30551bf2 Move selector logic to menu_utils 2020-02-09 17:04:47 -08:00
Reed Nightingale
9e21faa6f1 morseText should take a const char* 2020-02-09 17:04:00 -08:00
Reed Nightingale
5a12a636be Make button aware of it's types 2020-02-09 17:03:37 -08:00
Reed Nightingale
79a37620c2 Play morse when selecting 2020-02-09 16:31:24 -08:00
Reed Nightingale
66a9d82308 Set size variable for main menu button array 2020-02-09 16:17:18 -08:00
Reed Nightingale
e42b21fdf3 Add touch button finding util 2020-02-09 16:16:57 -08:00
Reed Nightingale
49c5607dd3 Move menu utils to their own file 2020-02-09 16:01:52 -08:00
Reed Nightingale
e2249af826 Move color definitions to their own file 2020-02-09 15:56:43 -08:00
Reed Nightingale
5fb47187a6 Add definition for movePuck 2020-02-09 15:42:37 -08:00
Reed Nightingale
8faa9c58c7 Make function inputs const, and fix some compiler errors 2020-02-09 15:30:37 -08:00
Reed Nightingale
a7a2655f02 Give readTouch a standard type 2020-02-09 15:29:48 -08:00