4 #ifndef _SYSTEMINFOVIEW_H
5 #define _SYSTEMINFOVIEW_H
38 bool HasStarport() {
return m_hasStarport; }
39 void SetHasStarport() { m_hasStarport =
true; }
40 void SetSelectColor(
const Color &color) { m_selectColor = color; }
46 std::unique_ptr<Graphics::Drawables::Circle> m_circle;
53 REFRESH_SELECTED_BODY,
57 RefreshType NeedsRefresh();
62 void PutBodies(
SystemBody *body,
Gui::Fixed *container,
int dir,
float pos[2],
int &majorBodies,
int &starports,
int &onSurface,
float &prevSize);
63 void UpdateIconSelections();
73 RefreshType m_refresh;
75 std::vector<std::pair<Uint32, BodyIcon *>> m_bodyIcons;
Definition: Drawables.h:79
Definition: RenderState.h:25
Definition: Renderer.h:39
virtual void Draw()
Definition: GuiContainer.cpp:191
Definition: GuiFixed.h:14
Definition: GuiTabbed.h:10
Definition: PiGuiView.h:11
Definition: StarSystem.h:27
Definition: SystemBody.h:19
Definition: SystemInfoView.h:23
virtual void Update()
Definition: SystemInfoView.cpp:335
virtual void Draw3D()
Definition: SystemInfoView.cpp:278
SystemInfoView(Game *game)
Definition: SystemInfoView.cpp:22
virtual void OnSwitchTo()
Definition: SystemInfoView.cpp:353
Definition: SystemPath.h:13
Graphics::Renderer * m_renderer
Definition: View.h:43
Definition: Background.h:13