MCPcopy Create free account
hub / github.com/BehaviorTree/Groot / getGraphicModeFromString

Function getGraphicModeFromString

bt_editor/bt_editor_base.cpp:117–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115
116
117GraphicMode getGraphicModeFromString(const QString &str)
118{
119 if( str == "EDITOR")
120 return GraphicMode::EDITOR;
121 else if( str == "MONITOR")
122 return GraphicMode::MONITOR;
123 return GraphicMode::REPLAY;
124}
125
126const char *toStr(GraphicMode type)
127{

Callers 1

StartupDialogMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected