|
@ -36,7 +36,7 @@ |
|
|
#include "../../ui_api.h" |
|
|
#include "../../ui_api.h" |
|
|
#include "../../../ultralcd.h" |
|
|
#include "../../../ultralcd.h" |
|
|
|
|
|
|
|
|
#if ENABLED(DUGS_UI_MOVE_DIS_OPTION) |
|
|
#if ENABLED(DGUS_UI_MOVE_DIS_OPTION) |
|
|
uint16_t distanceToMove = 0.1; |
|
|
uint16_t distanceToMove = 0.1; |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
@ -331,10 +331,10 @@ const struct DGUS_VP_Variable ListOfVP[] PROGMEM = { |
|
|
VPHELPER(VP_CONFIRMED, nullptr, DGUSScreenVariableHandler::ScreenConfirmedOK, nullptr), |
|
|
VPHELPER(VP_CONFIRMED, nullptr, DGUSScreenVariableHandler::ScreenConfirmedOK, nullptr), |
|
|
|
|
|
|
|
|
VPHELPER(VP_TEMP_ALL_OFF, nullptr, &DGUSScreenVariableHandler::HandleAllHeatersOff, nullptr), |
|
|
VPHELPER(VP_TEMP_ALL_OFF, nullptr, &DGUSScreenVariableHandler::HandleAllHeatersOff, nullptr), |
|
|
#if ENABLED(DUGS_UI_MOVE_DIS_OPTION) |
|
|
#if ENABLED(DGUS_UI_MOVE_DIS_OPTION) |
|
|
VPHELPER(VP_MOVE_OPTION, &distanceToMove, &DGUSScreenVariableHandler::HandleManualMoveOption, nullptr), |
|
|
VPHELPER(VP_MOVE_OPTION, &distanceToMove, &DGUSScreenVariableHandler::HandleManualMoveOption, nullptr), |
|
|
#endif |
|
|
#endif |
|
|
#if ENABLED(DUGS_UI_MOVE_DIS_OPTION) |
|
|
#if ENABLED(DGUS_UI_MOVE_DIS_OPTION) |
|
|
VPHELPER(VP_MOVE_X, &distanceToMove, &DGUSScreenVariableHandler::HandleManualMove, nullptr), |
|
|
VPHELPER(VP_MOVE_X, &distanceToMove, &DGUSScreenVariableHandler::HandleManualMove, nullptr), |
|
|
VPHELPER(VP_MOVE_Y, &distanceToMove, &DGUSScreenVariableHandler::HandleManualMove, nullptr), |
|
|
VPHELPER(VP_MOVE_Y, &distanceToMove, &DGUSScreenVariableHandler::HandleManualMove, nullptr), |
|
|
VPHELPER(VP_MOVE_Z, &distanceToMove, &DGUSScreenVariableHandler::HandleManualMove, nullptr), |
|
|
VPHELPER(VP_MOVE_Z, &distanceToMove, &DGUSScreenVariableHandler::HandleManualMove, nullptr), |
|
|