text: #include <Foundation/FoundationPCH.h>
  
  #include <Foundation/System/Screen.h>
  
  #if EZ_ENABLED(EZ_PLATFORM_WINDOWS_DESKTOP)
  #  include <Foundation/System/Implementation/Win/Screen_win32.inl>
  #elif EZ_ENABLED(EZ_PLATFORM_WINDOWS_UWP)
  #  include <Foundation/System/Implementation/uwp/Screen_uwp.inl>
  #else
  
  ezResult ezScreen::EnumerateScreens(ezHybridArray<ezScreenInfo, 2>& out_Screens)
  {
    EZ_ASSERT_NOT_IMPLEMENTED;
    return EZ_FAILURE;
  }
  
  #endif
  
  void ezScreen::PrintScreenInfo(const ezHybridArray<ezScreenInfo, 2>& screens, ezLogInterface* pLog /*= ezLog::GetThreadLocalLogSystem()*/)
  {
    EZ_LOG_BLOCK(pLog, "Screens");
  
    ezLog::Info(pLog, "Found {0} screens", screens.GetCount());
  
    for (const auto& screen : screens)
    {
      ezLog::Dev(pLog, "'{0}': Offset = ({1}, {2}), Resolution = ({3}, {4}){5}", screen.m_sDisplayName, screen.m_iOffsetX, screen.m_iOffsetY, screen.m_iResolutionX, screen.m_iResolutionY, screen.m_bIsPrimary ? " (primary)" : "");
    }
  }
  
  
  EZ_STATICLINK_FILE(Foundation, Foundation_System_Implementation_Screen);
  