Home
last modified time | relevance | path

Searched refs:SubTexture (Results 1 – 25 of 28) sorted by relevance

12

/dports/games/freeorion/freeorion-0.4.10.2/GG/GG/
H A DTexture.h160 class GG_API SubTexture
164 SubTexture();
170 SubTexture(const std::shared_ptr<const Texture>& texture, X x1, Y y1, X x2, Y y2);
175 SubTexture(const std::shared_ptr<const Texture>& texture);
177 SubTexture(const SubTexture& rhs);
179 const SubTexture& operator=(const SubTexture& rhs);
181 virtual ~SubTexture();
210 GG_CONCRETE_EXCEPTION(BadTexture, GG::SubTexture, Exception);
214 GG_CONCRETE_EXCEPTION(InvalidTextureCoordinates, GG::SubTexture, Exception);
H A DButton.h78 …const SubTexture& UnpressedGraphic() const; ///< Returns the SubTexture to be used as the image o…
79 …const SubTexture& PressedGraphic() const; ///< Returns the SubTexture to be used as the image o…
80 …const SubTexture& RolloverGraphic() const; ///< Returns the SubTexture to be used as the image o…
104 …void SetUnpressedGraphic(const SubTexture& st); ///< Sets the SubTexture to be used as the image o…
105 …void SetPressedGraphic(const SubTexture& st); ///< Sets the SubTexture to be used as the image o…
106 …void SetRolloverGraphic(const SubTexture& st); ///< Sets the SubTexture to be used as the image o…
137 SubTexture m_unpressed_graphic; ///< Graphic used to display button when it's unpressed
138 SubTexture m_pressed_graphic; ///< Graphic used to display button when it's depressed
139SubTexture m_rollover_graphic; ///< Graphic used to display button when it's under the mouse …
H A DStaticGraphic.h68 explicit StaticGraphic(const SubTexture& subtexture,
87 const SubTexture& GetTexture() const;
102 void SetTexture(const SubTexture& subtexture);
109 SubTexture m_graphic;
H A DGGFwd.h39 class SubTexture; variable
H A DListBox.h49 class SubTexture; variable
/dports/games/freeorion/freeorion-0.4.10.2/UI/
H A DModeratorActionsWnd.cpp44 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "nomoderatoraction.png")), in CompleteConstruction()
56 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "addstar.png")), in CompleteConstruction()
57 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "addstar_clicked.png")), in CompleteConstruction()
58 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "addstar_mouseover.png"))); in CompleteConstruction()
82 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "addplanet.png")), in CompleteConstruction()
83 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "addplanet_clicked.png")), in CompleteConstruction()
122 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "delete.png")), in CompleteConstruction()
123 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "delete_clicked.png")), in CompleteConstruction()
134 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "setowner.png")), in CompleteConstruction()
151 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "addstarlane.png")), in CompleteConstruction()
[all …]
H A DAccordionPanel.cpp21 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "downarrownormal.png")), in CompleteConstruction()
22 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "downarrowclicked.png")), in CompleteConstruction()
23 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "downarrowmouseover.png"))); in CompleteConstruction()
106 …m_expand_button->SetUnpressedGraphic(GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "upa… in SetCollapsed()
107 …m_expand_button->SetPressedGraphic (GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "upa… in SetCollapsed()
108 …m_expand_button->SetRolloverGraphic (GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "upa… in SetCollapsed()
110 …m_expand_button->SetUnpressedGraphic(GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "dow… in SetCollapsed()
111 …m_expand_button->SetPressedGraphic (GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "dow… in SetCollapsed()
112 …m_expand_button->SetRolloverGraphic (GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "dow… in SetCollapsed()
H A DCUIControls.h57 …CUIButton(const GG::SubTexture& unpressed, const GG::SubTexture& pressed, const GG::SubTexture& ro…
83 …SettableInWindowCUIButton(const GG::SubTexture& unpressed, const GG::SubTexture& pressed, const GG…
177 CUIIconButtonRepresenter(std::shared_ptr<GG::SubTexture> icon,
180 CUIIconButtonRepresenter(std::shared_ptr<GG::SubTexture> unchecked_icon,
182 std::shared_ptr<GG::SubTexture> checked_icon,
190 std::shared_ptr<GG::SubTexture> m_unchecked_icon;
191 std::shared_ptr<GG::SubTexture> m_checked_icon;
713 MultiTextureStaticGraphic(const std::vector<GG::SubTexture>& subtextures,
728 …GG::Rect RenderedArea(const GG::SubTexture& subtexture, GG::Flags<GG::GraphicStyle> style) …
734 std::vector<GG::SubTexture> m_graphics;
H A DMapWnd.cpp1053 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "menu.png")), in CompleteConstruction()
1068 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "pedia.png")), in CompleteConstruction()
1083 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "charts.png")), in CompleteConstruction()
1098 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "design.png")), in CompleteConstruction()
1128 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "research.png")), in CompleteConstruction()
1143 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "objects.png")), in CompleteConstruction()
1158 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "empires.png")), in CompleteConstruction()
1173 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "sitrep.png")), in CompleteConstruction()
1248 …GG::SubTexture wasted_ressource_subtexture = GG::SubTexture(ClientUI::GetTexture(button_texture_di… in CompleteConstruction()
1250 …GG::SubTexture wasted_ressource_mouseover_subtexture = GG::SubTexture(ClientUI::GetTexture(button_… in CompleteConstruction()
[all …]
H A DCUIWnd.cpp87 …SetUnpressedGraphic(GG::SubTexture(ClientUI::GetTexture( ClientUI::ArtDir() / "icons" / "buttons" … in CUI_PinButton()
88 …SetPressedGraphic (GG::SubTexture(ClientUI::GetTexture( ClientUI::ArtDir() / "icons" / "buttons" … in CUI_PinButton()
89 …SetRolloverGraphic (GG::SubTexture(ClientUI::GetTexture( ClientUI::ArtDir() / "icons" / "buttons" … in CUI_PinButton()
94 …SetUnpressedGraphic(GG::SubTexture(ClientUI::GetTexture( ClientUI::ArtDir() / "icons" / "buttons" … in Toggle()
95 …SetPressedGraphic (GG::SubTexture(ClientUI::GetTexture( ClientUI::ArtDir() / "icons" / "buttons" … in Toggle()
96 …SetRolloverGraphic (GG::SubTexture(ClientUI::GetTexture( ClientUI::ArtDir() / "icons" / "buttons" … in Toggle()
98 …SetUnpressedGraphic(GG::SubTexture(ClientUI::GetTexture( ClientUI::ArtDir() / "icons" / "buttons" … in Toggle()
99 …SetPressedGraphic (GG::SubTexture(ClientUI::GetTexture( ClientUI::ArtDir() / "icons" / "buttons" … in Toggle()
457 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "close.png")), in InitButtons()
458 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "close_clicked.png")), in InitButtons()
[all …]
H A DSidePanel.h147 std::vector<GG::SubTexture> m_fleet_icons;
H A DCUIControls.cpp100 CUIButton::CUIButton(const GG::SubTexture& unpressed, const GG::SubTexture& pressed, in CUIButton()
101 const GG::SubTexture& rollover) : in CUIButton()
202 SettableInWindowCUIButton::SettableInWindowCUIButton(const GG::SubTexture& unpressed, in SettableInWindowCUIButton()
203 const GG::SubTexture& pressed, in SettableInWindowCUIButton()
204 const GG::SubTexture& rollover, in SettableInWindowCUIButton()
510 CUIIconButtonRepresenter::CUIIconButtonRepresenter(std::shared_ptr<GG::SubTexture> icon, in CUIIconButtonRepresenter()
518 CUIIconButtonRepresenter::CUIIconButtonRepresenter(std::shared_ptr<GG::SubTexture> unchecked_icon, in CUIIconButtonRepresenter()
520 std::shared_ptr<GG::SubTexture> checked_icon, in CUIIconButtonRepresenter()
2270 MultiTextureStaticGraphic::MultiTextureStaticGraphic(const std::vector<GG::SubTexture>& subtextures, in MultiTextureStaticGraphic()
2282 GG::Rect MultiTextureStaticGraphic::RenderedArea(const GG::SubTexture& subtexture, in RenderedArea()
[all …]
H A DFleetWnd.cpp1640 m_aggression_toggle->SetUnpressedGraphic(GG::SubTexture(FleetAggressiveIcon())); in UpdateAggressionToggle()
1641 m_aggression_toggle->SetPressedGraphic (GG::SubTexture(FleetPassiveIcon())); in UpdateAggressionToggle()
1646 m_aggression_toggle->SetUnpressedGraphic(GG::SubTexture(FleetPassiveIcon())); in UpdateAggressionToggle()
1648 m_aggression_toggle->SetPressedGraphic (GG::SubTexture(FleetAutoIcon())); in UpdateAggressionToggle()
1655 m_aggression_toggle->SetUnpressedGraphic(GG::SubTexture(FleetAutoIcon())); in UpdateAggressionToggle()
1713 GG::SubTexture(FleetAggressiveIcon()), in Init()
1714 GG::SubTexture(FleetPassiveIcon()), in Init()
1715 GG::SubTexture(FleetAggressiveMouseoverIcon())); in Init()
1761 GG::SubTexture(FleetAggressiveIcon()), in Init()
1762 GG::SubTexture(FleetPassiveIcon()), in Init()
[all …]
H A DTechTreeWnd.cpp270 …std::shared_ptr<GG::SubTexture> icon = std::make_shared<GG::SubTexture>(ClientUI::CategoryIcon(cat… in CompleteConstruction()
281 …std::make_shared<CUIIconButtonRepresenter>(std::make_shared<GG::SubTexture>(ClientUI::GetTexture(i… in CompleteConstruction()
289 …std::make_shared<CUIIconButtonRepresenter>(std::make_shared<GG::SubTexture>(ClientUI::GetTexture(i… in CompleteConstruction()
297 …std::make_shared<CUIIconButtonRepresenter>(std::make_shared<GG::SubTexture>(ClientUI::GetTexture(i… in CompleteConstruction()
305 …std::make_shared<CUIIconButtonRepresenter>(std::make_shared<GG::SubTexture>(ClientUI::GetTexture(i… in CompleteConstruction()
313 …std::make_shared<CUIIconButtonRepresenter>(std::make_shared<GG::SubTexture>(ClientUI::GetTexture(i… in CompleteConstruction()
323 …std::make_shared<CUIIconButtonRepresenter>(std::make_shared<GG::SubTexture>(ClientUI::GetTexture(i… in CompleteConstruction()
324 …std::make_shared<GG::SubTexture>(ClientUI::GetTexture(icon_dir / "05_view_list.png", true)), GG::C… in CompleteConstruction()
H A DSystemIcon.cpp449 const GG::SubTexture& tiny_texture = m_tiny_graphic->GetTexture(); in SizeMove()
464 const GG::SubTexture& tiny_texture = m_tiny_selection_indicator->GetTexture(); in SizeMove()
H A DEncyclopediaDetailPanel.cpp619 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "uparrownormal.png")), in CompleteConstruction()
620 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "uparrowclicked.png")), in CompleteConstruction()
621 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "uparrowmouseover.png"))); in CompleteConstruction()
624 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "leftarrownormal.png")), in CompleteConstruction()
625 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "leftarrowclicked.png")), in CompleteConstruction()
626 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "leftarrowmouseover.png"))); in CompleteConstruction()
629 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "rightarrownormal.png")), in CompleteConstruction()
630 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "rightarrowclicked.png")), in CompleteConstruction()
631 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "rightarrowmouseover.png"))); in CompleteConstruction()
H A DSidePanel.cpp1911 … m_planet_status_graphic = Wnd::Create<GG::StaticGraphic>(GG::SubTexture(planet_status_texture), in Refresh()
2966 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "leftarrownormal.png")), in CompleteConstruction()
2967 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "leftarrowclicked.png")), in CompleteConstruction()
2968 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "leftarrowmouseover.png"))); in CompleteConstruction()
2971 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "rightarrownormal.png")), in CompleteConstruction()
2972 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "rightarrowclicked.png")), in CompleteConstruction()
2973 GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "rightarrowmouseover.png"))); in CompleteConstruction()
H A DObjectListWnd.cpp1517 … GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "minusnormal.png" , true)), in Init()
1518 … GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "minusclicked.png" , true)), in Init()
1519 … GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "minusmouseover.png" , true))); in Init()
1522 … GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "plusnormal.png" , true)), in Init()
1523 … GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "plusclicked.png" , true)), in Init()
1524 … GG::SubTexture(ClientUI::GetTexture(button_texture_dir / "plusmouseover.png", true))); in Init()
/dports/games/freeorion/freeorion-0.4.10.2/GG/src/
H A DTexture.cpp462 SubTexture::SubTexture() : in SubTexture() function in SubTexture
468 SubTexture::SubTexture(const std::shared_ptr<const Texture>& texture, X x1, Y y1, X x2, Y y2) : in SubTexture() function in SubTexture
483 SubTexture::SubTexture(const std::shared_ptr<const Texture>& texture) : in SubTexture() function in SubTexture
500 SubTexture::~SubTexture() in ~SubTexture()
503 SubTexture::SubTexture(const SubTexture& rhs) in SubTexture() function in SubTexture
506 const SubTexture& SubTexture::operator=(const SubTexture& rhs) in operator =()
520 bool SubTexture::Empty() const in Empty()
523 const GLfloat* SubTexture::TexCoords() const in TexCoords()
526 X SubTexture::Width() const in Width()
529 Y SubTexture::Height() const in Height()
[all …]
H A DStaticGraphic.cpp75 …StaticGraphic(SubTexture(texture, X0, Y0, texture->DefaultWidth(), texture->DefaultHeight()), styl… in StaticGraphic()
78 StaticGraphic::StaticGraphic(const SubTexture& subtexture, in StaticGraphic()
162 const SubTexture& StaticGraphic::GetTexture() const in GetTexture()
200 { SetTexture(SubTexture(texture, X0, Y0, texture->DefaultWidth(), texture->DefaultHeight())); } in SetTexture()
202 void StaticGraphic::SetTexture(const SubTexture& subtexture) in SetTexture()
H A DButton.cpp83 const SubTexture& Button::UnpressedGraphic() const in UnpressedGraphic()
86 const SubTexture& Button::PressedGraphic() const in PressedGraphic()
89 const SubTexture& Button::RolloverGraphic() const in RolloverGraphic()
116 void Button::SetUnpressedGraphic(const SubTexture& st) in SetUnpressedGraphic()
119 void Button::SetPressedGraphic(const SubTexture& st) in SetPressedGraphic()
122 void Button::SetRolloverGraphic(const SubTexture& st) in SetRolloverGraphic()
H A DDynamicGraphic.cpp171SubTexture st(m_textures[m_curr_texture].texture, x, y, x + m_frame_width, y + m_frame_height); in Render()
/dports/graphics/cogl/cogl-1.22.8/cogl/
H A Dcogl-sub-texture.c55 COGL_TEXTURE_DEFINE (SubTexture, sub_texture);
56 COGL_GTYPE_DEFINE_CLASS (SubTexture, sub_texture);
/dports/x11-wm/muffin/muffin-4.8.0/cogl/cogl/
H A Dcogl-sub-texture.c55 COGL_TEXTURE_DEFINE (SubTexture, sub_texture);
56 COGL_GTYPE_DEFINE_CLASS (SubTexture, sub_texture);
/dports/x11-wm/mutter/mutter-41.1/cogl/cogl/
H A Dcogl-sub-texture.c52 COGL_TEXTURE_DEFINE (SubTexture, sub_texture);
53 COGL_GTYPE_DEFINE_CLASS (SubTexture, sub_texture);

12