MODULE v1.8.0

window

kn::window

Declared in kraken/graphics/Window.hpp

Reference

C++ API

create

function
void create(const std::string &title, int width, int height, bool handleClose=true)

No description in the source header.

isOpen

function
bool isOpen()

No description in the source header.

close

function
void close()

No description in the source header.

getSize

function
Vec2 getSize()

No description in the source header.

getScale

function
int getScale()

No description in the source header.

void setFullscreen(bool fullscreen)

No description in the source header.

isFullscreen

function
bool isFullscreen()

No description in the source header.

setTitle

function
void setTitle(const std::string &title)

No description in the source header.

getTitle

function
std::string getTitle()

No description in the source header.

setIcon

function
void setIcon(const std::filesystem::path &path)

No description in the source header.

void saveScreenshot(const std::filesystem::path &filePath)

No description in the source header.

Find your next step

Start typing to search the manual.