Add bStretched as a hint that the display will stretch the pixels to fill the screen.

This commit is contained in:
Steve Checkoway
2006-02-07 08:33:45 +00:00
parent a65d13c6d1
commit c1520c025b
+2
View File
@@ -8,12 +8,14 @@ class DisplayResolution
public: public:
int iWidth; int iWidth;
int iHeight; int iHeight;
bool bStretched;
bool operator<( const DisplayResolution &other ) const bool operator<( const DisplayResolution &other ) const
{ {
#define COMPARE(x) if( x != other.x ) return x < other.x; #define COMPARE(x) if( x != other.x ) return x < other.x;
COMPARE( iWidth ); COMPARE( iWidth );
COMPARE( iHeight ); COMPARE( iHeight );
COMPARE( bStretched );
#undef COMPARE #undef COMPARE
return false; return false;
} }