Skip to content
Snippets Groups Projects
Commit ee0c22d9 authored by Marco Biasini's avatar Marco Biasini
Browse files

reduce number of includes (II). this time mainly in the gui module

parent d173ac57
No related branches found
No related tags found
No related merge requests found
...@@ -23,12 +23,8 @@ ...@@ -23,12 +23,8 @@
#include <ost/mol/entity_view.hh> #include <ost/mol/entity_view.hh>
#include <ost/mol/query_view_wrapper.hh> #include <ost/mol/query_view_wrapper.hh>
#include <ost/gfx/entity.hh>
#include <ost/gfx/entity_fw.hh> #include <ost/gfx/entity_fw.hh>
#include <ost/gfx/render_mode.hh> #include <ost/gfx/render_mode.hh>
#include <ost/gfx/scene_observer.hh>
#include <ost/gfx/gfx_object.hh>
#include <ost/gfx/gfx_object_fw.hh>
#include <ost/gui/module_config.hh> #include <ost/gui/module_config.hh>
#include <ost/gui/scene_win/entity_part_node.hh> #include <ost/gui/scene_win/entity_part_node.hh>
...@@ -45,7 +41,8 @@ namespace ost { namespace gui { ...@@ -45,7 +41,8 @@ namespace ost { namespace gui {
class DLLEXPORT_OST_GUI RenderModeNode : public EntityPartNode { class DLLEXPORT_OST_GUI RenderModeNode : public EntityPartNode {
Q_OBJECT Q_OBJECT
public: public:
RenderModeNode(gfx::EntityP entity, gfx::RenderMode::Type render_mode, SceneNode* node_parent ); RenderModeNode(gfx::EntityP entity, gfx::RenderMode::Type render_mode,
SceneNode* node_parent);
virtual QVariant GetData(int column, int role); virtual QVariant GetData(int column, int role);
virtual bool SetData(int column, const QVariant& value, int role); virtual bool SetData(int column, const QVariant& value, int role);
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include <ost/gfx/scene.hh> #include <ost/gfx/scene.hh>
#include <ost/gfx/gfx_node.hh> #include <ost/gfx/gfx_node.hh>
#include <ost/gfx/entity.hh>
#include <ost/gui/scene_win/scene_win.hh> #include <ost/gui/scene_win/scene_win.hh>
#include <ost/gui/scene_win/scene_win_model.hh> #include <ost/gui/scene_win/scene_win_model.hh>
#include "render_modes_node.hh" #include "render_modes_node.hh"
...@@ -31,7 +31,8 @@ ...@@ -31,7 +31,8 @@
namespace ost { namespace gui { namespace ost { namespace gui {
RenderModesNode::RenderModesNode(gfx::EntityP entity, SceneNode* parent):LabelNode("Render Modes",parent),node_(entity){ RenderModesNode::RenderModesNode(gfx::EntityP entity, SceneNode* parent):
LabelNode("Render Modes",parent),node_(entity) {
SceneWinModel* model = GostyApp::Instance()->GetSceneWin()->GetModel(); SceneWinModel* model = GostyApp::Instance()->GetSceneWin()->GetModel();
model->AddNode(parent, this); model->AddNode(parent, this);
......
...@@ -19,14 +19,8 @@ ...@@ -19,14 +19,8 @@
#ifndef OST_GUI_SCENE_WIN_RENDER_MODES_NODE_HH #ifndef OST_GUI_SCENE_WIN_RENDER_MODES_NODE_HH
#define OST_GUI_SCENE_WIN_RENDER_MODES_NODE_HH #define OST_GUI_SCENE_WIN_RENDER_MODES_NODE_HH
#include <ost/gfx/entity.hh>
#include <ost/gfx/entity_fw.hh> #include <ost/gfx/entity_fw.hh>
#include <ost/gfx/gfx_node.hh>
#include <ost/gfx/gfx_node_fw.hh> #include <ost/gfx/gfx_node_fw.hh>
#include <ost/gfx/scene_observer.hh>
#include <ost/gfx/gfx_object.hh>
#include <ost/gfx/gfx_object_fw.hh>
#include <ost/gui/module_config.hh> #include <ost/gui/module_config.hh>
#include <ost/gui/scene_win/label_node.hh> #include <ost/gui/scene_win/label_node.hh>
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include <ost/mol/query_view_wrapper.hh> #include <ost/mol/query_view_wrapper.hh>
#include <ost/gfx/gfx_node_fw.hh> #include <ost/gfx/gfx_node_fw.hh>
#include <ost/gfx/entity.hh> #include <ost/gfx/entity_fw.hh>
#include <ost/gui/module_config.hh> #include <ost/gui/module_config.hh>
#include <ost/gui/widget.hh> #include <ost/gui/widget.hh>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment