Skip to content

Commit

Permalink
NWN: Add ModelWidget::forceTransparent()
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Feb 11, 2014
1 parent 94ddd36 commit b75f257
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/engines/nwn/gui/widgets/modelwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@ float ModelWidget::getHeight() const {
return _height;
}

void ModelWidget::forceTransparent() {
_model->forceTransparent();
}

void ModelWidget::forceTransparent(const Common::UString &node) {
_model->forceTransparent(node);
}

} // End of namespace NWN

} // End of namespace Engines
3 changes: 3 additions & 0 deletions src/engines/nwn/gui/widgets/modelwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ class ModelWidget : public NWNWidget {
float getWidth () const;
float getHeight() const;

void forceTransparent();
void forceTransparent(const Common::UString &node);

protected:
Graphics::Aurora::Model_NWN *_model;

Expand Down

0 comments on commit b75f257

Please sign in to comment.