Added window properties
This commit is contained in:
parent
305963fe7e
commit
89115c7b5b
3 changed files with 56 additions and 0 deletions
|
@ -6,6 +6,7 @@ int main(int argc, char** argv)
|
|||
|
||||
MyWindow window(800, 800, "Test");
|
||||
SDL_SetWindowTitle(window.GetWindow(), "New Title");
|
||||
window.SetMouseCursorGrabbed(true);
|
||||
|
||||
SDL_Event event;
|
||||
while (window.IsOpen())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue