Emu_window: Move virtual function definition to .cpp file (fix weak_vtable)
This commit is contained in:
parent
bbb96a392d
commit
9cefad91e3
2 changed files with 6 additions and 3 deletions
|
@ -124,3 +124,8 @@ EmuWindow::FramebufferLayout EmuWindow::FramebufferLayout::DefaultScreenLayout(u
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void EmuWindow::OnMinimalClientAreaChangeRequest(const std::pair<unsigned,unsigned>& minimal_size) {
|
||||||
|
// By default, ignore this request and do nothing.
|
||||||
|
(void)minimal_size;
|
||||||
|
}
|
||||||
|
|
|
@ -195,9 +195,7 @@ private:
|
||||||
* Handler called when the minimal client area was requested to be changed via SetConfig.
|
* Handler called when the minimal client area was requested to be changed via SetConfig.
|
||||||
* For the request to be honored, EmuWindow implementations will usually reimplement this function.
|
* For the request to be honored, EmuWindow implementations will usually reimplement this function.
|
||||||
*/
|
*/
|
||||||
virtual void OnMinimalClientAreaChangeRequest(const std::pair<unsigned,unsigned>& minimal_size) {
|
virtual void OnMinimalClientAreaChangeRequest(const std::pair<unsigned,unsigned>& minimal_size);
|
||||||
// By default, ignore this request and do nothing.
|
|
||||||
}
|
|
||||||
|
|
||||||
FramebufferLayout framebuffer_layout; ///< Current framebuffer layout
|
FramebufferLayout framebuffer_layout; ///< Current framebuffer layout
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue