Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use outlines and a higher-contrast colour on the camera name display

  • Loading branch information...
commit 5aad4988accf3ed5f6bd0fff23f915ccb31ed030 1 parent 253837d
@robn robn authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/WorldView.cpp
View
6 src/WorldView.cpp
@@ -320,7 +320,11 @@ void WorldView::SetCamType(enum CamType c)
if (m_showCameraName)
Remove(m_showCameraName);
- m_showCameraName = new Gui::Label("#09f"+cameraName);
+
+ Gui::Screen::PushFont("OverlayFont");
+ m_showCameraName = new Gui::Label("#ff0"+cameraName);
+ Gui::Screen::PopFont();
+
float w, h;
Gui::Screen::MeasureString(cameraName, w, h);
Add(m_showCameraName, 0.5f*(Gui::Screen::GetWidth()-w), 20);
Please sign in to comment.
Something went wrong with that request. Please try again.