mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 16:24:45 -07:00
14 lines
252 B
C++
14 lines
252 B
C++
#ifndef GAMEVIEW_H
|
|
#define GAMEVIEW_H
|
|
|
|
#include <QGraphicsView>
|
|
|
|
class GameView : public QGraphicsView {
|
|
protected:
|
|
void resizeEvent(QResizeEvent *event);
|
|
public:
|
|
void scaleToScene();
|
|
GameView(QGraphicsScene *scene, QWidget *parent = 0);
|
|
};
|
|
|
|
#endif
|