mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 17:47:43 +00:00
architectural tweaks
This commit is contained in:
@@ -3,10 +3,11 @@
|
||||
namespace Specter
|
||||
{
|
||||
|
||||
void RootView::setWindow(boo::IWindow* window)
|
||||
void RootView::setWindow(boo::IWindow* window, float userScale)
|
||||
{
|
||||
window->setCallback(this);
|
||||
m_window = window;
|
||||
float pf = window->getVirtualPixelFactor();
|
||||
m_scale = window->getVirtualPixelFactor() * userScale;
|
||||
}
|
||||
|
||||
void RootView::resized(const boo::SWindowRect& rect)
|
||||
|
||||
Reference in New Issue
Block a user