Blacklisted a few constants with funny definitions (and they're not important anyway: backward compatible error numbers).

This commit is contained in:
Jack Jansen 2000-12-19 21:33:51 +00:00
parent 932af110d3
commit 620e914266
2 changed files with 13 additions and 6 deletions

View File

@ -439,12 +439,12 @@ kThemeMetricScrollBarWidth = 0
kThemeMetricSmallScrollBarWidth = 1
kThemeMetricCheckBoxGlyphHeight = 2
kThemeMetricRadioButtonGlyphHeight = 3
appearanceBadBrushIndexErr = themeInvalidBrushErr
appearanceProcessRegisteredErr = themeProcessRegisteredErr
appearanceProcessNotRegisteredErr = themeProcessNotRegisteredErr
appearanceBadTextColorIndexErr = themeBadTextColorErr
appearanceThemeHasNoAccents = themeHasNoAccentsErr
appearanceBadCursorIndexErr = themeBadCursorIndexErr
# appearanceBadBrushIndexErr = themeInvalidBrushErr
# appearanceProcessRegisteredErr = themeProcessRegisteredErr
# appearanceProcessNotRegisteredErr = themeProcessNotRegisteredErr
# appearanceBadTextColorIndexErr = themeBadTextColorErr
# appearanceThemeHasNoAccents = themeHasNoAccentsErr
# appearanceBadCursorIndexErr = themeBadCursorIndexErr
kThemeActiveDialogBackgroundBrush = kThemeBrushDialogBackgroundActive
kThemeInactiveDialogBackgroundBrush = kThemeBrushDialogBackgroundInactive
kThemeActiveAlertBackgroundBrush = kThemeBrushAlertBackgroundActive

View File

@ -41,6 +41,13 @@ class MyScanner(Scanner):
def makeblacklistnames(self):
return [
"GetThemeFont", # Funny stringbuffer in/out parameter, I think...
# Constants with funny definitions
"appearanceBadBrushIndexErr",
"appearanceProcessRegisteredErr",
"appearanceProcessNotRegisteredErr",
"appearanceBadTextColorIndexErr",
"appearanceThemeHasNoAccents",
"appearanceBadCursorIndexErr",
]
def makegreylist(self):