(svn r14063) -Codechange: replace some "magic" constants with enumified constants.

This commit is contained in:
rubidium
2008-08-13 06:05:01 +00:00
parent 08e7da71f5
commit 97c184f8f8
19 changed files with 48 additions and 18 deletions

View File

@@ -31,8 +31,10 @@ enum Owner {
DECLARE_POSTFIX_INCREMENT(Owner);
enum {
MAX_LENGTH_PRESIDENT_NAME = 31, ///< The maximum length for a president's name
MAX_LENGTH_COMPANY_NAME = 31, ///< The maximum length for a company's name
MAX_LENGTH_PRESIDENT_NAME_BYTES = 31, ///< The maximum length of a president name in bytes including '\0'
MAX_LENGTH_PRESIDENT_NAME_PIXELS = 94, ///< The maximum length of a president name in pixels
MAX_LENGTH_COMPANY_NAME_BYTES = 31, ///< The maximum length of a company name in bytes including '\0'
MAX_LENGTH_COMPANY_NAME_PIXELS = 150, ///< The maximum length of a company name in pixels
};
/** Define basic enum properties */