1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
XFXFramework/include/Graphics/DisplayMode.h
Halofreak1990 8f089dc2ab Added the current XFX directory tree.
WARNING!!! This revision cannot compile correctly. It is updated to reflect the many changes within the XFX project.
2010-12-04 16:14:34 +00:00

42 lines
873 B
C++

/********************************************************
* DisplayMode.h *
* *
* XFX DisplayMode structure definition file *
* Copyright © XFX Team. All Rights Reserved *
********************************************************/
#ifndef _DISPLAYMODE_
#define _DISPLAYMODE_
#include "Enums.h"
namespace XFX
{
struct Rectangle;
namespace Graphics
{
/// <summary>
/// Describes the display mode.
/// </summary>
struct DisplayMode
{
public:
float AspectRatio();
int Height;
SurfaceFormat_t Format;
int RefreshRate;
Rectangle TitleSafeArea();
int Width;
DisplayMode();
bool Equals(const DisplayMode other);
int GetHashCode();
bool operator!=(const DisplayMode other);
bool operator==(const DisplayMode other);
};
}
}
#endif //_DISPLAYMODE_