window
kn::window Declared in kraken/graphics/Window.hpp
At a glance
11 membersReference
C++ APIcreate
functionvoid create(const std::string &title, int width, int height, bool handleClose=true)No description in the source header.
isOpen
functionbool isOpen()No description in the source header.
close
functionvoid close()No description in the source header.
getSize
functionVec2 getSize()No description in the source header.
getScale
functionint getScale()No description in the source header.
setFullscreen
functionvoid setFullscreen(bool fullscreen)No description in the source header.
isFullscreen
functionbool isFullscreen()No description in the source header.
setTitle
functionvoid setTitle(const std::string &title)No description in the source header.
getTitle
functionstd::string getTitle()No description in the source header.
setIcon
functionvoid setIcon(const std::filesystem::path &path)No description in the source header.
saveScreenshot
functionvoid saveScreenshot(const std::filesystem::path &filePath)No description in the source header.