- Added DrawThemeTextBox()

- fixed GetThemeTextDimensions(): it has an in/out Point arg, not just out.
This commit is contained in:
Just van Rossum 2002-01-02 15:11:44 +00:00
parent 1ca65c0738
commit 4f6fe52424
3 changed files with 50 additions and 4 deletions

View file

@ -48,7 +48,6 @@ class MyScanner(Scanner):
"appearanceBadTextColorIndexErr",
"appearanceThemeHasNoAccents",
"appearanceBadCursorIndexErr",
"DrawThemeTextBox", # Funny void* out param
]
def makegreylist(self):
@ -58,6 +57,7 @@ class MyScanner(Scanner):
'GetThemeTextShadowOutset',
'GetThemeTextDimensions',
'TruncateThemeText',
'DrawThemeTextBox',
])]
def makeblacklisttypes(self):
@ -80,6 +80,10 @@ class MyScanner(Scanner):
def makerepairinstructions(self):
return [
([("void", 'inContext', "OutMode")],
[("NULL", 'inContext', "InMode")]),
([("Point", 'ioBounds', "OutMode")],
[("Point", 'ioBounds', "InOutMode")]),
]
if __name__ == "__main__":