Renamed YES and NO enums with more description names that don't overlap with iOS #define's

This commit is contained in:
Robert Osfield
2010-12-06 10:35:02 +00:00
parent 76e8a1a1fa
commit b2cf978ae3
2 changed files with 24 additions and 27 deletions

View File

@@ -760,14 +760,11 @@ class OSGUTIL_EXPORT Optimizer
unsigned int _indexFirstOfRow; ///< Contain the index of the first element of the last row.
enum FitsIn
{
NO,
YES,
DOES_NOT_FIT_IN_ANY_ROW,
FITS_IN_CURRENT_ROW,
IN_NEXT_ROW
};
//Return YES if it fits in the current row,
//NO if it can't fit in any row.
//IN_NEXT_ROW if it can't fin the the current row, but can fit in next row or atlas.
FitsIn doesSourceFit(Source* source);
FitsIn doesSourceFit(Source* source);
bool addSource(Source* source);
void clampToNearestPowerOfTwoSize();
void copySources();