Home
last modified time | relevance | path

Searched refs:RelativeUpperLeft (Results 1 – 17 of 17) sorted by relevance

/dports/games/freeorion/freeorion-0.4.10.2/GG/src/
H A DScroll.cpp189 m_tab->SizeMove(m_tab->RelativeUpperLeft(), in DoLayout()
232 Pt tab_ul = m_tab->RelativeUpperLeft(); in SizeScroll()
302 if (pt.x - ul.x < m_tab->RelativeUpperLeft().x || pt.y - ul.y <= m_tab->RelativeUpperLeft().y) in RegionUnder()
377 Pt new_ul = m_tab->RelativeUpperLeft() + event.DragMove(); in EventFilter()
379 new_ul.x = m_tab->RelativeUpperLeft().x; in EventFilter()
382 m_tab_dragged |= bool(m_tab->RelativeUpperLeft().y - new_ul.y); in EventFilter()
386 new_ul.y = m_tab->RelativeUpperLeft().y; in EventFilter()
387 m_tab_dragged |= bool(m_tab->RelativeUpperLeft().x - new_ul.x); in EventFilter()
417 Value(m_tab->RelativeUpperLeft().y - (m_decr ? m_decr->Size().y : Y0)) : in UpdatePosn()
442 Pt(m_tab->RelativeUpperLeft().x, Y(static_cast<int>(tab_location))) : in MoveTabToPosn()
[all …]
H A DDeferredLayout.cpp44 if ((ul != RelativeUpperLeft()) || (lr != RelativeLowerRight())) { in SizeMove()
59 m_ul_prerender = RelativeUpperLeft(); in PreRender()
H A DWnd.cpp301 Pt Wnd::RelativeUpperLeft() const in RelativeUpperLeft() 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 DDropDownList.cpp777 GG::Pt old_ul = RelativeUpperLeft(); in SizeMove()
782 if ((old_ul != RelativeUpperLeft()) || (old_lr != RelativeLowerRight())) in SizeMove()
H A DLayout.cpp546 …] = WndPosition(row, column, last_row, last_column, alignment, wnd->RelativeUpperLeft(), wnd->Size… in Add()
H A DGUI.cpp440 GG::Pt rel_ul = dragged_wnd->RelativeUpperLeft(); in HandleMouseDrag()
/dports/games/freeorion/freeorion-0.4.10.2/GG/GG/
H A DSlider.h377 Pt new_ul = m_tab->RelativeUpperLeft() + event.DragMove(); in EventFilter()
379 new_ul.x = m_tab->RelativeUpperLeft().x; in EventFilter()
383 new_ul.y = m_tab->RelativeUpperLeft().y; in EventFilter()
419 m_tab->MoveTo(Pt(m_tab->RelativeUpperLeft().x, Height() - tab_width - pixel_distance)); in MoveTabToPosn()
421 m_tab->MoveTo(Pt(X(pixel_distance), m_tab->RelativeUpperLeft().y)); in MoveTabToPosn()
429 … VERTICAL ? Value(Height() - m_tab->RelativeLowerRight().y) : Value(m_tab->RelativeUpperLeft().x)); in UpdatePosn()
H A DWnd.h436 Pt RelativeUpperLeft() const;
H A DSpin.h350 SizeMove(RelativeUpperLeft(), RelativeLowerRight()); in SetButtonWidth()
/dports/games/freeorion/freeorion-0.4.10.2/UI/
H A DCUISlider.h45 …()->MoveTo(GG::Pt((this->Width() - this->Tab()->Width()) / 2, this->Tab()->RelativeUpperLeft().y)); in SizeMove()
49 …this->Tab()->MoveTo(GG::Pt(this->Tab()->RelativeUpperLeft().x, (this->Height() - this->Tab()->Heig… in SizeMove()
H A DCUIWnd.cpp249 { SizeMove(RelativeUpperLeft(), RelativeLowerRight()); } in ValidatePosition()
663 int int_value = Value(RelativeUpperLeft().x); in SaveDefaultedOptions()
668 int_value = Value(RelativeUpperLeft().y); in SaveDefaultedOptions()
726 db.Set<int>(option_prefix + window_mode + ".left", Value(RelativeUpperLeft().x)); in SaveOptions()
727 db.Set<int>(option_prefix + window_mode + ".top", Value(RelativeUpperLeft().y)); in SaveOptions()
H A DMultiplayerLobbyWnd.cpp912 …saves_btn->RelativeLowerRight().x + CONTROL_MARGIN, m_browse_saves_btn->RelativeUpperLeft().y + 2); in DoLayout()
919 GG::Pt any_can_edit_ul(m_preview_image->RelativeUpperLeft().x + CONTROL_MARGIN, in DoLayout()
930 …m_ready_bn->MoveTo(GG::Pt(m_cancel_bn->RelativeUpperLeft().x - CONTROL_MARGIN - m_ready_bn->Width(… in DoLayout()
936 …GG::Pt players_lb_lr(ClientWidth() - CONTROL_MARGIN, m_cancel_bn->RelativeUpperLeft().y - CONTROL_… in DoLayout()
945 …conditions_text_lr = start_conditions_text_ul + GG::Pt(m_cancel_bn->RelativeUpperLeft().x - x, TEX… in DoLayout()
H A DResearchWnd.cpp274 m_RPs_and_turns_text->RelativeUpperLeft() + GG::Pt(TURNS_AND_COST_WIDTH, GG::Y0)); in SizeMove()
H A DCUIControls.cpp720 TabButton()->SizeMove(TabButton()->RelativeUpperLeft(), in SizeMove()
1471 return GG::Pt(m_text->RelativeUpperLeft().x + m_text->MinUsableSize().x, in MinUsableSize()
H A DDesignWnd.cpp4594 ul = m_confirm_button->RelativeUpperLeft() - GG::Pt(mus.x+PAD, GG::Y(0)); in DoLayout()
/dports/games/freeorion/freeorion-0.4.10.2/GG/test/unit/
H A DTestButton.cpp135 BOOST_CHECK(button.RelativeUpperLeft() == GG::Pt(GG::X(0), GG::Y(0))); in BOOST_AUTO_TEST_CASE()
174 BOOST_CHECK(button.RelativeUpperLeft() == GG::Pt(GG::X(10), GG::Y(10))); in BOOST_AUTO_TEST_CASE()
/dports/games/freeorion/freeorion-0.4.10.2/UI/CombatReport/
H A DCombatLogWnd.cpp583 …o layout = GG::Wnd::Create<GG::DeferredLayout>(m_wnd.RelativeUpperLeft().x, m_wnd.RelativeUpperLef… in SetLog()