mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-07 02:26:29 +02:00
Improve nag display
This commit is contained in:
parent
98e31a2c11
commit
109a1bd697
2 changed files with 41 additions and 3 deletions
|
@ -217,7 +217,45 @@ std::string GameTabRightPanel::GetNagFromStr(std::string str){
|
||||||
// TODO: Bind more NAG!
|
// TODO: Bind more NAG!
|
||||||
if(str=="!")
|
if(str=="!")
|
||||||
return "$1";
|
return "$1";
|
||||||
if(str=="?")
|
else if(str=="?")
|
||||||
return "$2";
|
return "$2";
|
||||||
|
else if(str=="!!")
|
||||||
|
return "$3";
|
||||||
|
else if(str=="??")
|
||||||
|
return "$4";
|
||||||
|
else if(str=="!?")
|
||||||
|
return "$5";
|
||||||
|
else if(str=="?!")
|
||||||
|
return "$6";
|
||||||
|
else if(str=="=")
|
||||||
|
return "$10";
|
||||||
|
else if(str=="∞")
|
||||||
|
return "$13";
|
||||||
|
else if(str=="⩲")
|
||||||
|
return "$14";
|
||||||
|
else if(str=="⩱")
|
||||||
|
return "$15";
|
||||||
|
else if(str=="±")
|
||||||
|
return "$16";
|
||||||
|
else if(str=="∓")
|
||||||
|
return "$17";
|
||||||
|
else if(str=="+-")
|
||||||
|
return "$18";
|
||||||
|
else if(str=="-+")
|
||||||
|
return "$19";
|
||||||
|
else if(str=="⨀")
|
||||||
|
return "$22";
|
||||||
|
else if(str=="○")
|
||||||
|
return "$26";
|
||||||
|
else if(str=="⟳")
|
||||||
|
return "$32";
|
||||||
|
else if(str=="↑")
|
||||||
|
return "$36";
|
||||||
|
else if(str=="→")
|
||||||
|
return "$40";
|
||||||
|
else if(str=="⯹")
|
||||||
|
return "$44";
|
||||||
|
else if(str=="⨁")
|
||||||
|
return "$138";
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
|
@ -122,7 +122,7 @@ void EditorCanvas::DrawElement(const cgeditor::Element &e) {
|
||||||
else if(text=="$13")
|
else if(text=="$13")
|
||||||
text="∞";
|
text="∞";
|
||||||
else if(text=="$14")
|
else if(text=="$14")
|
||||||
text="⩲ ";
|
text="⩲";
|
||||||
else if(text=="$15")
|
else if(text=="$15")
|
||||||
text="⩱";
|
text="⩱";
|
||||||
else if(text=="$16")
|
else if(text=="$16")
|
||||||
|
|
Loading…
Add table
Reference in a new issue