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

Method removeClass

src/eepp/ui/uiwidget.cpp:1115–1127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1113}
1114
1115UIWidget* UIWidget::removeClass( const std::string& cls ) {
1116 if ( hasClass( cls ) ) {
1117 mClasses.erase( std::find( mClasses.begin(), mClasses.end(), cls ) );
1118
1119 if ( !isSceneNodeLoading() && !isLoadingState() ) {
1120 getUISceneNode()->invalidateStyle( this );
1121 getUISceneNode()->invalidateStyleState( this );
1122 }
1123
1124 onClassChange();
1125 }
1126 return this;
1127}
1128
1129UIWidget* UIWidget::removeClasses( const std::vector<std::string>& classes ) {
1130 if ( !classes.empty() ) {

Callers 15

updateEditorTabTitleMethod · 0.80
onCodeEditorCreatedMethod · 0.80
refreshHighlightMethod · 0.80
findPrevTextMethod · 0.80
findNextTextMethod · 0.80
updateStateMethod · 0.80
contractPanelMethod · 0.80
LLMChatUIMethod · 0.80
addChatUIMethod · 0.80
zorderTabsMethod · 0.80
UIAudioPlayerMethod · 0.80
UIDocFindReplaceMethod · 0.80

Calls 6

findFunction · 0.85
invalidateStyleMethod · 0.80
invalidateStyleStateMethod · 0.80
eraseMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected