mirror of
https://github.com/allankoechke/raylib-cpp.git
synced 2026-11-30 10:59:00 +00:00
Add window overrides
This commit is contained in:
@@ -32,6 +32,20 @@
|
||||
|
||||
namespace raylib {
|
||||
|
||||
/**
|
||||
* Initialize window and OpenGL context
|
||||
*/
|
||||
inline void InitWindow(int width, int height, const std::string& title) {
|
||||
::InitWindow(width, height, title.c_str());
|
||||
}
|
||||
|
||||
/**
|
||||
* Set title for window
|
||||
*/
|
||||
inline void SetWindowTitle(const std::string& title) {
|
||||
::SetWindowTitle(title.c_str());
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the human-readable, UTF-8 encoded name of the primary monitor
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user