My Project
 
Loading...
Searching...
No Matches
TicTacToeWindow.cpp File Reference

Contains the implementation of the TicTacToeWindow class. More...

#include "TicTacToeWindow.h"
#include <iostream>

Variables

constexpr int BUTTON_WIDTH = 100
 
constexpr int BUTTON_HEIGHT = 30
 
constexpr int RESET_BUTTON_X = 10
 
constexpr int RESET_BUTTON_Y = 10
 
constexpr int QUIT_BUTTON_X = 120
 
constexpr int QUIT_BUTTON_Y = 10
 
constexpr int RESULT_TEXT_X = 240
 
constexpr int RESULT_TEXT_Y = 10
 
constexpr int BOARD_SIZE = 600
 
constexpr int CELL_SIZE = BOARD_SIZE / 3
 
constexpr int BOARD_X = 20
 
constexpr int BOARD_Y = 60
 
constexpr int FONT_SIZE = 100
 

Detailed Description

Contains the implementation of the TicTacToeWindow class.

This file uses the following libraries and resources:

  • TicTacToeWindow.h for class definition
  • iostream for standard input/output operations

Variable Documentation

◆ BOARD_SIZE

int BOARD_SIZE = 600
constexpr

◆ BOARD_X

int BOARD_X = 20
constexpr

◆ BOARD_Y

int BOARD_Y = 60
constexpr

◆ BUTTON_HEIGHT

int BUTTON_HEIGHT = 30
constexpr

◆ BUTTON_WIDTH

int BUTTON_WIDTH = 100
constexpr

◆ CELL_SIZE

int CELL_SIZE = BOARD_SIZE / 3
constexpr

◆ FONT_SIZE

int FONT_SIZE = 100
constexpr

◆ QUIT_BUTTON_X

int QUIT_BUTTON_X = 120
constexpr

◆ QUIT_BUTTON_Y

int QUIT_BUTTON_Y = 10
constexpr

◆ RESET_BUTTON_X

int RESET_BUTTON_X = 10
constexpr

◆ RESET_BUTTON_Y

int RESET_BUTTON_Y = 10
constexpr

◆ RESULT_TEXT_X

int RESULT_TEXT_X = 240
constexpr

◆ RESULT_TEXT_Y

int RESULT_TEXT_Y = 10
constexpr