...
 
Commits (1)
......@@ -49,11 +49,13 @@
#include <OpenFlipper/common/Types.hh>
#include "SelectionObjectMarker.hh"
namespace VSI {
//******************************************************************************
const ACG::Vec4f disabled_color (0.4f,0.4f,0.4f,1.0f);
const ACG::Vec4f selected_color (0.0f,1.0f,0.0f,0.5f);
static const ACG::Vec4f disabled_color (0.4f,0.4f,0.4f,1.0f);
static const ACG::Vec4f selected_color (0.0f,1.0f,0.0f,0.5f);
//******************************************************************************
......@@ -93,3 +95,4 @@ bool SelectionObjectMarker::blendForStencilRefNumber(GLuint _reference, GLenum &
return false;
}
} // namespace VSI
......@@ -54,6 +54,7 @@
#include <OpenFlipper/common/Types.hh>
#include <OpenFlipper/common/ViewObjectMarker.hh>
namespace VSI {
/** Object marker to visualize objectPickDialog selection
*/
class SelectionObjectMarker : public ViewObjectMarker
......@@ -65,4 +66,6 @@ class SelectionObjectMarker : public ViewObjectMarker
bool blendForStencilRefNumber (GLuint _reference, GLenum &_src, GLenum &_dst, ACG::Vec4f &_color);
};
} // namespce VSI
#endif
......@@ -60,6 +60,7 @@
#include <QtGui>
#endif
namespace VSI {
//******************************************************************************
......@@ -603,3 +604,6 @@ bool TreeModel::setData(const QModelIndex &_index, const QVariant &_value, int /
bool TreeModel::isRoot(TreeItem * _item) {
return ( _item == rootItem_ );
}
} // namespace VSI
......@@ -56,6 +56,8 @@
#include "TreeItem.hh"
namespace VSI {
class TreeModel : public QAbstractItemModel
{
Q_OBJECT
......@@ -175,5 +177,7 @@ private:
};
} // namespace VSI
#endif
......@@ -56,11 +56,12 @@
//== FORWARDDECLARATIONS ======================================================
class QComboBox;
class QPushButton;
class TreeModel;
//== NAMESPACES ===============================================================
namespace VSI {
class TreeModel;
//== CLASS DEFINITION =========================================================
/** Widget to configure object id inputs
......
......@@ -61,13 +61,14 @@ class QPushButton;
class QTreeView;
class QMouseEvent;
class TreeModel;
class SimpleViewer;
//== NAMESPACES ===============================================================
namespace VSI {
class TreeModel;
//== CLASS DEFINITION =========================================================
/** Widget to pick a object
......