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

Method addStyle

src/eepp/ui/css/stylesheet.cpp:185–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185void StyleSheet::addStyle( std::shared_ptr<StyleSheetStyle> node ) {
186 if ( addStyleToNodeIndex( node.get() ) ) {
187 mNodes.push_back( node );
188 }
189 addMediaQueryList( node->getMediaQueryList() );
190 mVersion++;
191}
192
193bool StyleSheet::isEmpty() const {
194 return mNodes.empty();

Callers 4

setThemeMethod · 0.80
getAllWithMarkerMethod · 0.80
getAllWithMarkersMethod · 0.80
readPropertyMethod · 0.80

Calls 2

push_backMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected