|
| | WorldView (Game *game) |
| |
| | WorldView (const Json &jsonObj, Game *game) |
| |
| virtual | ~WorldView () |
| |
| void | Update () override |
| |
| void | Draw3D () override |
| |
| void | Draw () override |
| |
| void | SaveToJson (Json &jsonObj) override |
| |
| RefCountedPtr< CameraContext > | GetCameraContext () const |
| |
| ViewController * | GetViewController () const |
| |
| void | SetViewController (ViewController *newView) |
| |
| int | GetActiveWeapon () const |
| |
| std::tuple< double, double, double > | CalculateHeadingPitchRoll (enum PlaneType) |
| |
| vector3d | WorldSpaceToScreenSpace (const Body *body) const |
| |
| vector3d | WorldSpaceToScreenSpace (const vector3d &position) const |
| |
| vector3d | WorldDirToScreenSpace (const vector3d &direction) const |
| |
| vector3d | GetTargetIndicatorScreenPosition (const Body *body) const |
| |
| vector3d | CameraSpaceToScreenSpace (const vector3d &pos) const |
| |
| void | BeginCameraFrame () |
| |
| void | EndCameraFrame () |
| |
| bool | ShouldShowLabels () |
| |
| | PiGuiView (std::string name) |
| |
| virtual void | DrawPiGui () override |
| |
| const std::string & | GetViewName () |
| |
| | View () |
| |
| virtual | ~View () |
| |
| virtual void | LoadFromJson (const Json &jsonObj) |
| |
| void | Attach () |
| |
| void | Detach () |
| |
| void | SetRenderer (Graphics::Renderer *r) |
| |
| | Fixed (float w, float h) |
| |
| | Fixed () |
| |
| void | Add (Widget *child, float x, float y) |
| |
| void | Remove (Widget *child) |
| |
| virtual | ~Fixed () |
| |
| virtual void | GetSizeRequested (float size[2]) |
| |
| virtual void | OnChildResizeRequest (Widget *) |
| |
| virtual void | UpdateAllChildSizes () |
| |
| void | SetSizeRequest (float x, float y) |
| |
| void | SetSizeRequest (float size[2]) |
| |
| | Container () |
| |
| virtual | ~Container () |
| |
| bool | OnMouseDown (MouseButtonEvent *e) |
| |
| bool | OnMouseUp (MouseButtonEvent *e) |
| |
| bool | OnMouseMotion (MouseMotionEvent *e) |
| |
| void | RemoveAllChildren () |
| |
| void | DeleteAllChildren () |
| |
| void | GetChildPosition (const Widget *child, float outPos[2]) const |
| |
| int | GetNumChildren () |
| |
| void | ShowChildren () |
| |
| void | HideChildren () |
| |
| virtual void | Show () |
| |
| virtual void | ShowAll () |
| |
| virtual void | HideAll () |
| |
| void | SetBgColor (const Color &col) |
| |
| void | SetTransparency (bool a) |
| |
| void | RemoveChild (Widget *w) |
| |
| | Widget () |
| |
| virtual | ~Widget () |
| |
| virtual void | GetMinimumSize (float size[2]) |
| |
| void | GetAbsolutePosition (float pos[2]) const |
| |
| void | GetSize (float size[2]) |
| |
| void | SetSize (float w, float h) |
| |
| void | ResizeRequest () |
| |
| void | SetShortcut (SDL_Keycode key, SDL_Keymod mod) |
| |
| void | SetScissor (bool enabled) |
| |
| bool | GetEnabled () |
| |
| void | SetEnabled (bool v) |
| |
| virtual void | GrabFocus () |
| |
| bool | IsFocused () |
| |
| virtual void | Hide () |
| |
| void | HideTooltip () |
| |
| bool | IsVisible () const |
| |
| Container * | GetParent () const |
| |
| void | SetParent (Container *p) |
| |
| void | SetToolTip (std::string s) |
| |
| const std::string & | GetToolTip () const |
| |
| virtual void | OnActivate () |
| |
| virtual void | OnMouseEnter () |
| |
| virtual void | OnMouseLeave () |
| |
| virtual bool | OnKeyDown (const SDL_Keysym *sym) |
| |
| virtual void | OnTextInput (Uint32 unicode) |
| |
| bool | IsMouseOver () |
| |
| void | OnPreShortcut (const SDL_Keysym *sym) |
| |
| unsigned int | GetEventMask () |
| |