#include <BackdropDialog.h>

Public Member Functions | |
| virtual void | draw () |
| void | drawBackground () |
| void | drawLogo () |
| void | drawFooter () |
| void | capture () |
Static Public Member Functions | |
| static BackdropDialog * | instance () |
Protected Attributes | |
| GLTexture | backTex_ |
| GLTexture | logoTex_ |
| GLTexture | footerTex_ |
| std::string | lastMod_ |
Static Protected Attributes | |
| static BackdropDialog * | instance_ = 0 |
Private Member Functions | |
| BackdropDialog () | |
| virtual | ~BackdropDialog () |
Definition at line 27 of file BackdropDialog.h.
| BackdropDialog::BackdropDialog | ( | ) | [private] |
| BackdropDialog::~BackdropDialog | ( | ) | [private, virtual] |
Definition at line 47 of file BackdropDialog.cpp.
| BackdropDialog * BackdropDialog::instance | ( | ) | [static] |
Definition at line 31 of file BackdropDialog.cpp.
References instance_.
Referenced by AnimatedBackdropDialog::draw(), ClientSaveScreenState::draw(), ProgressDialogSync::progressChange(), ClientWindowSetup::setupGameWindows(), ClientWindowSetup::setupStartWindows(), and ClientMain::startClient().
| void BackdropDialog::draw | ( | ) | [virtual] |
Reimplemented from GLWWindow.
Definition at line 51 of file BackdropDialog.cpp.
References drawBackground(), drawFooter(), and drawLogo().
Referenced by ProgressDialogSync::progressChange().
| void BackdropDialog::drawBackground | ( | ) |
Definition at line 58 of file BackdropDialog.cpp.
References backTex_, GLTexture::create(), Image::createResize(), GLState::DEPTH_OFF, GLTexture::draw(), GLViewPort::getActualHeight(), GLViewPort::getActualWidth(), S3D::getDataFile(), GLViewPort::getHeight(), ImageHandle::getHeight(), GLViewPort::getWidth(), ImageHandle::getWidth(), GL_QUADS, glBegin(), glColor3f(), glEnd(), glTexCoord2f(), glVertex2f(), ImageFactory::loadImageHandle(), and GLState::TEXTURE_ON.
Referenced by draw().
| void BackdropDialog::drawLogo | ( | ) |
Definition at line 99 of file BackdropDialog.cpp.
References GLState::BLEND_ON, GLTexture::create(), GLState::DEPTH_OFF, GLTexture::draw(), S3D::getDataFile(), S3D::getDataFileMod(), GLViewPort::getHeight(), GLViewPort::getWidth(), GL_QUADS, glBegin(), glColor3f(), glEnd(), glPopMatrix(), glPushMatrix(), glTexCoord2f(), glTranslatef(), glVertex2f(), lastMod_, ImageFactory::loadImageHandle(), logoTex_, and GLState::TEXTURE_ON.
Referenced by draw(), and AnimatedBackdropDialog::draw().
| void BackdropDialog::drawFooter | ( | ) |
Definition at line 141 of file BackdropDialog.cpp.
References GLState::BLEND_ON, GLTexture::create(), GLState::DEPTH_OFF, GLTexture::draw(), footerTex_, S3D::getDataFile(), GLViewPort::getHeight(), GLViewPort::getWidth(), GL_QUADS, glBegin(), glColor4f(), glEnd(), glPopMatrix(), glPushMatrix(), glTexCoord2f(), glTranslatef(), glVertex2f(), ImageFactory::loadAlphaImageHandle(), and GLState::TEXTURE_ON.
Referenced by draw(), and AnimatedBackdropDialog::draw().
| void BackdropDialog::capture | ( | ) |
Definition at line 181 of file BackdropDialog.cpp.
References backTex_, ImageFactory::createBlank(), GLViewPort::getActualHeight(), GLViewPort::getActualWidth(), ImageHandle::getBits(), GLTexture::getHeight(), GLTexture::getTexName(), GLTexture::getWidth(), GL_PACK_ALIGNMENT, GL_PACK_ROW_LENGTH, GL_PACK_SKIP_PIXELS, GL_PACK_SKIP_ROWS, GL_RGB, GL_UNSIGNED_BYTE, glPixelStorei(), glRasterPos2i(), glReadPixels(), OptionsDisplay::instance(), and GLTexture::replace().
Referenced by ClientSaveScreenState::draw(), and ClientMain::startClient().
BackdropDialog * BackdropDialog::instance_ = 0 [static, protected] |
GLTexture BackdropDialog::backTex_ [protected] |
GLTexture BackdropDialog::logoTex_ [protected] |
GLTexture BackdropDialog::footerTex_ [protected] |
std::string BackdropDialog::lastMod_ [protected] |
1.5.3