Rename Display to Window.
It makes more sense to be consistent and always call it window.
This commit is contained in:
parent
416a71f744
commit
24da7f45e0
33 changed files with 257 additions and 255 deletions
|
|
@ -38,10 +38,10 @@ std::string Event::MouseButtonEvent::getName() const
|
|||
|
||||
// Helper methods
|
||||
|
||||
Event Event::createSize(Display *display, int width, int height)
|
||||
Event Event::createSize(Window *window, int width, int height)
|
||||
{
|
||||
Event event(Size);
|
||||
event.size.display = display;
|
||||
event.size.window = window;
|
||||
event.size.width = width;
|
||||
event.size.height = height;
|
||||
return event;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue