Assign values to reflow reason so that when printing them numerically it's easier to map the integer back to the enum

This commit is contained in:
kipp 1998-06-25 15:03:37 +00:00
Родитель 856263ab91
Коммит aa980ae438
2 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -72,9 +72,9 @@ struct nsReflowMetrics {
#define NS_UNCONSTRAINEDSIZE NS_MAXSIZE
enum nsReflowReason {
eReflowReason_Initial, // initial reflow of a newly created frame
eReflowReason_Incremental, // an incremental change has occured. see the reflow command for details
eReflowReason_Resize // general request to determine a desired size
eReflowReason_Initial = 0, // initial reflow of a newly created frame
eReflowReason_Incremental = 1, // an incremental change has occured. see the reflow command for details
eReflowReason_Resize = 2 // general request to determine a desired size
};
/**

Просмотреть файл

@ -72,9 +72,9 @@ struct nsReflowMetrics {
#define NS_UNCONSTRAINEDSIZE NS_MAXSIZE
enum nsReflowReason {
eReflowReason_Initial, // initial reflow of a newly created frame
eReflowReason_Incremental, // an incremental change has occured. see the reflow command for details
eReflowReason_Resize // general request to determine a desired size
eReflowReason_Initial = 0, // initial reflow of a newly created frame
eReflowReason_Incremental = 1, // an incremental change has occured. see the reflow command for details
eReflowReason_Resize = 2 // general request to determine a desired size
};
/**