diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2012-11-09 17:40:13 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:46:45 +0300 |
commit | bcc94857d7b9f092148dea4a2a9b90c592f43a75 (patch) | |
tree | 7bf4c63e9b28fd0b00dfdcffcada9bb2c637b935 /qt/widgets.hpp | |
parent | 771f47410fa67f271cf425a2b1a9a0ed6119b4ea (diff) |
renamed yg into graphics.
Diffstat (limited to 'qt/widgets.hpp')
-rw-r--r-- | qt/widgets.hpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/qt/widgets.hpp b/qt/widgets.hpp index 505cac429b..e48d52c112 100644 --- a/qt/widgets.hpp +++ b/qt/widgets.hpp @@ -2,12 +2,12 @@ //#include "../qt_tstfrm/widgets.hpp" /*#include "../map/qgl_render_context.hpp" -#include "../yg/resource_manager.hpp" +#include "../graphics/resource_manager.hpp" -class DrawerYG; +class Drawer; class VideoTimer; -namespace yg +namespace graphics { namespace gl { @@ -17,25 +17,25 @@ namespace yg namespace qt { - /// Widget uses yg for drawing. - class GLDrawWidget : public GLDrawWidgetT<DrawerYG> + /// Widget uses our graphics library for drawing. + class GLDrawWidget : public GLDrawWidgetT<Drawer> { - typedef GLDrawWidgetT<DrawerYG> base_type; - shared_ptr<yg::gl::RenderContext> m_renderContext; + typedef GLDrawWidgetT<Drawer> base_type; + shared_ptr<graphics::gl::RenderContext> m_renderContext; protected: - shared_ptr<yg::ResourceManager> m_resourceManager; + shared_ptr<graphics::ResourceManager> m_resourceManager; public: - typedef DrawerYG drawer_t; + typedef Drawer drawer_t; GLDrawWidget(QWidget * pParent); ~GLDrawWidget(); - shared_ptr<yg::gl::RenderContext> const & renderContext(); - shared_ptr<yg::ResourceManager> const & resourceManager(); + shared_ptr<graphics::gl::RenderContext> const & renderContext(); + shared_ptr<graphics::ResourceManager> const & resourceManager(); shared_ptr<drawer_t> const & GetDrawer() const; |