Extra2D/include/config/window_config.h

22 lines
486 B
C
Raw Permalink Normal View History

#pragma once
#include <string>
#include <types/base/types.h>
namespace extra2d {
/**
* @brief
*
*
*/
struct WindowCfg {
std::string title = "Extra2D"; // 窗口标题
int32 width = 1280; // 窗口宽度
int32 height = 720; // 窗口高度
bool fullscreen = false; // 是否全屏
bool resizable = true; // 是否可调整大小
};
} // namespace extra2d