Browse Source

Make font flags available to Python in PlasmaConstants.

Christian Walther 11 years ago committed by Anne Marije v/d Meer
parent
commit
e26f479bb5
  1. 6
      Sources/Plasma/FeatureLib/pfPython/pyDynamicTextGlue.cpp

6
Sources/Plasma/FeatureLib/pfPython/pyDynamicTextGlue.cpp

@ -493,4 +493,10 @@ void pyDynamicText::AddPlasmaConstantsClasses(PyObject *m)
PYTHON_ENUM_ELEMENT(PtJustify, kLeftJustify, plDynamicTextMap::kLeftJustify);
PYTHON_ENUM_ELEMENT(PtJustify, kRightJustify, plDynamicTextMap::kRightJustify);
PYTHON_ENUM_END(m, PtJustify);
PYTHON_ENUM_START(PtFontFlags);
PYTHON_ENUM_ELEMENT(PtFontFlags, kFontBold, plDynamicTextMap::kFontBold);
PYTHON_ENUM_ELEMENT(PtFontFlags, kFontItalic, plDynamicTextMap::kFontItalic);
PYTHON_ENUM_ELEMENT(PtFontFlags, kFontShadowed, plDynamicTextMap::kFontShadowed);
PYTHON_ENUM_END(m, PtFontFlags);
}

Loading…
Cancel
Save