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
|
|
|
|
|
{
|
2012-03-29 22:02:43 +00:00
|
|
|
|
// Manipulates a collection of DisplayMode structures.
|
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();
|
|
|
|
|
|
2012-09-28 20:36:02 +00:00
|
|
|
|
bool Equals(Object* obj) const;
|
|
|
|
|
IEnumerator<DisplayMode>* GetEnumerator();
|
|
|
|
|
int GetHashCode() const;
|
|
|
|
|
|
|
|
|
|
bool operator!=(const DisplayModeCollection& other) const;
|
|
|
|
|
bool operator==(const DisplayModeCollection& other) const;
|
2010-12-04 16:14:34 +00:00
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2010-12-27 01:01:25 +00:00
|
|
|
|
#endif //_XFX_GRAPHICS_DISPLAYMODECOLLECTION_
|