Define UNICODE symbols

This commit is contained in:
Bruno
2021-06-06 14:54:21 +02:00
parent b6c853c308
commit 83a9d281c2
4 changed files with 16 additions and 5 deletions

View File

@@ -1209,10 +1209,10 @@ View::Cursor TextureView::grab (Source *s, glm::vec2 from, glm::vec2 to, std::pa
sourceNode->rotation_.z = glm::radians( float(degrees) );
overlay_rotation_clock_->visible_ = true;
overlay_rotation_clock_->copyTransform(overlay_rotation_);
info << "Texture Angle " << degrees << "\u00b0"; // degree symbol
info << "Texture Angle " << degrees << UNICODE_DEGREE;
}
else
info << "Texture Angle " << std::fixed << std::setprecision(1) << glm::degrees(sourceNode->rotation_.z) << "\u00b0"; // degree symbol
info << "Texture Angle " << std::fixed << std::setprecision(1) << glm::degrees(sourceNode->rotation_.z) << UNICODE_DEGREE;
overlay_rotation_clock_hand_->visible_ = true;
overlay_rotation_clock_hand_->translation_.x = s->stored_status_->translation_.x;