nephtys::window::win_cfg

struct win_cfg

The configuration of the game window contains all the data necessary for its manipulation: size, name, full screen […].

Public Functions

bool operator==(const win_cfg &rhs_win) const

Return

true if the configuration of the windows of the game are identical, false otherwise.

Parameters
  • rhs_win: the window configuration that you want to compare.

bool operator!=(const win_cfg &rhs_win) const

Return

true if the configuration of the windows of the game are different, false otherwise.

Parameters
  • rhs_win: the window configuration that you want to compare

Public Members

st::height height = {1200}

the height of the game window

st::width width = {800}

the width of the game window

std::string title = {"nephtys client"}

the title of the game window

bool is_fullscreen = {false}

is the window full screen?