Commit graph

52 commits

Author SHA1 Message Date
Scott Lahteine
719615a6b6 Simplify edit menu items
The `edit` part of menu items displaying values is not needed. Menu edit types can be modeled on sub-menus.
2019-10-03 06:27:30 -05:00
Scott Lahteine
273cbe931e Aliases for common menu item types 2019-10-03 06:15:21 -05:00
Scott Lahteine
7cd72de8bc General cleanup, style 2019-09-30 22:57:23 -05:00
Scott Lahteine
e3fd0519b3 Reduce need for UNUSED 2019-09-30 22:56:22 -05:00
Marcio Teixeira
e3ff27c95a Prevent duplication of PSTRs to save memory (#15435) 2019-09-30 22:53:34 -05:00
Ludy
a628d77798 Fix compile error with 6 hot-ends (#15405) 2019-09-28 15:30:41 -05:00
Scott Lahteine
4c16661153 Use named styles in draw_menu_item_static 2019-09-27 04:45:01 -05:00
Scott Lahteine
dc65788511 Shorthand for __VA_ARGS__ 2019-09-27 04:43:34 -05:00
Scott Lahteine
584c86bed1
More "zero extruders" changes (#15213) 2019-09-10 02:20:49 -05:00
George Fu
8e044ea898 Fix up Fysetc configs, pins. Fix menu type float5. (#15157) 2019-09-04 13:06:23 -05:00
Marcio Teixeira
825c2c3dc4 Fix fan speed encoder scaling (#15010) 2019-08-21 03:49:43 -05:00
Scott Lahteine
5e777601f3
Add TURBO_BACK_MENU_ITEM option (#14991) 2019-08-20 19:37:03 -05:00
Marcio Teixeira
263d7d37af "SD card" => "Media" (#14951) 2019-08-14 17:52:14 -05:00
Jason Smith
534c105a7a Fix 16-bit range check in TMenuItem::action_edit (#14834) 2019-08-05 20:02:29 -05:00
Ludy
39e1726498 Comments, includes (#14671) 2019-07-20 01:41:34 -05:00
Robby Candra
c9aa68ef7a Encoder direction: Wrangle, Revert select screen change (#14628) 2019-07-17 19:41:15 -05:00
Scott Lahteine
750a16ad38 Fix MIN/MAX function collision with macros 2019-07-05 18:14:02 -05:00
Scott Lahteine
93cd66ac11 Tweaky change from (C) to (c) 2019-06-27 23:58:16 -05:00
Scott Lahteine
d7d80418ae
Singleton for cutting tools (#14429) 2019-06-27 23:06:49 -05:00
Scott Lahteine
4c872a01f2
G-code queue singleton, front injection (#14236) 2019-06-19 00:00:19 -05:00
Scott Lahteine
2a96d4e23a Move number-to-string functions to libs 2019-06-11 07:51:47 -05:00
Scott Lahteine
44caf70917 Improve editing, fix some small value editing 2019-05-25 15:29:00 -05:00
InsanityAutomation
991ee7552b Restore menu edit to 32bit value (#13976) 2019-05-11 18:44:35 -05:00
Scott Lahteine
ad4ffa1d2f
Use C++ language supported 'nullptr' (#13944) 2019-05-09 11:45:55 -05:00
Tanguy Pruvot
e7b3720b81 Menu edit accel in increments of 25 (#13850) 2019-05-04 17:21:58 -05:00
Scott Lahteine
5051909c3c
Update do_select_screen for general use (#13800) 2019-04-24 10:13:44 -05:00
Marcio Teixeira
836435c5ef Fix action_edit int range bug (#13737) 2019-04-17 14:55:31 -05:00
Marcio Teixeira
866e2d41dc Correct range of LCD axis step editing (#13727) 2019-04-16 15:45:31 -05:00
Scott Lahteine
9cb5c57b84 Adjustments to ui8tostr_percent 2019-04-08 21:47:50 -05:00
Scott Lahteine
321a5e6580
Fix SD card reselect when scrolled (#13624)
- Change encoder position to 16-bit integer.
- Fix `SD_REPRINT_LAST_SELECTED_FILE` when the screen is scrolled.
2019-04-08 21:10:41 -05:00
Scott Lahteine
9abe9aff56
Confirm before starting SD print (#13616) 2019-04-08 13:44:35 -05:00
Scott Lahteine
10b9632bed Fix menu history item selection 2019-04-04 02:41:23 -05:00
Marcio Teixeira
5679fae11e UltraLCD enhancements (lower fan resolution, backlash menu) (#13519) 2019-03-29 14:07:43 -05:00
InsanityAutomation
691e5c3bb8 BLTouch V3.0 support (#13406) 2019-03-17 05:57:25 -05:00
Scott Lahteine
49cf92dc36
Extended condition macros (#13419)
Allow `ENABLED`, `DISABLED`, `PIN_EXISTS`, and `BUTTON_EXISTS` to take multiple arguments. Also add:
- Alias `ANY(...)` for `!DISABLED(...)`
- Alias `ANY_PIN(...)` for `PIN_EXISTS(a) || PIN_EXISTS(b) ...`
- Alias `EITHER(A,B)` for `ANY(...)`
- Alias `ALL(...)` and `BOTH(A,B)` for `ENABLED(...)`
- `NONE(...)` for `DISABLED(...)`
2019-03-16 23:43:06 -05:00
3dlabsio
645ca7af7a M141 Heated Chamber, Temperature rework (#12201) 2019-03-07 02:09:39 -06:00
Scott Lahteine
0feeef2604 Update copyright in headers 2019-02-12 15:30:11 -06:00
Scott Lahteine
17a8c37148 Label menu edit items 2019-01-28 20:20:46 -06:00
teemuatlut
e6805582a6 M569 to change stepping mode. Add new TMC section to LCD. (#12884) 2019-01-17 13:17:16 -06:00
Scott Lahteine
eb78aed863
Rename LCD menus according to variable types (#12892) 2019-01-12 16:01:04 -06:00
Ondřej Nový
a0ef6198ff Level bed corners Z-hop height option (#12858) 2019-01-10 19:15:17 -06:00
Scott Lahteine
d82c350de7
Miscellaneous LCD code renaming, reordering (#12430)
* Move special characters to language.h
* Apply some naming standards
* Clean up menu item draw functions
* Rename some Temperature methods
* UI => ExtUI
2018-11-14 13:13:51 -06:00
Scott Lahteine
50af1d1e08 Differentiate translated On/Off from Serial ON/OFF 2018-11-12 17:23:08 -06:00
Scott Lahteine
a0c795b097
Encapsulate common display code in a singleton (#12395)
* Encapsulate common LCD code in a singleton
* Depend more UBL code on UBL_DEVEL_DEBUGGING
  - Since most users don't need the debugging on at all times, this helps reduce the default build size for UBL by over 2K, a little closer to fitting on 128K boards.
2018-11-11 12:16:24 -06:00
Scott Lahteine
6093df11dc
Allow G26 to use the active extruder (#12387)
* Make lcd_quick_feedback argument optional
* Add click_to_cancel option to wait_for_hotend/bed
* Have G26 use the active nozzle and wait_for_hotend/bed
* Use wait_for_release in UBL G29
* Add 'T' parameter to G26 for an initial tool-change
2018-11-10 18:07:38 -06:00
Scott Lahteine
4ed6397e5d
More comprehensive NO_LCD_MENUS (#12367) 2018-11-09 00:07:16 -06:00
Scott Lahteine
e574f01568
More advanced pause tweaks (#12356)
* Followup to LCD_TIMEOUT_TO_STATUS=0
* Make continuous purge screen fit 20x4
* Unify purge message modes
* Preserve last-set pause header mode
2018-11-06 19:25:57 -06:00
Marcio Teixeira
8517d5f915 LCD menu code refactoring and cleanup (#12308) 2018-11-05 22:51:10 -06:00
Scott Lahteine
b063b1b722 Reorganize includes and declarations 2018-10-28 15:46:45 -05:00
Scott Lahteine
43cf913048 Move SD Card Menu to its own file 2018-10-28 15:46:45 -05:00