Home
last modified time | relevance | path

Searched refs:ClientUpperLeft (Results 1 – 25 of 42) sorted by relevance

12

/dports/games/freeorion/freeorion-0.4.10.2/GG/src/
H A DWnd.cpp276 retval += parent->ClientUpperLeft(); in UpperLeft()
291 retval += parent->ClientUpperLeft(); in LowerRight()
328 Pt Wnd::ClientUpperLeft() const in ClientUpperLeft() function in Wnd
335 { return ClientLowerRight() - ClientUpperLeft(); } in ClientSize()
338 { return ClientLowerRight().x - ClientUpperLeft().x; } in ClientWidth()
341 { return ClientLowerRight().y - ClientUpperLeft().y; } in ClientHeight()
347 { return pt - ClientUpperLeft(); } in ScreenToClient()
353 { return pt >= ClientUpperLeft() && pt < ClientLowerRight(); } in InClient()
415 if (pt.x < ClientUpperLeft().x) in WindowRegion()
420 if (pt.y < ClientUpperLeft().y) in WindowRegion()
[all …]
H A DMenu.cpp101 Pt PopupMenu::ClientUpperLeft() const in ClientUpperLeft() function in PopupMenu
123 Pt ul = ClientUpperLeft(); in Render()
H A DGroupBox.cpp69 Pt GroupBox::ClientUpperLeft() const in ClientUpperLeft() function in GroupBox
H A DEdit.cpp90 Pt Edit::ClientUpperLeft() const in ClientUpperLeft() function in Edit
120 Pt client_ul = ClientUpperLeft(), client_lr = ClientLowerRight(); in Render()
309 …return ClientUpperLeft().x + ((!GetLineData().empty() && idx ? GetLineData()[0].char_data[Value(id… in ScreenPosOfChar()
H A DTextControl.cpp127 + (ClientUpperLeft() - UpperLeft()) + (LowerRight() - ClientLowerRight()); in MinUsableSize()
202 Pt ul = ClientUpperLeft(); in Render()
H A DButton.cpp470 Pt cl_ul = button.ClientUpperLeft(); in Render()
506 Pt cl_ul = button.ClientUpperLeft(); in Render()
541 Pt cl_ul = button.ClientUpperLeft(); in Render()
H A DDropDownList.cpp639 Pt DropDownList::ClientUpperLeft() const in ClientUpperLeft() function in DropDownList
758 Pt offset = GG::Pt(ClientUpperLeft().x - current_item->ClientUpperLeft().x, in RenderDisplayedRow()
H A DListBox.cpp602 Pt ListBox::ClientUpperLeft() const in ClientUpperLeft() function in ListBox
895 Pt cl_ul = ClientUpperLeft(), cl_lr = ClientLowerRight(); in Render()
1457 Y acc = ClientUpperLeft().y; in RowUnderPt()
1618 … Rect client_no_scroll_hole(ClientUpperLeft() + MARGIN_OFFSET, ClientLowerRight() - MARGIN_OFFSET); in DragDropHere()
/dports/games/freeorion/freeorion-0.4.10.2/UI/CombatReport/
H A DCombatLogWnd.h17 GG::Pt ClientUpperLeft() const override;
H A DGraphicalSummary.cpp290 …GG::FlatRectangle(ClientUpperLeft(), ClientLowerRight(), base_color, m_hovered ? GG::CLR_WHITE : G… in Render()
301 … GG::FlatRectangle(ClientUpperLeft(), ClientLowerRight(), mixed_color, GG::CLR_ZERO, 1); in Render()
306 GG::FlatRectangle(GG::Pt(ClientUpperLeft().x, ClientLowerRight().y - health_height), in Render()
423 GG::Pt ClientUpperLeft() const override in ClientUpperLeft() function in SideBar
/dports/games/freeorion/freeorion-0.4.10.2/UI/
H A DAccordionPanel.h20 GG::Pt ClientUpperLeft() const override;
H A DMultiMeterStatusBar.cpp102 const GG::X BAR_LEFT = ClientUpperLeft().x + EDGE_PAD - 1; in Render()
105 const GG::Y TOP = ClientUpperLeft().y + EDGE_PAD - 1; in Render()
H A DSidePanel.h33 GG::Pt ClientUpperLeft() const override;
H A DAccordionPanel.cpp48 GG::Pt AccordionPanel::ClientUpperLeft() const in ClientUpperLeft() function in AccordionPanel
H A DEncyclopediaDetailPanel.h48 GG::Pt ClientUpperLeft() const override;
H A DCUIWnd.h104 GG::Pt ClientUpperLeft() const override;
H A DCUIWnd.cpp416 GG::Pt CUIWnd::ClientUpperLeft() const in ClientUpperLeft() function in CUIWnd
435 …:Pt(Width() - ClientUI::Pts() - BORDER_RIGHT, BUTTON_TOP_OFFSET) + UpperLeft() - ClientUpperLeft(); in PositionButtons()
563 GG::Pt cl_ul = ClientUpperLeft(), cl_lr = ClientLowerRight(); in InitBuffers()
H A DGalaxySetupWnd.cpp1083 GG::FlatRectangle(GG::Pt(ClientUpperLeft().x + m_preview_ul.x - 2, in Render()
1084 ClientUpperLeft().y + m_preview_ul.y - 2), in Render()
1085 GG::Pt(ClientUpperLeft().x + m_preview_ul.x + PREVIEW_SZ.x + 2, in Render()
1086 ClientUpperLeft().y + m_preview_ul.y + PREVIEW_SZ.y + 2), in Render()
H A DSaveFileDialog.cpp312 GG::FlatRectangle(ClientUpperLeft(), in Render()
318 GG::Pt ClientUpperLeft() const override { in ClientUpperLeft() function in SaveFileRow
/dports/games/freeorion/freeorion-0.4.10.2/GG/GG/
H A DGroupBox.h53 Pt ClientUpperLeft() const override;
H A DMenu.h100 Pt ClientUpperLeft() const override;
H A DEdit.h81 Pt ClientUpperLeft() const override;
H A DDropDownList.h125 Pt ClientUpperLeft() const override;
H A DWnd.h464 virtual Pt ClientUpperLeft() const;
/dports/games/freeorion/freeorion-0.4.10.2/GG/test/unit/
H A DTestButton.cpp136 BOOST_CHECK(button.ClientUpperLeft() == GG::Pt(GG::X(0), GG::Y(0))); in BOOST_AUTO_TEST_CASE()
175 BOOST_CHECK(button.ClientUpperLeft() == GG::Pt(GG::X(10), GG::Y(10))); in BOOST_AUTO_TEST_CASE()

12