载入中...
搜索中...
未找到
eve::window::WindowSettings结构体 参考

Display settings for window creation/resize. width/height == 0 selects the desktop display mode size. 更多...

#include <Window.h>

Public 属性

float refreshrate = 0.0
 
float dpi_scale = 1.0
 
int32_t x = 0
 
int32_t y = 0
 
uint16_t width = 1366
 
uint16_t height = 768
 
uint16_t minwidth = 1
 
uint16_t minheight = 1
 
uint8_t vsync = 1
 
uint8_t msaa = 0
 
uint8_t depth = 0
 
uint8_t display = 0
 
bool borderless = false
 
bool centered = true
 
bool high_dpi = true
 
bool use_dpi_scale = true
 
bool use_position = false
 
bool fullscreen = false
 
bool desktop_mode = true
 
bool stencil = true
 
bool resizable = false
 
bool always_on_top = false
 

详细描述

Display settings for window creation/resize. width/height == 0 selects the desktop display mode size.

在文件 Window.h 第 18 行定义.

类成员变量说明

◆ always_on_top

bool eve::window::WindowSettings::always_on_top = false

在文件 Window.h 第 40 行定义.

◆ borderless

bool eve::window::WindowSettings::borderless = false

在文件 Window.h 第 31 行定义.

◆ centered

bool eve::window::WindowSettings::centered = true

在文件 Window.h 第 32 行定义.

◆ depth

uint8_t eve::window::WindowSettings::depth = 0

在文件 Window.h 第 29 行定义.

◆ desktop_mode

bool eve::window::WindowSettings::desktop_mode = true

在文件 Window.h 第 37 行定义.

◆ display

uint8_t eve::window::WindowSettings::display = 0

在文件 Window.h 第 30 行定义.

被这些函数引用 eve::window::sdl::Window::getPosition() , 以及 eve::window::sdl::Window::setPosition().

◆ dpi_scale

float eve::window::WindowSettings::dpi_scale = 1.0

在文件 Window.h 第 20 行定义.

被这些函数引用 eve::window::sdl::Window::getDPIScale().

◆ fullscreen

bool eve::window::WindowSettings::fullscreen = false

在文件 Window.h 第 36 行定义.

◆ height

uint16_t eve::window::WindowSettings::height = 768

在文件 Window.h 第 24 行定义.

被这些函数引用 eve::window::sdl::Window::getHeight().

◆ high_dpi

bool eve::window::WindowSettings::high_dpi = true

在文件 Window.h 第 33 行定义.

◆ minheight

uint16_t eve::window::WindowSettings::minheight = 1

在文件 Window.h 第 26 行定义.

◆ minwidth

uint16_t eve::window::WindowSettings::minwidth = 1

在文件 Window.h 第 25 行定义.

◆ msaa

uint8_t eve::window::WindowSettings::msaa = 0

在文件 Window.h 第 28 行定义.

◆ refreshrate

float eve::window::WindowSettings::refreshrate = 0.0

在文件 Window.h 第 19 行定义.

◆ resizable

bool eve::window::WindowSettings::resizable = false

在文件 Window.h 第 39 行定义.

◆ stencil

bool eve::window::WindowSettings::stencil = true

在文件 Window.h 第 38 行定义.

◆ use_dpi_scale

bool eve::window::WindowSettings::use_dpi_scale = true

在文件 Window.h 第 34 行定义.

被这些函数引用 eve::window::sdl::Window::getDPIScale().

◆ use_position

bool eve::window::WindowSettings::use_position = false

在文件 Window.h 第 35 行定义.

被这些函数引用 eve::window::sdl::Window::setPosition().

◆ vsync

uint8_t eve::window::WindowSettings::vsync = 1

在文件 Window.h 第 27 行定义.

被这些函数引用 eve::window::sdl::Window::getVSync() , 以及 eve::window::sdl::Window::setVSync().

◆ width

uint16_t eve::window::WindowSettings::width = 1366

◆ x

int32_t eve::window::WindowSettings::x = 0

在文件 Window.h 第 21 行定义.

被这些函数引用 eve::window::sdl::Window::getPosition() , 以及 eve::window::sdl::Window::setPosition().

◆ y

int32_t eve::window::WindowSettings::y = 0

在文件 Window.h 第 22 行定义.

被这些函数引用 eve::window::sdl::Window::getPosition() , 以及 eve::window::sdl::Window::setPosition().


该结构体的文档由以下文件生成: