Searched refs:RelativeLowerRight (Results 1 – 13 of 13) sorted by relevance
/dports/games/freeorion/freeorion-0.4.10.2/GG/src/ |
H A D | DeferredLayout.cpp | 44 if ((ul != RelativeUpperLeft()) || (lr != RelativeLowerRight())) { in SizeMove() 60 m_lr_prerender = RelativeLowerRight(); in PreRender()
|
H A D | Scroll.cpp | 191 Pt(X(bn_width), m_tab->RelativeLowerRight().y) : in DoLayout() 192 Pt(m_tab->RelativeLowerRight().x, Y(bn_width))); in DoLayout() 234 Pt(m_tab->RelativeLowerRight().x, tab_ul.y + static_cast<int>(TabWidth())): in SizeScroll() 235 Pt(tab_ul.x + static_cast<int>(TabWidth()), m_tab->RelativeLowerRight().y); in SizeScroll()
|
H A D | Wnd.cpp | 304 Pt Wnd::RelativeLowerRight() const in RelativeLowerRight() function in Wnd 692 Pt wnd_ul = child->RelativeUpperLeft(), wnd_lr = child->RelativeLowerRight(); in HorizontalLayout() 717 Pt wnd_ul = child->RelativeUpperLeft(), wnd_lr = child->RelativeLowerRight(); in VerticalLayout() 746 Pt wnd_ul = wnd->RelativeUpperLeft(), wnd_lr = wnd->RelativeLowerRight(); in GridLayout() 753 Rect other_wnd_rect((*it2)->RelativeUpperLeft(), (*it2)->RelativeLowerRight()); in GridLayout() 866 Pt wnd_ul = wnd->RelativeUpperLeft(), wnd_lr = wnd->RelativeLowerRight(); in SetLayout()
|
H A D | DropDownList.cpp | 778 GG::Pt old_lr = RelativeLowerRight(); in SizeMove() 782 if ((old_ul != RelativeUpperLeft()) || (old_lr != RelativeLowerRight())) in SizeMove()
|
H A D | GUI.cpp | 439 GG::Pt rel_lr = dragged_wnd->RelativeLowerRight(); in HandleMouseDrag()
|
/dports/games/freeorion/freeorion-0.4.10.2/UI/ |
H A D | MultiplayerLobbyWnd.cpp | 905 GG::Pt game_buttons_lr = game_buttons_ul + m_galaxy_setup_panel->RelativeLowerRight(); in DoLayout() 908 …s_btn_ul(CHAT_WIDTH + 2 * CONTROL_MARGIN, m_new_load_game_buttons->RelativeLowerRight().y + CONTRO… in DoLayout() 912 …GG::Pt save_file_text_ul(m_browse_saves_btn->RelativeLowerRight().x + CONTROL_MARGIN, m_browse_sav… in DoLayout() 920 m_preview_image->RelativeLowerRight().y + CONTROL_MARGIN); in DoLayout() 934 …GG::Y y(std::max(m_save_file_text->RelativeLowerRight().y, m_browse_saves_btn->RelativeLowerRight(… in DoLayout() 935 GG::Pt players_lb_ul(x, std::max(y, m_any_can_edit->RelativeLowerRight().y) + CONTROL_MARGIN); in DoLayout()
|
H A D | CUIControls.cpp | 722 GG::Pt(Size().x, TabButton()->RelativeLowerRight().y) : in SizeMove() 723 GG::Pt(TabButton()->RelativeLowerRight().x, Size().y)); in SizeMove() 1472 std::max(m_icon->RelativeLowerRight().y, m_text->MinUsableSize().y)); in MinUsableSize() 1474 return GG::Pt(std::max(m_icon->RelativeLowerRight().x, m_text->MinUsableSize().x), in MinUsableSize() 1475 m_icon->RelativeLowerRight().y + m_text->MinUsableSize().y); in MinUsableSize()
|
H A D | CUIWnd.cpp | 249 { SizeMove(RelativeUpperLeft(), RelativeLowerRight()); } in ValidatePosition()
|
H A D | DesignWnd.cpp | 4607 ul= GG::Pt(m_design_name_label->RelativeLowerRight().x+PAD, GG::Y(PAD)); in DoLayout() 4610 ul=GG::Pt(GG::X(PAD), GG::Y(m_design_name->RelativeLowerRight().y+PAD)); in DoLayout() 4615 ul.x = m_design_description_toggle->RelativeLowerRight().x + PAD; in DoLayout()
|
/dports/games/freeorion/freeorion-0.4.10.2/GG/test/unit/ |
H A D | TestButton.cpp | 140 BOOST_CHECK(button.RelativeLowerRight() == GG::Pt(GG::X(1), GG::Y(1))); in BOOST_AUTO_TEST_CASE() 179 BOOST_CHECK(button.RelativeLowerRight() == GG::Pt(GG::X(40), GG::Y(40))); in BOOST_AUTO_TEST_CASE()
|
/dports/games/freeorion/freeorion-0.4.10.2/GG/GG/ |
H A D | Wnd.h | 441 Pt RelativeLowerRight() const;
|
H A D | Slider.h | 429 …int tab_posn = (m_orientation == VERTICAL ? Value(Height() - m_tab->RelativeLowerRight().y) : Valu… in UpdatePosn()
|
H A D | Spin.h | 350 SizeMove(RelativeUpperLeft(), RelativeLowerRight()); in SetButtonWidth()
|