MCPcopy Create free account
hub / github.com/NetHack/NetHack / NetHackQtMapViewport

Method NetHackQtMapViewport

win/Qt/qt_map.cpp:81–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79
80
81NetHackQtMapViewport::NetHackQtMapViewport(NetHackQtClickBuffer& click_sink) :
82 QWidget(NULL),
83 rogue_font(NULL),
84 clicksink(click_sink),
85 change(10)
86{
87 pet_annotation = QPixmap(qt_compact_mode ? pet_mark_small_xpm
88 : pet_mark_xpm);
89 pile_annotation = QPixmap(pile_mark_xpm);
90
91 Clear(); // initializes glyph[][], glyphttychar, glyphcolor, glyphflags
92 cursor.setX(0);
93 cursor.setY(0);
94}
95
96NetHackQtMapViewport::~NetHackQtMapViewport(void)
97{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected