| 112 | } |
| 113 | |
| 114 | void ui_core::OnDeviceReset() |
| 115 | { |
| 116 | m_scale_.set(float(Device.dwWidth) / UI_BASE_WIDTH, float(Device.dwHeight) / UI_BASE_HEIGHT); |
| 117 | |
| 118 | m_2DFrustum.CreateFromRect(Frect().set(0.0f, 0.0f, float(Device.dwWidth), float(Device.dwHeight))); |
| 119 | } |
| 120 | |
| 121 | void ui_core::ClientToScreenScaled(Fvector2& dest, float left, float top) |
| 122 | { |
no test coverage detected