Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrachytski <siarhei.rachytski@gmail.com>2012-11-09 17:40:13 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:46:45 +0300
commitbcc94857d7b9f092148dea4a2a9b90c592f43a75 (patch)
tree7bf4c63e9b28fd0b00dfdcffcada9bb2c637b935 /gui/element.cpp
parent771f47410fa67f271cf425a2b1a9a0ed6119b4ea (diff)
renamed yg into graphics.
Diffstat (limited to 'gui/element.cpp')
-rw-r--r--gui/element.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/gui/element.cpp b/gui/element.cpp
index acc3d10928..c183e01602 100644
--- a/gui/element.cpp
+++ b/gui/element.cpp
@@ -1,7 +1,7 @@
#include "element.hpp"
#include "controller.hpp"
-#include "../yg/overlay_renderer.hpp"
+#include "../graphics/overlay_renderer.hpp"
#include "../base/logging.hpp"
@@ -24,22 +24,22 @@ namespace gui
return m_state;
}
- void Element::setFont(EState state, yg::FontDesc const & font)
+ void Element::setFont(EState state, graphics::FontDesc const & font)
{
m_fonts[state] = font;
}
- yg::FontDesc const & Element::font(EState state) const
+ graphics::FontDesc const & Element::font(EState state) const
{
return m_fonts[state];
}
- void Element::setColor(EState state, yg::Color const & c)
+ void Element::setColor(EState state, graphics::Color const & c)
{
m_colors[state] = c;
}
- yg::Color const & Element::color(EState state) const
+ graphics::Color const & Element::color(EState state) const
{
return m_colors[state];
}
@@ -81,12 +81,12 @@ namespace gui
}
}
- yg::OverlayElement * Element::clone(math::Matrix<double, 3, 3> const & m) const
+ graphics::OverlayElement * Element::clone(math::Matrix<double, 3, 3> const & m) const
{
return 0;
}
- void Element::draw(yg::gl::OverlayRenderer *r, math::Matrix<double, 3, 3> const & m) const
+ void Element::draw(graphics::gl::OverlayRenderer *r, math::Matrix<double, 3, 3> const & m) const
{
for (unsigned i = 0; i < boundRects().size(); ++i)
r->drawRectangle(boundRects()[i], color(state()), depth());