Moved display_text_centered() into a separate file, since I could possibly extend this file with other raygui helper functions

This commit is contained in:
2024-03-09 11:03:27 -05:00
parent f9d5e8cdeb
commit eeae444b1d
2 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
#ifndef _RAYGUI_HELPERS_HPP
#define _RAYGUI_HELPERS_HPP
#include <string>
/* Display the given text, centered on the screen, as a label.
NEEDS RAYGUI LIBRARY. */
void display_text_centered(std::string to_disp);
#endif