-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSchaakGUI.h
More file actions
48 lines (37 loc) · 1.02 KB
/
SchaakGUI.h
File metadata and controls
48 lines (37 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//
// Created by toonc on 12/17/2021.
//
#ifndef SCHAKEN_SCHAAK_GUI_H
#define SCHAKEN_SCHAAK_GUI_H
#include <QAction>
#include <QMessageBox>
#include "SchaakStuk.h"
#include "guicode/ChessWindow.h"
class SchaakGUI : public ChessWindow {
public:
SchaakGUI();
void update();
private:
Game g;
void clicked(int x, int y) override;
void newGame() override;
void open() override;
void save() override;
void undo() override;
void redo() override;
void visualizationChange() override;
/* Overgeerfde functies van ChessWindow:
void removeAllMarking();
void clearBoard();
void setItem(int i,int j,SchaakStuk* p);
void setPieceThreat(int i,int j,bool b);
void removeAllPieceThreats();
void setTileSelect(int i,int j,bool b);
void setTileFocus(int i,int j,bool b);
void setTileThreat(int i,int j,bool b);
bool displayKills();
bool displayMoves();
bool displayThreats();
*/
};
#endif // SCHAKEN_SCHAAKGUI_H