#include "GUI_VehicleInfoTPanel.h"
#include "Application.h"
#include "Actor.h"
#include "SimData.h"
#include "Language.h"
#include "EngineSim.h"
#include "GameContext.h"
#include "GfxActor.h"
#include "GUIManager.h"
#include "Utils.h"
#include "GUIUtils.h"
Go to the source code of this file.
|
const ImVec2 | MAX_PREVIEW_SIZE (100.f, 100.f) |
|
void | DrawStatsLineColored (const char *name, const std::string &value, ImVec4 value_color) |
|
void | DrawStatsLine (const char *name, const std::string &value) |
|
void | DrawStatsBullet (const char *name, const std::string &value) |
|
std::string | FormatVelocityBySpeedoPreset (float velocity) |
|
const ImVec2 | BUTTON_SIZE (18, 18) |
|
const ImVec2 | BUTTON_OFFSET (0, 3.f) |
|
const ImVec2 | BUTTONDUMMY_SIZE (18, 1) |
|
void | DrawSingleBulletRow (const char *name, RoR::events ev) |
|
bool | DrawSingleButtonRow (bool active, const Ogre::TexturePtr &icon, const char *name, RoR::events ev, bool *btn_active=nullptr) |
|
◆ BUTTON_OFFSET()
const ImVec2 BUTTON_OFFSET |
( |
0 |
, |
|
|
3. |
f |
|
) |
| |
◆ BUTTON_SIZE()
const ImVec2 BUTTON_SIZE |
( |
18 |
, |
|
|
18 |
|
|
) |
| |
◆ BUTTONDUMMY_SIZE()
const ImVec2 BUTTONDUMMY_SIZE |
( |
18 |
, |
|
|
1 |
|
|
) |
| |
◆ DrawSingleBulletRow()
void DrawSingleBulletRow |
( |
const char * |
name, |
|
|
RoR::events |
ev |
|
) |
| |
◆ DrawSingleButtonRow()
bool DrawSingleButtonRow |
( |
bool |
active, |
|
|
const Ogre::TexturePtr & |
icon, |
|
|
const char * |
name, |
|
|
RoR::events |
ev, |
|
|
bool * |
btn_active = nullptr |
|
) |
| |
◆ DrawStatsBullet()
void DrawStatsBullet |
( |
const char * |
name, |
|
|
const std::string & |
value |
|
) |
| |
◆ DrawStatsLine()
void DrawStatsLine |
( |
const char * |
name, |
|
|
const std::string & |
value |
|
) |
| |
◆ DrawStatsLineColored()
void DrawStatsLineColored |
( |
const char * |
name, |
|
|
const std::string & |
value, |
|
|
ImVec4 |
value_color |
|
) |
| |
◆ FormatVelocityBySpeedoPreset()
std::string FormatVelocityBySpeedoPreset |
( |
float |
velocity | ) |
|
◆ MAX_PREVIEW_SIZE()
const ImVec2 MAX_PREVIEW_SIZE |
( |
100. |
f, |
|
|
100. |
f |
|
) |
| |
◆ BUTTON_Y_OFFSET
const float BUTTON_Y_OFFSET = 0.f |
◆ HELP_TEXTURE_HEIGHT
const float HELP_TEXTURE_HEIGHT = 128.f |
◆ HELP_TEXTURE_WIDTH
const float HELP_TEXTURE_WIDTH = 512.f |
◆ MIN_PANEL_WIDTH
const float MIN_PANEL_WIDTH = 230.f |