Public Member Functions | Private Attributes

NetHackQtGlyphs Class Reference

#include <qt_win.h>

Public Member Functions

 NetHackQtGlyphs ()
int width () const
int height () const
void toggleSize ()
void setSize (int w, int h)
void drawGlyph (QPainter &, int glyph, int pixelx, int pixely)
void drawCell (QPainter &, int glyph, int cellx, int celly)

Private Attributes

QImage img
QPixmap pm
QPixmap pm1
QPixmap pm2
QSize size
int tiles_per_row

Constructor & Destructor Documentation

NetHackQtGlyphs::NetHackQtGlyphs (  )

Member Function Documentation

void NetHackQtGlyphs::drawCell ( QPainter &  ,
int  glyph,
int  cellx,
int  celly 
)
void NetHackQtGlyphs::drawGlyph ( QPainter &  ,
int  glyph,
int  pixelx,
int  pixely 
)
int NetHackQtGlyphs::height (  ) const [inline]

References size.

void NetHackQtGlyphs::setSize ( int  w,
int  h 
)
void NetHackQtGlyphs::toggleSize (  )
int NetHackQtGlyphs::width (  ) const [inline]

References size.


Field Documentation

QImage NetHackQtGlyphs::img [private]
QPixmap NetHackQtGlyphs::pm [private]
QPixmap NetHackQtGlyphs::pm1 [private]
QPixmap NetHackQtGlyphs::pm2 [private]
QSize NetHackQtGlyphs::size [private]

Referenced by height(), and width().


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