Talk:Manual

From FreeOrionWiki
Jump to: navigation, search

SidePanel::PlanetPanel::LClick(const GG::Pt& pt, Uint32 keys)

 if(InPlanet(pt))
   PlanetImageLClickedSignal(m_planet_id)
     GG::Connect(m_planet_panels.back()->PlanetImageLClickedSignal, &SidePanel::PlanetPanelContainer::PlanetSelected, this);
       if (m_hilite_selected_planet)
         * Highlight Planet
       PlanetSelectedSignal(m_planet_id)
         GG::Connect(m_planet_panel_container->PlanetSelectedSignal, &SidePanel::PlanetSelected, this);
           PlanetSelectedSignal(planet_id)
             GG::Connect(m_side_panel->PlanetSelectedSignal, &BuildDesignatorWnd::SelectPlanet, this);
               * Set Build Location
               m_build_detail_panel->SelectedBuildLocation(planet);
                 m_build_location = location;
                 CheckBuildability();
                   * Enable / Disable Add To Queue & Number to Build Widgets

SidePanel::PlanetPanel::RClick(const GG::Pt& pt, Uint32 keys)

 * Rename Planet Popup

SystemIcon::LClick(const GG::Pt& pt, Uint32 keys)

 LeftClickedSignal(m_system.ID())
   GG::Connect(icon->LeftClickedSignal, &MapWnd::SelectSystem, this);
     if (m_in_production_view_mode)
       m_production_wnd->SelectSystem(systemID);
         m_buid_designator_wnd->SelectSystem(system)
           * Show Sidepanel (seems redundant)
           * Set Sidepanel System to Clicked System
     else
       if (!m_side_panel->Visible() || systemID != m_side_panel->SystemID())
         SystemLeftClickedSignal(systemID);
           Connect(SystemLeftClickedSignal, &SidePanel::SetSystem, m_side_panel);
             * Show Sidepanel
             * Set Sidepanel System to Clicked System

SystemIcon::LDoubleClick(const GG::Pt& pt, Uint32 keys)

 GG::Connect(icon->LeftDoubleClickedSignal, &MapWnd::SystemDoubleClicked, this);
   * Open Production Screen
   * Centre Map on System
   * Select System in Production Screen
   

SystemIcon::RClick(const GG::Pt& pt, Uint32 keys)

 RightClickedSignal(m_system.ID())
   GG::Connect(icon->RightClickedSignal, &MapWnd::SystemRightClicked, this);
     if (!m_in_production_view_mode)
       SystemRightClickedSignal(system_id);
         GG::Connect(map_wnd->SystemRightClickedSignal, &FleetWnd::SystemClicked, fleet_wnd);
           * Issue new FleetMoveOrder

TechTreeWnd::LayoutPanel::TechPanel::LClick(const GG::Pt& pt, Uint32 keys)

 TechClickedSignal(m_tech)
   GG::Connect(m_techs[tech]->TechClickedSignal, &TechTreeWnd::LayoutPanel::TechClickedSlot, this);
     * Select Tech
     TechClickedSignal(tech)
       GG::Connect(m_layout_panel->TechClickedSignal, &TechTreeWnd::TechClickedSlot, this);
         * Put Tech in Detail Window
         * Put Tech in Navigator Window
         TechSelectedSignal(tech)
           (Nothing?)

TechTreeWnd::LayoutPanel::TechPanel::LDoubleClick(const GG::Pt& pt, Uint32 keys)

 TechDoubleClickedSignal(m_tech)
   GG::Connect(m_techs[tech]->TechDoubleClickedSignal, &TechTreeWnd::LayoutPanel::TechDoubleClickedSlot, this);
     TechDoubleClickedSignal(tech)
       GG::Connect(m_layout_panel->TechDoubleClickedSignal, &TechTreeWnd::TechDoubleClickedSlot, this);
         AddTechToQueueSignal(tech)
           GG::Connect(m_tech_tree_wnd->AddTechToQueueSignal, &ResearchWnd::AddTechToQueueSlot, this);
             * Add Tech to Research Queue

TechTreeWnd::LayoutPanel::TechPanel::MouseHere(const GG::Pt& pt, Uint32 keys)

 GG::Connect(m_techs[tech]->TechBrowsedSignal, &TechTreeWnd::LayoutPanel::TechBrowsedSlot, this);
   TechBrowsedSignal(tech)
     GG::Connect(m_layout_panel->TechBrowsedSignal, &TechTreeWnd::TechBrowsedSlot, this);
       TechBrowsedSignal(tech)
         (Nothing?)        

FocusSelector::LClick(const GG::Pt& pt, Uint32 keys)

 PrimaryFocusChangedSignal(FOCUS_BALANCED);
   GG::Connect(m_focus_selector->PrimaryFocusChangedSignal, &SidePanel::PlanetPanel::SetPrimaryFocus, this);
     * Issue Focus Change Order (Primary, to Balanced)
     

FocusSelector::RClick(const GG::Pt& pt, Uint32 keys)

 SecondaryFocusChangedSignal(FOCUS_BALANCED);
   GG::Connect(m_focus_selector->SecondaryFocusChangedSignal, &SidePanel::PlanetPanel::SetSecondaryFocus, this);
     * Issue Focus Change Order (Secondary, to Balanced)