mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Add Graphics::map_tab()
This function is useful to de-duplicate all the map page names at the bottom, which are MAP, CREW/SHIP/GRAV, STATS, and SAVE. If selected, it will surround the text in square brackets and automatically handle the positioning. Shamelessly copy-pasted from Dav999's localization branch.
This commit is contained in:
@@ -111,6 +111,8 @@ public:
|
||||
|
||||
void printcrewnamedark(int x, int y, int t);
|
||||
|
||||
void map_tab(int opt, const std::string& text, bool selected = false);
|
||||
|
||||
void Print(int _x, int _y, std::string _s, int r, int g, int b, bool cen = false);
|
||||
|
||||
void PrintAlpha(int _x, int _y, std::string _s, int r, int g, int b, int a, bool cen = false);
|
||||
|
||||
Reference in New Issue
Block a user