|
@@ -374,6 +374,13 @@ public:
|
|
|
IntVector2 GetDesktopResolution(int monitor) const;
|
|
IntVector2 GetDesktopResolution(int monitor) const;
|
|
|
/// Return the number of currently connected monitors.
|
|
/// Return the number of currently connected monitors.
|
|
|
int GetMonitorCount() const;
|
|
int GetMonitorCount() const;
|
|
|
|
|
+ /// Returns the index of the display containing the center of the window on success or a negative error code on failure.
|
|
|
|
|
+ int GetCurrentMonitor() const;
|
|
|
|
|
+ /// Returns true if window is maximized or runs in full screen mode.
|
|
|
|
|
+ bool GetMaximized() const;
|
|
|
|
|
+ /// Return display dpi information: (hdpi, vdpi, ddpi). On failure returns zero vector.
|
|
|
|
|
+ Vector3 GetDisplayDPI() const;
|
|
|
|
|
+
|
|
|
/// Return hardware format for a compressed image format, or 0 if unsupported.
|
|
/// Return hardware format for a compressed image format, or 0 if unsupported.
|
|
|
unsigned GetFormat(CompressedFormat format) const;
|
|
unsigned GetFormat(CompressedFormat format) const;
|
|
|
/// Return a shader variation by name and defines.
|
|
/// Return a shader variation by name and defines.
|
|
@@ -564,13 +571,6 @@ public:
|
|
|
/// Return whether is using an OpenGL 3 context. Return always false on Direct3D9 & Direct3D11.
|
|
/// Return whether is using an OpenGL 3 context. Return always false on Direct3D9 & Direct3D11.
|
|
|
static bool GetGL3Support();
|
|
static bool GetGL3Support();
|
|
|
|
|
|
|
|
- /// Returns the index of the display containing the center of the window on success or a negative error code on failure.
|
|
|
|
|
- int GetCurrentMonitor() const;
|
|
|
|
|
- /// Returns true if window is maximized or runs in full screen mode.
|
|
|
|
|
- bool GetMaximized() const;
|
|
|
|
|
- /// Return display dpi information: (hdpi, vdpi, ddpi). On failure returns zero vector.
|
|
|
|
|
- Vector3 GetDisplayDPI() const;
|
|
|
|
|
-
|
|
|
|
|
private:
|
|
private:
|
|
|
/// Create the application window.
|
|
/// Create the application window.
|
|
|
bool OpenWindow(int width, int height, bool resizable, bool borderless);
|
|
bool OpenWindow(int width, int height, bool resizable, bool borderless);
|