Searched refs:GetWidth (Results 1 - 10 of 10) sorted by relevance

/xsrc/external/mit/xorg-server.old/dist/hw/xwin/xlaunch/window/
H A Dwindow.h94 int GetWidth() { return bounds.width; }; function in class:CWindow
/xsrc/external/mit/xmh/dist/
H A Dexterns.h167 extern int GetWidth (Widget);
H A Dpopup.c145 nx = (GetWidth(widget) - GetWidth(popup)) / 2;
H A Dutil.c370 int GetWidth(Widget w) function in typeref:typename:int
/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui_widgets.cpp746 if (bb.GetWidth() <= 0.0f || bb_height <= 0.0f)
768 float scrollbar_size_v = horizontal ? bb.GetWidth() : bb.GetHeight();
1197 ItemSize(ImVec2(bb.GetWidth(), 0.0f));
4388 RenderColorRectWithAlphaCheckerboard(bar1_bb.Min, bar1_bb.Max, IM_COL32(0,0,0,0), bar1_bb.GetWidth() / 2.0f, ImVec2(0.0f, 0.0f));
6044 const float width_avail = tab_bar->BarRect.GetWidth();
6089 const bool scrolling_buttons = (tab_bar->OffsetMax > tab_bar->BarRect.GetWidth() && tab_bar->Tabs.Size > 1) && !(tab_bar->Flags & ImGuiTabBarFlags_NoTabListScrollingButtons) && (tab_bar->Flags & ImGuiTabBarFlags_FittingPolicyScroll);
6179 scrolling = ImMin(scrolling, tab_bar->OffsetMax - tab_bar->BarRect.GetWidth());
6192 if (tab_bar->ScrollingTarget + tab_bar->BarRect.GetWidth() < tab_x2)
6193 tab_bar->ScrollingTarget = tab_x2 - tab_bar->BarRect.GetWidth();
6483 if (hovered && g.HoveredIdNotActiveTimer > 0.50f && bb.GetWidth() < ta
[all...]
H A Dimgui.cpp5409 ImVec2 marker_pos = ImVec2(ImMax(text_r.Min.x, text_r.Min.x + (text_r.GetWidth() - text_size.x) * style.WindowTitleAlign.x) + text_size.x, text_r.Min.y) + ImVec2(2 - marker_size_x, 0.0f);
6269 return window->ContentsRegionRect.GetWidth();
7016 r_screen.Expand(ImVec2((r_screen.GetWidth() > padding.x * 2) ? -padding.x : 0.0f, (r_screen.GetHeight() > padding.y * 2) ? -padding.y : 0.0f));
7410 if (move_flags & ImGuiNavMoveFlags_WrapY) { bb_rel.TranslateX(-bb_rel.GetWidth()); clip_dir = ImGuiDir_Left; }
7416 if (move_flags & ImGuiNavMoveFlags_WrapY) { bb_rel.TranslateX(+bb_rel.GetWidth()); clip_dir = ImGuiDir_Right; }
7494 ImVec2 pos = g.NavWindow->Pos + ImVec2(rect_rel.Min.x + ImMin(g.Style.FramePadding.x * 4, rect_rel.GetWidth()), rect_rel.Max.y - ImMin(g.Style.FramePadding.y, rect_rel.GetHeight()));
7816 window_rect_rel.Expand(ImVec2(-ImMin(window_rect_rel.GetWidth(), pad), -ImMin(window_rect_rel.GetHeight(), pad))); // Terrible approximation for the intent of starting navigation from first fully visible item
8719 float r_surface = r.GetWidth() * r.GetHeight();
H A Dimgui_internal.h492 float GetWidth() const { return Max.x - Min.x; } function in struct:ImRect
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimgui_widgets.cpp746 if (bb.GetWidth() <= 0.0f || bb_height <= 0.0f)
768 float scrollbar_size_v = horizontal ? bb.GetWidth() : bb.GetHeight();
1197 ItemSize(ImVec2(bb.GetWidth(), 0.0f));
4388 RenderColorRectWithAlphaCheckerboard(bar1_bb.Min, bar1_bb.Max, IM_COL32(0,0,0,0), bar1_bb.GetWidth() / 2.0f, ImVec2(0.0f, 0.0f));
6044 const float width_avail = tab_bar->BarRect.GetWidth();
6089 const bool scrolling_buttons = (tab_bar->OffsetMax > tab_bar->BarRect.GetWidth() && tab_bar->Tabs.Size > 1) && !(tab_bar->Flags & ImGuiTabBarFlags_NoTabListScrollingButtons) && (tab_bar->Flags & ImGuiTabBarFlags_FittingPolicyScroll);
6179 scrolling = ImMin(scrolling, tab_bar->OffsetMax - tab_bar->BarRect.GetWidth());
6192 if (tab_bar->ScrollingTarget + tab_bar->BarRect.GetWidth() < tab_x2)
6193 tab_bar->ScrollingTarget = tab_x2 - tab_bar->BarRect.GetWidth();
6483 if (hovered && g.HoveredIdNotActiveTimer > 0.50f && bb.GetWidth() < ta
[all...]
H A Dimgui.cpp5409 ImVec2 marker_pos = ImVec2(ImMax(text_r.Min.x, text_r.Min.x + (text_r.GetWidth() - text_size.x) * style.WindowTitleAlign.x) + text_size.x, text_r.Min.y) + ImVec2(2 - marker_size_x, 0.0f);
6269 return window->ContentsRegionRect.GetWidth();
7016 r_screen.Expand(ImVec2((r_screen.GetWidth() > padding.x * 2) ? -padding.x : 0.0f, (r_screen.GetHeight() > padding.y * 2) ? -padding.y : 0.0f));
7410 if (move_flags & ImGuiNavMoveFlags_WrapY) { bb_rel.TranslateX(-bb_rel.GetWidth()); clip_dir = ImGuiDir_Left; }
7416 if (move_flags & ImGuiNavMoveFlags_WrapY) { bb_rel.TranslateX(+bb_rel.GetWidth()); clip_dir = ImGuiDir_Right; }
7494 ImVec2 pos = g.NavWindow->Pos + ImVec2(rect_rel.Min.x + ImMin(g.Style.FramePadding.x * 4, rect_rel.GetWidth()), rect_rel.Max.y - ImMin(g.Style.FramePadding.y, rect_rel.GetHeight()));
7816 window_rect_rel.Expand(ImVec2(-ImMin(window_rect_rel.GetWidth(), pad), -ImMin(window_rect_rel.GetHeight(), pad))); // Terrible approximation for the intent of starting navigation from first fully visible item
8719 float r_surface = r.GetWidth() * r.GetHeight();
H A Dimgui_internal.h492 float GetWidth() const { return Max.x - Min.x; } function in struct:ImRect

Completed in 68 milliseconds