Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Vertical GUI (Portrait Mode) #2273

Merged
merged 13 commits into from
Dec 14, 2021
3 changes: 2 additions & 1 deletion TFT/src/User/Menu/Move.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ void storeMoveCmd(AXIS xyz, int8_t direction)
void drawXYZ(void)
{
char tempstr[20];
GUI_SetColor(INFOBOX_ICON_COLOR);
GUI_SetColor(infoSettings.status_color);

#ifdef PORTRAIT
sprintf(tempstr, "X:%.2f Y:%.2f Z:%2.f", coordinateGetAxisActual(X_AXIS), coordinateGetAxisActual(Y_AXIS),
coordinateGetAxisActual(Z_AXIS));
Expand Down
2 changes: 1 addition & 1 deletion TFT/src/User/Menu/StatusScreen.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ void drawStatus(void)
GUI_SetTextMode(GUI_TEXTMODE_NORMAL);
GUI_SetColor(GANTRYLBL_COLOR);
GUI_SetBkColor(infoSettings.status_xyz_bg_color);
sprintf(tempstr, XYZ_STATUS, coordinateGetAxisActual(X_AXIS), coordinateGetAxisActual(Y_AXIS),
sprintf(tempstr, XYZ_STATUS, coordinateGetAxisActual(X_AXIS), coordinateGetAxisActual(Y_AXIS),
radry marked this conversation as resolved.
Show resolved Hide resolved
coordinateGetAxisActual(Z_AXIS));
GUI_DispStringInPrect(&RecGantry, (uint8_t *)tempstr);

Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.