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

Function panelPositionFromString

src/tools/ecode/appconfig.cpp:64–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64static PanelPosition panelPositionFromString( const std::string& str ) {
65 if ( String::toLower( str ) == "right" )
66 return PanelPosition::Right;
67 return PanelPosition::Left;
68}
69
70static std::string panelPositionToString( const PanelPosition& pos ) {
71 if ( pos == PanelPosition::Right )

Callers 1

loadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected