2010-12-27 01:01:25 +00:00
|
|
|
|
/********************************************************
|
|
|
|
|
* DisplayModeCollection.h *
|
|
|
|
|
* *
|
|
|
|
|
* XFX DisplayModeCollection definition file *
|
|
|
|
|
* Copyright <EFBFBD> XFX Team. All Rights Reserved *
|
|
|
|
|
********************************************************/
|
|
|
|
|
#ifndef _XFX_GRAPHICS_DISPLAYMODECOLLECTION_
|
|
|
|
|
#define _XFX_GRAPHICS_DISPLAYMODECOLLECTION_
|
2010-12-04 16:14:34 +00:00
|
|
|
|
|
2010-12-27 01:01:25 +00:00
|
|
|
|
#include <System/Types.h>
|
|
|
|
|
#include <System/Collections/Generic/List.h>
|
|
|
|
|
#include "DisplayMode.h"
|
2010-12-04 16:14:34 +00:00
|
|
|
|
|
|
|
|
|
using namespace System;
|
2010-12-27 01:01:25 +00:00
|
|
|
|
using namespace System::Collections::Generic;
|
2010-12-04 16:14:34 +00:00
|
|
|
|
|
|
|
|
|
namespace XFX
|
|
|
|
|
{
|
|
|
|
|
namespace Graphics
|
|
|
|
|
{
|
2010-12-27 01:01:25 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Manipulates a collection of DisplayMode structures.
|
|
|
|
|
/// </summaryy>
|
2010-12-04 16:14:34 +00:00
|
|
|
|
struct DisplayModeCollection
|
|
|
|
|
{
|
2010-12-27 01:01:25 +00:00
|
|
|
|
private:
|
|
|
|
|
int adapterOrdinal;
|
|
|
|
|
List<DisplayMode> displayModes;
|
|
|
|
|
SurfaceFormat_t currentFormat;
|
|
|
|
|
int count;
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
DisplayModeCollection();
|
|
|
|
|
|
|
|
|
|
bool operator!=(DisplayModeCollection other);
|
|
|
|
|
bool operator==(DisplayModeCollection other);
|
2010-12-04 16:14:34 +00:00
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2010-12-27 01:01:25 +00:00
|
|
|
|
#endif //_XFX_GRAPHICS_DISPLAYMODECOLLECTION_
|