系统
更多...
#include <dl_system.h>
系统
在文件 dl_system.h 第 55 行定义.
◆ Func
◆ CursorMode
◆ System()
◆ ~System()
◆ _add_drop_file()
| void dl::System::_add_drop_file |
( |
std::string_view | str | ) |
|
|
inline |
◆ _delete_glfw()
| void dl::System::_delete_glfw |
( |
| ) |
|
◆ _init_glfw()
| void dl::System::_init_glfw |
( |
| ) |
|
◆ ClearDropFile()
| void dl::System::ClearDropFile |
( |
| ) |
|
|
inline |
◆ Exit()
| void dl::System::Exit |
( |
| ) |
|
◆ GetClipboardString()
| std::string dl::System::GetClipboardString |
( |
| ) |
|
◆ GetDropFile()
| const std::vector< std::string > & dl::System::GetDropFile |
( |
| ) |
|
|
inline |
◆ GetImp()
| SystemImp * dl::System::GetImp |
( |
| ) |
|
|
inline |
◆ GetRenderInfo2D()
◆ GetRenderInfo3D()
◆ GetStep()
◆ GetWindowSize()
| Size dl::System::GetWindowSize |
( |
| ) |
|
◆ GetWorkArea()
| Size dl::System::GetWorkArea |
( |
| ) |
|
◆ IsWindowExist()
| bool dl::System::IsWindowExist |
( |
| ) |
|
◆ lua_SetFuncUpdate()
| void dl::System::lua_SetFuncUpdate |
( |
std::string_view | str | ) |
|
◆ ScreenShot()
| void dl::System::ScreenShot |
( |
std::string_view | path_name | ) |
|
◆ SetClipboardString()
| void dl::System::SetClipboardString |
( |
std::string_view | str | ) |
|
◆ SetCursorMode()
设置光标模式
- 注解
- 调用后,会触发光标移动事件,会强制鼠标两帧间隔归0s
◆ SetCursorPosition()
| void dl::System::SetCursorPosition |
( |
Point | xy | ) |
|
设置鼠标位置,不用此来实现摄像机
- 参数
-
- 注解
- 使用g_input获得鼠标位置
◆ SetFullScreen()
◆ SetFuncInit()
| void dl::System::SetFuncInit |
( |
Func | func | ) |
|
|
inline |
◆ SetFuncRun()
| void dl::System::SetFuncRun |
( |
Func | func | ) |
|
|
inline |
◆ SetWindowCenter()
| void dl::System::SetWindowCenter |
( |
| ) |
|
◆ SetWindowPoint()
| void dl::System::SetWindowPoint |
( |
const Point & | xy | ) |
|
◆ SetWindowSize()
| void dl::System::SetWindowSize |
( |
const Size & | size | ) |
|
◆ SetWindowTitle()
| void dl::System::SetWindowTitle |
( |
std::string_view | str | ) |
|
◆ ShowMessageBox()
| void dl::System::ShowMessageBox |
( |
std::string_view | title, |
|
|
std::string_view | text ) |
◆ Start() [1/2]
| void dl::System::Start |
( |
const ParamWindow & | param = {} | ) |
|
◆ Start() [2/2]
| void dl::System::Start |
( |
std::string_view | json_window, |
|
|
std::string_view | json_path = "" ) |
进入 游戏循环
- 参数
-
| [in] | json_window | 窗口配置 |
| [in] | json_path | 资源路径配置 |
◆ _funcUpdate
| std::string dl::System::_funcUpdate |
该类的文档由以下文件生成: