MCPcopy Create free account
hub / github.com/SpartanJ/eepp / setOutlineColor

Method setOutlineColor

src/eepp/ui/uitextview.cpp:161–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161UITextView* UITextView::setOutlineColor( const Color& outlineColor ) {
162 if ( mFontStyleConfig.OutlineColor != outlineColor ) {
163 mFontStyleConfig.OutlineColor = outlineColor;
164 Color newColor( outlineColor.r, outlineColor.g, outlineColor.b,
165 outlineColor.a * mAlpha / 255.f );
166 mTextCache.setOutlineColor( newColor );
167 onFontStyleChanged();
168 invalidateDraw();
169 }
170
171 return this;
172}
173
174UITextView* UITextView::setFontStyle( const Uint32& fontStyle ) {
175 if ( mFontStyleConfig.Style != fontStyle ) {

Callers 1

onAlphaChangeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected