Skip to content

Commit

Permalink
Minor theme tweaks. Updated bvconv.sh tool
Browse files Browse the repository at this point in the history
  • Loading branch information
inflex committed Aug 2, 2016
1 parent aa0fb67 commit 5702c1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/openboardview/BoardView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2455,6 +2455,8 @@ inline void BoardView::DrawAnnotations(ImDrawList *draw) {
snprintf(buf, sizeof(buf), "%s", ann.note.c_str());
buf[50] = '\0';

ImGui::PushStyleColor(ImGuiCol_Text, ImColor(0xff333333));
ImGui::PushStyleColor(ImGuiCol_PopupBg, ImColor(0xffdddddd));
ImGui::BeginTooltip();
ImGui::Text("%c(%0.0f,%0.0f) %s %s%c%s%c\n%s%s",
m_current_side ? 'B' : 'T',
Expand All @@ -2469,6 +2471,7 @@ inline void BoardView::DrawAnnotations(ImDrawList *draw) {
ann.note.size() > 50 ? "..." : "");

ImGui::EndTooltip();
ImGui::PopStyleColor(2);
} else {
}
draw->AddCircleFilled(s, DPIF(2), m_colors.annotationStalkColor, 8);
Expand Down
2 changes: 1 addition & 1 deletion utilities/bvconv.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

if [ $# -ne 2 ]; then
if [ $# -ne 1 ]; then
echo "This tool converts the .bv board format file in to a format that can be read by the boardviewer"
echo
echo "BV files are Microsoft Access DB format files, so you need to install the mdb-tools package and"
Expand Down

0 comments on commit 5702c1a

Please sign in to comment.