1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
vcmi/client/mainmenu/CreditsScreen.h

28 lines
632 B
C
Raw Normal View History

/*
* CreditsScreen.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
#include "../windows/CWindowObject.h"
class CMultiLineLabel;
struct SDL_Surface;
class CreditsScreen : public CIntObject
{
int positionCounter;
std::shared_ptr<CMultiLineLabel> credits;
public:
CreditsScreen(Rect rect);
void show(SDL_Surface * to) override;
void clickLeft(tribool down, bool previousState) override;
void clickRight(tribool down, bool previousState) override;
};