Home
last modified time | relevance | path

Searched refs:StateButton (Results 1 – 22 of 22) sorted by relevance

/dports/games/freeorion/freeorion-0.4.10.2/GG/GG/
H A DButton.h157 class GG_API StateButton : public Control
239 virtual void Render(const StateButton& button) const;
249 … virtual void OnChanged(const StateButton& button, StateButton::ButtonState previous_state) const;
267 virtual Pt MinUsableSize(const StateButton& button) const;
290 void Render(const StateButton& button) const override;
303 void Render(const StateButton& button) const override;
314 void Render(const StateButton& button) const override;
392 void AddButton(std::shared_ptr<StateButton> bn);
404 void RemoveButton(StateButton* button);
436 ButtonSlot(std::shared_ptr<StateButton>& button_);
[all …]
H A DTabWnd.h275 virtual void DistinguishCurrentTab(const std::vector<StateButton*>& tab_buttons);
286 std::vector<std::shared_ptr<StateButton>> m_tab_buttons;
H A DStyleFactory.h49 class StateButton; variable
178 virtual std::shared_ptr<StateButton> NewTabBarTab(const std::string& str,
H A DTextControl.h41 class StateButton; variable
/dports/games/freeorion/freeorion-0.4.10.2/GG/src/
H A DButton.cpp275 StateButton::StateButton(const std::string& str, const std::shared_ptr<Font>& font, in StateButton() function in StateButton
288 void StateButton::CompleteConstruction() in CompleteConstruction()
297 Pt StateButton::MinUsableSize() const in MinUsableSize()
305 StateButton::ButtonState StateButton::State() const in State()
311 bool StateButton::Checked() const in Checked()
314 void StateButton::Render() in Render()
320 void StateButton::Show() in Show()
351 void StateButton::MouseLeave() in MouseLeave()
369 void StateButton::Reset() in Reset()
375 void StateButton::SetTextColor(Clr c) in SetTextColor()
[all …]
H A DStyleFactory.cpp174 std::shared_ptr<StateButton> StyleFactory::NewTabBarTab(const std::string& str, in NewTabBarTab()
178 auto retval = Wnd::Create<StateButton>( in NewTabBarTab()
H A DTabWnd.cpp435 void TabBar::DistinguishCurrentTab(const std::vector<StateButton*>& tab_buttons) in DistinguishCurrentTab()
442 std::vector<StateButton*> tab_buttons(m_tab_buttons.size()); in TabChanged()
444 [](const std::shared_ptr<StateButton>& x){ return x.get(); }); in TabChanged()
/dports/audio/ardour6/Ardour-6.8.0/libs/widgets/widgets/
H A Dstateful_button.h31 class LIBWIDGETS_API StateButton
34 StateButton();
35 virtual ~StateButton() {} in ~StateButton()
58 class LIBWIDGETS_API StatefulToggleButton : public StateButton, public Gtk::ToggleButton
76 class LIBWIDGETS_API StatefulButton : public StateButton, public Gtk::Button
/dports/science/jmol/jmol-14.32.7/src/org/openscience/jmol/app/webexport/
H A DTest.java53 JButton StateButton, FileButton, PathButton, movetoTime, field in Test
74 StateButton = new JButton("Get Application State..."); in panel()
75 StateButton.addActionListener(this); in panel()
95 ButtonPanel1.add(StateButton); in panel()
119 if (e.getSource() == StateButton) { // Handle getting the State of Jmol... in actionPerformed()
/dports/audio/ardour6/Ardour-6.8.0/libs/widgets/
H A Dstateful_button.cc33 StateButton::StateButton () in StateButton() function in StateButton
44 StateButton::set_visual_state (int n) in set_visual_state()
81 StateButton::avoid_prelight_on_style_changed (const Glib::RefPtr<Gtk::Style>& /* old_style */, Gtk… in avoid_prelight_on_style_changed()
121 StateButton::avoid_prelight_on_state_changed (Gtk::StateType old_state, GtkWidget* widget) in avoid_prelight_on_state_changed()
/dports/games/freeorion/freeorion-0.4.10.2/UI/
H A DCUIControls.h126 void Render(const GG::StateButton& button) const override;
128 …void OnChanged(const GG::StateButton& button, GG::StateButton::ButtonState prev_state) const overr…
136 void Render(const GG::StateButton& button) const override;
138 …void OnChanged(const GG::StateButton& button, GG::StateButton::ButtonState prev_state) const overr…
146 void Render(const GG::StateButton& button) const override;
148 …void OnChanged(const GG::StateButton& button, GG::StateButton::ButtonState prev_state) const overr…
152 GG::Pt MinUsableSize(const GG::StateButton& button) const override;
158 void Render(const GG::StateButton& button) const override;
160 …void OnChanged(const GG::StateButton& button, GG::StateButton::ButtonState prev_state) const overr…
185 void Render(const GG::StateButton& button) const override;
[all …]
H A DOptionsWnd.h42 void SetEffectsButton(std::shared_ptr<GG::StateButton> button);
44 void SetMusicButton(std::shared_ptr<GG::StateButton> button);
62 std::shared_ptr<GG::StateButton> m_effects_button;
63 std::shared_ptr<GG::StateButton> m_music_button;
72 …GG::StateButton* BoolOption(GG::ListBox* page, int indentation_level, const std::string& option…
H A DCUIControls.cpp362 void CUICheckBoxRepresenter::OnChanged(const GG::StateButton& button, GG::StateButton::ButtonState … in OnChanged()
364 … if (GG::StateButton::BN_ROLLOVER == button.State() && GG::StateButton::BN_UNPRESSED == prev_state) in OnChanged()
418 void CUIRadioRepresenter::OnChanged(const GG::StateButton& button, GG::StateButton::ButtonState pre… in OnChanged()
420 … if (GG::StateButton::BN_ROLLOVER == button.State() && GG::StateButton::BN_UNPRESSED == prev_state) in OnChanged()
453 void CUITabRepresenter::OnChanged(const GG::StateButton& button, GG::StateButton::ButtonState prev_… in OnChanged()
455 … if (GG::StateButton::BN_ROLLOVER == button.State() && GG::StateButton::BN_UNPRESSED == prev_state) in OnChanged()
465 void CUILabelButtonRepresenter::OnChanged(const GG::StateButton& button, GG::StateButton::ButtonSta… in OnChanged()
467 … if (GG::StateButton::BN_ROLLOVER == button.State() && GG::StateButton::BN_UNPRESSED == prev_state) in OnChanged()
551 if (GG::StateButton::BN_ROLLOVER == button.State()) { in Render()
576 StateButton(str, ClientUI::GetFont(), format, in CUIStateButton()
[all …]
H A DGalaxySetupWnd.h43 GG::StateButton* BoolRuleWidget(GG::ListBox* page, int indentation_level,
52 void BoolRuleChanged(const GG::StateButton* button, const std::string& rule_name);
H A DCUIStyle.h51 std::shared_ptr<GG::StateButton> NewTabBarTab(const std::string& str,
H A DTechTreeWnd.cpp248 std::shared_ptr<GG::StateButton> m_view_type_button;
249 std::shared_ptr<GG::StateButton> m_all_cat_button;
250 std::map<std::string, std::shared_ptr<GG::StateButton>> m_cat_buttons;
251 std::map<TechStatus, std::shared_ptr<GG::StateButton>> m_status_buttons;
271 …m_cat_buttons[category] = GG::Wnd::Create<GG::StateButton>("", ClientUI::GetFont(), GG::FORMAT_NON… in CompleteConstruction()
280 …m_all_cat_button = GG::Wnd::Create<GG::StateButton>("", ClientUI::GetFont(), GG::FORMAT_NONE, GG::… in CompleteConstruction()
288 …m_status_buttons[TS_UNRESEARCHABLE] = GG::Wnd::Create<GG::StateButton>("", ClientUI::GetFont(), GG… in CompleteConstruction()
296 …m_status_buttons[TS_HAS_RESEARCHED_PREREQ] = GG::Wnd::Create<GG::StateButton>("", ClientUI::GetFon… in CompleteConstruction()
304 …m_status_buttons[TS_RESEARCHABLE] = GG::Wnd::Create<GG::StateButton>("", ClientUI::GetFont(), GG::… in CompleteConstruction()
312 …m_status_buttons[TS_COMPLETE] = GG::Wnd::Create<GG::StateButton>("", ClientUI::GetFont(), GG::FORM… in CompleteConstruction()
[all …]
H A DCUIStyle.cpp121 std::shared_ptr<GG::StateButton> CUIStyle::NewTabBarTab( in NewTabBarTab()
H A DOptionsWnd.cpp858 GG::StateButton* OptionsWnd::BoolOption(GG::ListBox* page, int indentation_level, const std::string… in BoolOption()
1427 void OptionsWnd::SoundOptionsFeedback::SetMusicButton(std::shared_ptr<GG::StateButton> button) in SetMusicButton()
1430 void OptionsWnd::SoundOptionsFeedback::SetEffectsButton(std::shared_ptr<GG::StateButton> button) in SetEffectsButton()
H A DGalaxySetupWnd.cpp277 GG::StateButton* GameRulesPanel::BoolRuleWidget(GG::ListBox* page, int indentation_level, in BoolRuleWidget()
462 void GameRulesPanel::BoolRuleChanged(const GG::StateButton* button, in BoolRuleChanged()
H A DObjectListWnd.cpp1117 std::shared_ptr<GG::StateButton>>> m_filter_buttons;
H A DDesignWnd.cpp4078 std::shared_ptr<GG::StateButton> m_design_description_toggle;
/dports/games/warzone2100/warzone2100/lib/widget/
H A Dwidgbase.h48 class StateButton; variable