Platform/PlatformWindow: pass owner in constructor instead of setting the variable directly on the object. it is cleaner.
This commit is contained in:
parent
5a7a5e3f7c
commit
1288ef88b8
6 changed files with 14 additions and 10 deletions
|
|
@ -28,8 +28,8 @@ X11Window* X11Window::getFocused()
|
|||
return _priv::focused_window;
|
||||
}
|
||||
|
||||
X11Window::
|
||||
X11Window() :
|
||||
X11Window::X11Window(Window *owner) :
|
||||
PlatformWindow (owner),
|
||||
m_screen (0),
|
||||
m_size (200,200),
|
||||
m_cur_last (0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue