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

Method unsetFlags

src/eepp/ui/uinode.cpp:952–961  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

950}
951
952UINode* UINode::unsetFlags( const Uint32& flags ) {
953 if ( mFlags & flags )
954 mFlags &= ~flags;
955
956 if ( Font::getHorizontalAlign( flags ) || Font::getVerticalAlign( flags ) ) {
957 onAlignChange();
958 }
959
960 return this;
961}
962
963UINode* UINode::resetFlags( Uint32 newFlags ) {
964 mFlags = newFlags;

Callers 6

maximizeTabWidgetMethod · 0.45
setupCellMethod · 0.45
createMethod · 0.45
setupCellMethod · 0.45
createNewUIMethod · 0.45

Calls 2

getHorizontalAlignFunction · 0.85
getVerticalAlignFunction · 0.85

Tested by 2

createMethod · 0.36
createNewUIMethod · 0.36