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:
9
includes/raygui_helpers.hpp
Normal file
9
includes/raygui_helpers.hpp
Normal 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
|
Reference in New Issue
Block a user