Pioneer
Loading...
Searching...
No Matches
Namespaces | Classes | Typedefs | Functions
PiGui Namespace Reference

Namespaces

namespace  Lua
 
namespace  LuaPiguiModelSpinner
 

Classes

class  Face
 
class  Image
 
class  Instance
 
class  InstanceRenderer
 
class  LuaPiguiFace
 
class  LuaPiguiImage
 
class  ModelSpinner
 
class  PerfInfo
 
class  PiFace
 
class  PiFont
 
class  RadarWidget
 
struct  TScreenSpace
 

Typedefs

typedef std::vector< TScreenSpaceTSS_vector
 

Functions

bool first_body_is_more_important_than (Body *, Body *)
 
int pushOnScreenPositionDirection (lua_State *l, vector3d position)
 
void load_theme_from_table (LuaTable &table, ImGuiStyle &style)
 
LuaRef GetHandlers ()
 
LuaRef GetKeys ()
 
LuaRef GetThemes ()
 
void RunHandler (double delta, std::string handler)
 
void LoadTheme (ImGuiStyle &style, std::string theme)
 
void LoadThemeFromDisk (std::string theme)
 
int RadialPopupSelectMenu (const ImVec2 center, const char *popup_id, int mouse_button, const std::vector< ImTextureID > &tex_ids, const std::vector< std::pair< ImVec2, ImVec2 > > &uvs, const std::vector< ImU32 > &colors, const std::vector< const char * > &tooltips, unsigned int size, unsigned int padding)
 
bool CircularSlider (const ImVec2 &center, float *v, float v_min, float v_max)
 
bool LowThrustButton (const char *label, const ImVec2 &size_arg, int thrust_level, const ImVec4 &bg_col, int frame_padding, ImColor gauge_fg, ImColor gauge_bg)
 
bool ButtonImageSized (ImTextureID user_texture_id, const ImVec2 &size, const ImVec2 &imgSize, const ImVec2 &uv0, const ImVec2 &uv1, int frame_padding, const ImVec4 &bg_col, const ImVec4 &tint_col)
 
void ThrustIndicator (const std::string &id_string, const ImVec2 &size, const ImVec4 &thrust, const ImVec4 &velocity, const ImVec4 &bg_col, int frame_padding, ImColor vel_fg, ImColor vel_bg, ImColor thrust_fg, ImColor thrust_bg)
 
void IncrementDrag (const std::string &label, int &v, const int v_min, const int v_max, const std::string &format)
 
bool WantCaptureMouse ()
 
bool WantCaptureKeyboard ()
 
std::vector< Graphics::Texture * > & GetSVGTextures ()
 
ImTextureID RenderSVG (Graphics::Renderer *renderer, std::string svgFilename, int width, int height)
 

Typedef Documentation

◆ TSS_vector

typedef std::vector<TScreenSpace> PiGui::TSS_vector

Function Documentation

◆ ButtonImageSized()

bool PiGui::ButtonImageSized ( ImTextureID  user_texture_id,
const ImVec2 &  size,
const ImVec2 &  imgSize,
const ImVec2 &  uv0,
const ImVec2 &  uv1,
int  frame_padding,
const ImVec4 &  bg_col,
const ImVec4 &  tint_col 
)

◆ CircularSlider()

bool PiGui::CircularSlider ( const ImVec2 &  center,
float *  v,
float  v_min,
float  v_max 
)

◆ first_body_is_more_important_than()

bool PiGui::first_body_is_more_important_than ( Body ,
Body  
)
Here is the call graph for this function:

◆ GetHandlers()

LuaRef PiGui::GetHandlers ( )

◆ GetKeys()

LuaRef PiGui::GetKeys ( )

◆ GetSVGTextures()

std::vector< Graphics::Texture * > & PiGui::GetSVGTextures ( )

◆ GetThemes()

LuaRef PiGui::GetThemes ( )

◆ IncrementDrag()

void PiGui::IncrementDrag ( const std::string &  label,
int &  v,
const int  v_min,
const int  v_max,
const std::string &  format 
)
Here is the call graph for this function:

◆ load_theme_from_table()

void PiGui::load_theme_from_table ( LuaTable table,
ImGuiStyle &  style 
)
Here is the call graph for this function:

◆ LoadTheme()

void PiGui::LoadTheme ( ImGuiStyle &  style,
std::string  theme 
)
Here is the call graph for this function:

◆ LoadThemeFromDisk()

void PiGui::LoadThemeFromDisk ( std::string  theme)
Here is the call graph for this function:

◆ LowThrustButton()

bool PiGui::LowThrustButton ( const char *  label,
const ImVec2 &  size_arg,
int  thrust_level,
const ImVec4 &  bg_col,
int  frame_padding,
ImColor  gauge_fg,
ImColor  gauge_bg 
)

◆ pushOnScreenPositionDirection()

int PiGui::pushOnScreenPositionDirection ( lua_State *  l,
vector3d  position 
)
Here is the call graph for this function:

◆ RadialPopupSelectMenu()

int PiGui::RadialPopupSelectMenu ( const ImVec2  center,
const char *  popup_id,
int  mouse_button,
const std::vector< ImTextureID > &  tex_ids,
const std::vector< std::pair< ImVec2, ImVec2 > > &  uvs,
const std::vector< ImU32 > &  colors,
const std::vector< const char * > &  tooltips,
unsigned int  size,
unsigned int  padding 
)
Here is the call graph for this function:

◆ RenderSVG()

ImTextureID PiGui::RenderSVG ( Graphics::Renderer renderer,
std::string  svgFilename,
int  width,
int  height 
)
Here is the call graph for this function:

◆ RunHandler()

void PiGui::RunHandler ( double  delta,
std::string  handler 
)
Here is the call graph for this function:

◆ ThrustIndicator()

void PiGui::ThrustIndicator ( const std::string &  id_string,
const ImVec2 &  size,
const ImVec4 &  thrust,
const ImVec4 &  velocity,
const ImVec4 &  bg_col,
int  frame_padding,
ImColor  vel_fg,
ImColor  vel_bg,
ImColor  thrust_fg,
ImColor  thrust_bg 
)

◆ WantCaptureKeyboard()

bool PiGui::WantCaptureKeyboard ( )
inline

◆ WantCaptureMouse()

bool PiGui::WantCaptureMouse ( )
inline