#include <clientdynamicinfo.h>
Public Member Functions | |
bool | equal (const ClientDynamicInfo &other) const |
Static Public Member Functions | |
static ClientDynamicInfo | getCurrent () |
Public Attributes | |
v2u32 | render_target_size |
f32 | real_gui_scaling |
f32 | real_hud_scaling |
v2f32 | max_fs_size |
bool | touch_controls |
Static Private Member Functions | |
static v2f32 | calculateMaxFSSize (v2u32 render_target_size, f32 gui_scaling) |
|
staticprivate |
References g_settings, Settings::getBool(), and render_target_size.
Referenced by getCurrent().
|
inline |
References real_gui_scaling, real_hud_scaling, render_target_size, and touch_controls.
|
static |
References calculateMaxFSSize(), g_settings, g_touchscreengui, RenderingEngine::getDisplayDensity(), Settings::getFloat(), RenderingEngine::getWindowSize(), real_gui_scaling, real_hud_scaling, and touch_controls.
Referenced by ModApiMainMenu::l_get_window_info(), and Game::run().
v2f32 ClientDynamicInfo::max_fs_size |
Referenced by Server::handleCommand_UpdateClientInfo(), and Client::sendUpdateClientInfo().
f32 ClientDynamicInfo::real_gui_scaling |
Referenced by equal(), getCurrent(), Server::handleCommand_UpdateClientInfo(), and Client::sendUpdateClientInfo().
f32 ClientDynamicInfo::real_hud_scaling |
Referenced by equal(), getCurrent(), Server::handleCommand_UpdateClientInfo(), and Client::sendUpdateClientInfo().
v2u32 ClientDynamicInfo::render_target_size |
Referenced by calculateMaxFSSize(), equal(), Server::handleCommand_UpdateClientInfo(), and Client::sendUpdateClientInfo().
bool ClientDynamicInfo::touch_controls |
Referenced by equal(), getCurrent(), Server::handleCommand_UpdateClientInfo(), and Client::sendUpdateClientInfo().