载入中...
搜索中...
未找到
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.h17 行定义.

类成员变量说明

◆ always_on_top

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

在文件 Window.h39 行定义.

◆ borderless

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

在文件 Window.h30 行定义.

◆ centered

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

在文件 Window.h31 行定义.

◆ depth

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

在文件 Window.h28 行定义.

◆ desktop_mode

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

在文件 Window.h36 行定义.

◆ display

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

在文件 Window.h29 行定义.

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

◆ dpi_scale

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

在文件 Window.h19 行定义.

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

◆ fullscreen

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

在文件 Window.h35 行定义.

◆ height

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

在文件 Window.h23 行定义.

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

◆ high_dpi

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

在文件 Window.h32 行定义.

◆ minheight

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

在文件 Window.h25 行定义.

◆ minwidth

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

在文件 Window.h24 行定义.

◆ msaa

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

在文件 Window.h27 行定义.

◆ refreshrate

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

在文件 Window.h18 行定义.

◆ resizable

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

在文件 Window.h38 行定义.

◆ stencil

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

在文件 Window.h37 行定义.

◆ use_dpi_scale

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

在文件 Window.h33 行定义.

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

◆ use_position

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

在文件 Window.h34 行定义.

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

◆ vsync

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

在文件 Window.h26 行定义.

被这些函数引用 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.h20 行定义.

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

◆ y

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

在文件 Window.h21 行定义.

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


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