1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Renamed RCLICK -> SHOW_POPUP

This commit is contained in:
Ivan Savenko
2023-06-13 19:33:35 +03:00
parent 8ad577255f
commit 563d7dd41f
25 changed files with 35 additions and 35 deletions

View File

@@ -75,7 +75,7 @@
#include "../lib/TextOperations.h"
CRecruitmentWindow::CCreatureCard::CCreatureCard(CRecruitmentWindow * window, const CCreature * crea, int totalAmount)
: CIntObject(LCLICK | RCLICK),
: CIntObject(LCLICK | SHOW_POPUP),
parent(window),
selected(false),
creature(crea),
@@ -563,7 +563,7 @@ void CTavernWindow::HeroPortrait::showPopupWindow()
}
CTavernWindow::HeroPortrait::HeroPortrait(int & sel, int id, int x, int y, const CGHeroInstance * H)
: CIntObject(LCLICK | RCLICK | HOVER),
: CIntObject(LCLICK | SHOW_POPUP | HOVER),
h(H), _sel(&sel), _id(id)
{
OBJECT_CONSTRUCTION_CAPTURING(255-DISPOSE);
@@ -1236,7 +1236,7 @@ CTransformerWindow::CTransformerWindow(const IMarket * _market, const CGHeroInst
}
CUniversityWindow::CItem::CItem(CUniversityWindow * _parent, int _ID, int X, int Y)
: CIntObject(LCLICK | RCLICK | HOVER),
: CIntObject(LCLICK | SHOW_POPUP | HOVER),
ID(_ID),
parent(_parent)
{