![]() |
Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
|
#include <WinSystemWin32.h>
Public Types | |
typedef BOOL(WINAPI * | pGetGestureInfo) (HGESTUREINFO, PGESTUREINFO) |
typedef BOOL(WINAPI * | pSetGestureConfig) (HWND, DWORD, UINT, PGESTURECONFIG, UINT) |
typedef BOOL(WINAPI * | pCloseGestureInfoHandle) (HGESTUREINFO) |
typedef BOOL(WINAPI * | pEnableNonClientDpiScaling) (HWND) |
Public Member Functions | |
CWinSystemWin32 () | |
virtual | ~CWinSystemWin32 () |
bool | InitWindowSystem () override |
bool | DestroyWindowSystem () override |
bool | ResizeWindow (int newWidth, int newHeight, int newLeft, int newTop) override |
void | FinishWindowResize (int newWidth, int newHeight) override |
void | UpdateResolutions () override |
bool | CenterWindow () override |
virtual void | NotifyAppFocusChange (bool bGaining) override |
void | ShowOSMouse (bool show) override |
bool | HasInertialGestures () override |
bool | Minimize () override |
bool | Restore () override |
bool | Hide () override |
bool | Show (bool raise=true) override |
std::string | GetClipboardText () override |
bool | UseLimitedColor () override |
std::unique_ptr< CVideoSync > | GetVideoSync (void *clock) override |
bool | WindowedMode () const |
bool | SetFullScreen (bool fullScreen, RESOLUTION_INFO &res, bool blankOtherDisplays) override |
HWND | GetHwnd () const |
bool | IsAlteringWindow () const |
virtual bool | DPIChanged (WORD dpi, RECT windowRect) const |
bool | IsMinimized () const |
void | SetMinimized (bool minimized) |
void | GetConnectedOutputs (std::vector< std::string > *outputs) |
void | SetSizeMoveMode (bool mode) |
bool | IsInSizeMoveMode () const |
bool | MessagePump () override |
![]() | |
CWinSystemBase () | |
virtual | ~CWinSystemBase () |
virtual CRenderSystemBase * | GetRenderSystem () |
virtual bool | DestroyWindow () |
virtual bool | MoveWindow (int topLeft, int topRight) |
virtual void | FinishModeChange (RESOLUTION res) |
virtual bool | IsCreated () |
virtual void | NotifyAppActiveChange (bool bActivated) |
virtual bool | HasCursor () |
virtual int | NoOfBuffers () |
virtual float | GetDisplayLatency () |
virtual float | GetFrameLatencyAdjustment () |
virtual void | OnMove (int x, int y) |
KODI::WINDOWING::COSScreenSaverManager * | GetOSScreenSaver () |
unsigned int | GetWidth () |
unsigned int | GetHeight () |
virtual bool | CanDoWindowed () |
bool | IsFullScreen () |
void | SetWindowResolution (int width, int height) |
std::vector< RESOLUTION_WHR > | ScreenResolutions (float refreshrate) |
std::vector< REFRESHRATE > | RefreshRates (int width, int height, uint32_t dwFlags) |
REFRESHRATE | DefaultRefreshRate (std::vector< REFRESHRATE > rates) |
virtual bool | HasCalibration (const RESOLUTION_INFO &resInfo) |
void | RegisterRenderLoop (IRenderLoop *client) |
void | UnregisterRenderLoop (IRenderLoop *client) |
void | DriveRenderLoop () |
CGraphicContext & | GetGfxContext () |
Public Attributes | |
pGetGestureInfo | PtrGetGestureInfo |
pSetGestureConfig | PtrSetGestureConfig |
pCloseGestureInfoHandle | PtrCloseGestureInfoHandle |
pEnableNonClientDpiScaling | PtrEnableNonClientDpiScaling |
Protected Member Functions | |
bool | CreateNewWindow (const std::string &name, bool fullScreen, RESOLUTION_INFO &res) override=0 |
virtual void | UpdateStates (bool fullScreen) |
WINDOW_STATE | GetState (bool fullScreen) const |
virtual void | SetDeviceFullScreen (bool fullScreen, RESOLUTION_INFO &res)=0 |
virtual void | ReleaseBackBuffer ()=0 |
virtual void | CreateBackBuffer ()=0 |
virtual void | ResizeDeviceBuffers ()=0 |
virtual bool | IsStereoEnabled ()=0 |
virtual void | OnScreenChange (HMONITOR monitor)=0 |
virtual void | AdjustWindow (bool forceResize=false) |
void | CenterCursor () const |
virtual void | Register (IDispResource *resource) |
virtual void | Unregister (IDispResource *resource) |
virtual bool | ChangeResolution (const RESOLUTION_INFO &res, bool forceChange=false) |
virtual bool | CreateBlankWindows () |
virtual bool | BlankNonActiveMonitors (bool bBlank) |
MONITOR_DETAILS * | GetDisplayDetails (const std::string &name) |
MONITOR_DETAILS * | GetDisplayDetails (HMONITOR handle) |
void | RestoreDesktopResolution (MONITOR_DETAILS *details) |
RECT | ScreenRect (HMONITOR handle) |
void | GetConnectedDisplays (std::vector< MONITOR_DETAILS > &outputs) |
void | OnDisplayLost () |
void | OnDisplayReset () |
void | OnDisplayBack () |
void | ResolutionChanged () |
![]() | |
void | UpdateDesktopResolution (RESOLUTION_INFO &newRes, const std::string &output, int width, int height, float refreshRate, uint32_t dwFlags) |
virtual std::unique_ptr< KODI::WINDOWING::IOSScreenSaver > | GetOSScreenSaverImpl () |
Static Protected Member Functions | |
static bool | AddResolution (const RESOLUTION_INFO &res) |
Adds a resolution to the list of resolutions if we don't already have it. More... | |
static void | SetForegroundWindowInternal (HWND hWnd) |
Additional Inherited Members | |
![]() | |
static std::unique_ptr< CWinSystemBase > | CreateWinSystem () |
typedef BOOL(WINAPI * CWinSystemWin32::pCloseGestureInfoHandle) (HGESTUREINFO) |
typedef BOOL(WINAPI * CWinSystemWin32::pEnableNonClientDpiScaling) (HWND) |
typedef BOOL(WINAPI * CWinSystemWin32::pGetGestureInfo) (HGESTUREINFO, PGESTUREINFO) |
CWinSystemWin32::CWinSystemWin32 | ( | ) |
|
virtual |
|
staticprotected |
Adds a resolution to the list of resolutions if we don't already have it.
res | resolution to add. |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
overridevirtual |
Reimplemented from CWinSystemBase.
|
protectedvirtual |
Reimplemented in CWinSystemWin32DX.
|
protectedpure virtual |
Implemented in CWinSystemWin32DX.
|
protectedvirtual |
|
overrideprotectedpure virtual |
Implements CWinSystemBase.
Implemented in CWinSystemWin32DX.
|
overridevirtual |
Reimplemented from CWinSystemBase.
|
virtual |
Reimplemented in CWinSystemWin32DX.
|
overridevirtual |
Reimplemented from CWinSystemBase.
|
overridevirtual |
Reimplemented from CWinSystemBase.
|
protected |
void CWinSystemWin32::GetConnectedOutputs | ( | std::vector< std::string > * | outputs | ) |
|
protected |
|
protected |
|
inline |
|
protected |
|
overridevirtual |
Reimplemented from CWinSystemBase.
|
inlineoverridevirtual |
Reimplemented from CWinSystemBase.
|
overridevirtual |
Reimplemented from CWinSystemBase.
|
overridevirtual |
Reimplemented from CWinSystemBase.
|
inline |
|
inline |
|
inline |
|
protectedpure virtual |
Implemented in CWinSystemWin32DX.
|
overridevirtual |
Reimplemented from CWinSystemBase.
|
overridevirtual |
Reimplemented from CWinSystemBase.
|
overridevirtual |
Reimplemented from CWinSystemBase.
|
protected |
|
protected |
|
protected |
|
protectedpure virtual |
Implemented in CWinSystemWin32DX.
|
protectedvirtual |
Implements CWinSystemBase.
Reimplemented in CWinSystemWin32DX.
|
protectedpure virtual |
Implemented in CWinSystemWin32DX.
|
protectedpure virtual |
Implemented in CWinSystemWin32DX.
|
overridevirtual |
Implements CWinSystemBase.
Reimplemented in CWinSystemWin32DX.
|
protected |
|
overridevirtual |
Reimplemented from CWinSystemBase.
|
protected |
|
protected |
|
protectedpure virtual |
Implemented in CWinSystemWin32DX.
|
staticprotected |
|
overridevirtual |
Implements CWinSystemBase.
Reimplemented in CWinSystemWin32DX.
|
inline |
|
inline |
|
overridevirtual |
Reimplemented from CWinSystemBase.
|
overridevirtual |
Reimplemented from CWinSystemBase.
|
protectedvirtual |
Implements CWinSystemBase.
Reimplemented in CWinSystemWin32DX.
|
overridevirtual |
Reimplemented from CWinSystemBase.
|
protectedvirtual |
|
overridevirtual |
Reimplemented from CWinSystemBase.
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
pCloseGestureInfoHandle CWinSystemWin32::PtrCloseGestureInfoHandle |
pEnableNonClientDpiScaling CWinSystemWin32::PtrEnableNonClientDpiScaling |
pGetGestureInfo CWinSystemWin32::PtrGetGestureInfo |
pSetGestureConfig CWinSystemWin32::PtrSetGestureConfig |