X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=EVE%2FEveDet%2FAliEveMUONChamberGL.cxx;h=78f2c28e97ff671eb7f4f6ea3998ce708614e7cc;hp=a9538bdaee4a88a0565285289f8215a79ac4b65f;hb=d05591ca472770d02f0e51b5eff920451a222a53;hpb=fafff680f7ef9b052995852890f839f4c00ef6de diff --git a/EVE/EveDet/AliEveMUONChamberGL.cxx b/EVE/EveDet/AliEveMUONChamberGL.cxx index a9538bdaee4..78f2c28e97f 100644 --- a/EVE/EveDet/AliEveMUONChamberGL.cxx +++ b/EVE/EveDet/AliEveMUONChamberGL.cxx @@ -7,18 +7,14 @@ * full copyright notice. * **************************************************************************/ -#include - -#include - #include "AliEveMUONChamberGL.h" #include #include -#include #include #include +#include //______________________________________________________________________________ @@ -120,8 +116,6 @@ void AliEveMUONChamberGL::DrawQuads(TGLRnrCtx& rnrCtx) const glPushAttrib(GL_ENABLE_BIT | GL_POLYGON_BIT); glDisable(GL_LIGHTING); - glColorMaterial(GL_FRONT_AND_BACK, GL_DIFFUSE); - glEnable(GL_COLOR_MATERIAL); glDisable(GL_CULL_FACE); //Float_t c[4]; glGetFloatv(GL_CURRENT_COLOR, c); @@ -152,7 +146,7 @@ void AliEveMUONChamberGL::DrawPoints() const glDisable(GL_LIGHTING); glLineWidth(1.0); - glColor3f(1.0,1.0,1.0); + TGLUtil::Color3f(1.0,1.0,1.0); glBegin(GL_LINES); @@ -212,13 +206,7 @@ void AliEveMUONChamberGL::DrawChamberFrame() const Float_t *frameCoord; Float_t xOrig, yOrig, xRad, yRad, x, y, z; - UChar_t pix[4]; - pix[0] = 255; - pix[1] = 0; - pix[2] = 0; - pix[3] = 255; - - glColor4ubv(pix); + TGLUtil::Color4ub(255, 0, 0, 255); for (Int_t id = 0; id < nDetElem; id++) {