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

Method setForegroundFillEnabled

src/eepp/ui/uinode.cpp:826–836  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

824}
825
826UINodeDrawable* UINode::setForegroundFillEnabled( bool enabled ) {
827 writeFlag( UI_FILL_FOREGROUND, enabled ? 1 : 0 );
828
829 if ( enabled && NULL == mForeground ) {
830 getForeground();
831 }
832
833 invalidateDraw();
834
835 return mForeground;
836}
837
838UINode* UINode::setForegroundDrawable( Drawable* drawable, bool ownIt, int index ) {
839 setForegroundFillEnabled( true )->setDrawable( index, drawable, ownIt );

Callers 1

onSortColumnMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected