1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-16 10:19:47 +02:00
vcmi/client/widgets/markets/CArtifactsBuying.h

26 lines
674 B
C++
Raw Normal View History

2024-02-22 22:49:30 +02:00
/*
* CArtifactsBuying.h, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*
* License: GNU General Public License v2.0 or later
* Full text of license available in license.txt file, in main folder
*
*/
#pragma once
2024-03-02 20:30:29 +02:00
#include "CMarketBase.h"
2024-02-22 22:49:30 +02:00
2024-03-20 13:28:19 +02:00
class CArtifactsBuying : public CResourcesSelling, public CMarketTraderText
2024-02-22 22:49:30 +02:00
{
public:
2024-08-12 16:38:30 +02:00
CArtifactsBuying(const IMarket * market, const CGHeroInstance * hero, const std::string & title);
2024-03-20 13:28:19 +02:00
void deselect() override;
2024-02-22 22:49:30 +02:00
void makeDeal() override;
private:
2024-03-20 13:28:19 +02:00
CMarketBase::MarketShowcasesParams getShowcasesParams() const override;
void highlightingChanged() override;
2024-03-20 13:28:19 +02:00
std::string getTraderText() override;
2024-02-22 22:49:30 +02:00
};