removed current cover indicator from 'flow'

enabled volume search in comic vine dialog
This commit is contained in:
Luis Ángel San Martín
2013-10-06 18:13:27 +02:00
parent e8a97230f5
commit b88715e26e
6 changed files with 176 additions and 30 deletions

View File

@ -306,7 +306,7 @@ void YACReaderFlowGL::paintGL()
void YACReaderFlowGL::resizeGL(int width, int height)
{
fontSize = width * 0.02;
fontSize = width * 0.015;
//int side = qMin(width, height);
udpatePerspective(width,height);
@ -529,14 +529,7 @@ void YACReaderFlowGL::draw()
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
glBegin( GL_TRIANGLES );
glColor4f( 1.0f, 1.0f, 1.0f, 1.0f );
glVertex2f( -0.03f, 0.98f);
glVertex2f( 0.03f, 0.98f);
glVertex2f( 0.f, 0.949f);
glEnd();
renderText(10, fontSize + 10,QString("%1/%2").arg(currentSelected+1).arg(numObjects),QFont("Arial", fontSize));
@ -1453,4 +1446,4 @@ QImage ImageLoaderByteArrayGL::result()
// flow->cfImages[index].width = 0.5;
// flow->cfImages[index].height = 0.5 * (float(image.height())/image.width());
// flow->cfImages[index].img = bindTexture(image, GL_TEXTURE_2D,GL_RGBA,QGLContext::LinearFilteringBindOption | QGLContext::MipmapBindOption);
//}
//}