| 896 | } |
| 897 | |
| 898 | void cFodder::GUI_Sidebar_Number_Draw(int16 pNumber, int16 pX, int16 pData8, int16 pY, int16 pData10) { |
| 899 | pData10 -= 0x1A; |
| 900 | |
| 901 | std::stringstream Tmp; |
| 902 | Tmp << tool_StripLeadingZero(std::to_string(pNumber)); |
| 903 | |
| 904 | String_CalculateWidth(pData8, mFont_Sidebar_Width, Tmp.str()); |
| 905 | mGUI_Print_String_To_Sidebar = -1; |
| 906 | String_Print(mFont_Sidebar_Width, pData10, mGUI_Temp_X + pX, pY, Tmp.str()); |
| 907 | |
| 908 | mGUI_Print_String_To_Sidebar = 0; |
| 909 | } |
| 910 | |
| 911 | int16 cFodder::Mouse_Button_Left_Toggled() { |
| 912 | if (mMouse_Button_Left_Toggle >= 0) |
nothing calls this directly
no test coverage detected