CHANGED: #1471 CDBViewBar3 no longer depends on CInterfaceManager.

--HG--
branch : gui-refactoring
This commit is contained in:
dfighter1985 2012-06-24 04:33:55 +02:00
parent 6ac90d848c
commit 786cc61057

View file

@ -15,13 +15,11 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
// ----------------------------------------------------------------------------
#include "stdpch.h"
#include "dbview_bar3.h" #include "dbview_bar3.h"
#include "interface_manager.h"
#include "nel/misc/xml_auto_ptr.h" #include "nel/misc/xml_auto_ptr.h"
#include "nel/gui/widget_manager.h"
#include "nel/gui/db_manager.h"
#include "nel/gui/interface_group.h"
using namespace std; using namespace std;
using namespace NL3D; using namespace NL3D;
@ -161,7 +159,6 @@ void CDBViewBar3::draw ()
{ {
_Slot.draw(); _Slot.draw();
CInterfaceManager *pIM = CInterfaceManager::getInstance();
CViewRenderer &rVR = *CViewRenderer::getInstance(); CViewRenderer &rVR = *CViewRenderer::getInstance();
CRGBA gColor = CWidgetManager::getInstance()->getGlobalColorForContent(); CRGBA gColor = CWidgetManager::getInstance()->getGlobalColorForContent();