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

Method getAllWithMarkers

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

Source from the content-addressed store, hash-verified

106}
107
108StyleSheet StyleSheet::getAllWithMarkers() const {
109 StyleSheet style;
110 std::vector<std::shared_ptr<StyleSheetStyle>> hits;
111 for ( auto node : mNodes ) {
112 if ( node->getMarker() != 0 )
113 style.addStyle( node );
114 }
115 return style;
116}
117
118bool StyleSheet::markerExists( const Uint32& marker ) const {
119 for ( auto node : mNodes ) {

Callers 1

setThemeMethod · 0.80

Calls 1

addStyleMethod · 0.80

Tested by

no test coverage detected