| 23 | } |
| 24 | |
| 25 | void IFocusAnimation::onWindowFocus(CWindow* pWindow, HANDLE pHandle) { |
| 26 | m_sFocusInAnimConfig.internalBezier = HyprlandAPI::getConfigValue(pHandle, configPrefix() + "in_bezier")->strValue; |
| 27 | m_sFocusInAnimConfig.internalSpeed = HyprlandAPI::getConfigValue(pHandle, configPrefix() + "in_speed")->floatValue; |
| 28 | |
| 29 | m_sFocusOutAnimConfig.internalBezier = HyprlandAPI::getConfigValue(pHandle, configPrefix() + "out_bezier")->strValue; |
| 30 | m_sFocusOutAnimConfig.internalSpeed = HyprlandAPI::getConfigValue(pHandle, configPrefix() + "out_speed")->floatValue; |
| 31 | } |
| 32 | |
| 33 | void IFocusAnimation::addConfigValue(HANDLE pHandle, std::string name, SConfigValue sValue) { |
| 34 | HyprlandAPI::addConfigValue(pHandle, configPrefix() + name, sValue); |
nothing calls this directly
no outgoing calls
no test coverage detected