Added PyFont/mcrfpy.Font object
This commit is contained in:
parent
9486104377
commit
bec2b3294d
2 changed files with 49 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ PyObject* PyInit_mcrfpy()
|
|||
// This code runs, but Python segfaults when accessing the UIFrame type.
|
||||
//std::cout << "Adding UIFrame object to module\n";
|
||||
PyModule_AddType(m, &mcrfpydef::PyColorType);
|
||||
|
||||
PyModule_AddType(m, &mcrfpydef::PyFontType);
|
||||
PyModule_AddType(m, &mcrfpydef::PyUICaptionType);
|
||||
|
||||
if (PyModule_AddType(m, &mcrfpydef::PyUIFrameType) < 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue