Added keyboard/controller controls for scrollable menu components beyond bounds for disabled controls.

This commit is contained in:
2023-10-17 00:50:58 -05:00
parent 958a1866c7
commit 340690a26b
6 changed files with 38 additions and 5 deletions
+3
View File
@@ -72,6 +72,9 @@ private:
void DrawScaledWindowBorder(Crawler*game,vf2d menuPos);
void DrawTiledWindowBorder(Crawler*game,vf2d menuPos);
//This triggers if we use a keyboard/controller input to try and select some off-screen menu item. We should ideally follow the menu cursor.
bool HandleOutsideDisabledButtonSelection(MenuComponent*disabledButton);
Pixel GetRenderColor();
};