ManaPlus
Public Member Functions | Data Fields
ImageCollection Class Reference

#include <imagecollection.h>

Public Member Functions

 ImageCollection ()
 
 ~ImageCollection ()
 
void clear ()
 

Data Fields

GLuint currentGLImage
 
const ImagecurrentImage
 
ImageVertexescurrentVert
 
ImageVertexesVector draws
 

Detailed Description

Definition at line 30 of file imagecollection.h.

Constructor & Destructor Documentation

◆ ImageCollection()

ImageCollection::ImageCollection ( )

Definition at line 27 of file imagecollection.cpp.

27  :
28 #ifdef USE_OPENGL
29  currentGLImage(0),
30 #endif // USE_OPENGL
31  currentImage(nullptr),
32  currentVert(nullptr),
33  draws()
34 {
35 }
const Image * currentImage
ImageVertexesVector draws
ImageVertexes * currentVert

◆ ~ImageCollection()

ImageCollection::~ImageCollection ( )

Definition at line 37 of file imagecollection.cpp.

References clear().

38 {
39  clear();
40 }

Member Function Documentation

◆ clear()

void ImageCollection::clear ( )

Definition at line 42 of file imagecollection.cpp.

References currentGLImage, currentImage, currentVert, delete_all(), and draws.

Referenced by EmotePage::draw(), EquipmentWindow::draw(), ItemContainer::draw(), ProgressBar::draw(), Popup::draw(), Tab::draw(), Slider::draw(), Window::draw(), TouchManager::draw(), ScrollArea::draw(), Button::draw(), ShortcutContainer::drawBackground(), ScrollArea::drawFrame(), Window::widgetHidden(), Button::widgetHidden(), and ~ImageCollection().

43 {
44 #ifdef USE_OPENGL
45  currentGLImage = 0;
46 #endif // USE_OPENGL
47  currentImage = nullptr;
48  currentVert = nullptr;
49 
51  draws.clear();
52 }
const Image * currentImage
ImageVertexesVector draws
ImageVertexes * currentVert
void delete_all(Container &c)
Definition: dtor.h:55

Field Documentation

◆ currentGLImage

GLuint ImageCollection::currentGLImage

Definition at line 42 of file imagecollection.h.

Referenced by clear().

◆ currentImage

const Image* ImageCollection::currentImage

Definition at line 45 of file imagecollection.h.

Referenced by clear().

◆ currentVert

ImageVertexes* ImageCollection::currentVert

Definition at line 47 of file imagecollection.h.

Referenced by clear().

◆ draws

ImageVertexesVector ImageCollection::draws

Definition at line 49 of file imagecollection.h.

Referenced by clear().


The documentation for this class was generated from the following files: