+ controller->SetInputFontSlant(slant);
+ }
+ break;
+ }
+ case FontStyle::PLACEHOLDER:
+ {
+ // Sets the placeholder text font's style values.
+ if(!weightDefined ||
+ (weightDefined && (controller->GetPlaceholderTextFontWeight() != weight)))
+ {
+ controller->SetPlaceholderTextFontWeight(weight);
+ }
+
+ if(!widthDefined ||
+ (widthDefined && (controller->GetPlaceholderTextFontWidth() != width)))
+ {
+ controller->SetPlaceholderTextFontWidth(width);
+ }
+
+ if(!slantDefined ||
+ (slantDefined && (controller->GetPlaceholderTextFontSlant() != slant)))
+ {
+ controller->SetPlaceholderTextFontSlant(slant);