mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-13 20:36:19 -05:00
Display hovered block selection in status bar
This commit is contained in:
9
map.cpp
9
map.cpp
@@ -745,3 +745,12 @@ void Map::hoveredTileChanged(int x, int y, int block) {
|
||||
void Map::clearHoveredTile() {
|
||||
emit statusBarMessage(QString(""));
|
||||
}
|
||||
|
||||
void Map::hoveredMetatileChanged(int block) {
|
||||
emit statusBarMessage(QString("Block: 0x%1")
|
||||
.arg(QString("%1").arg(block, 3, 16, QChar('0')).toUpper()));
|
||||
}
|
||||
|
||||
void Map::clearHoveredMetatile() {
|
||||
emit statusBarMessage(QString(""));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user