mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-15 11:38:49 -07:00
* Sort *every* file into a doxygen group. Took 7 hours 9 minutes Took 18 seconds Took 2 minutes * Lint some ingroup definitions. Took 10 minutes Took 2 seconds * Just include the groups in the Doxyfile in this commit. Took 3 minutes * Update some group comments so they link! Took 14 minutes --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
32 lines
764 B
C++
32 lines
764 B
C++
/**
|
|
* @file counter_general.h
|
|
* @ingroup GameGraphicsPlayers
|
|
* @brief TODO: Document this.
|
|
*/
|
|
|
|
#ifndef COUNTER_GENERAL_H
|
|
#define COUNTER_GENERAL_H
|
|
|
|
#include "abstract_counter.h"
|
|
|
|
class GeneralCounter : public AbstractCounter
|
|
{
|
|
Q_OBJECT
|
|
private:
|
|
QColor color;
|
|
int radius;
|
|
|
|
public:
|
|
GeneralCounter(Player *_player,
|
|
int _id,
|
|
const QString &_name,
|
|
const QColor &_color,
|
|
int _radius,
|
|
int _value,
|
|
bool useNameForShortcut = false,
|
|
QGraphicsItem *parent = nullptr);
|
|
QRectF boundingRect() const override;
|
|
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override;
|
|
};
|
|
|
|
#endif
|