Lines Matching defs:width
226 int width, height;
228 io.Fonts->GetTexDataAsRGBA32(&pixels, &width, &height);
233 MyTexture* texture = MyEngine::CreateTextureFromMemoryPixels(pixels, width, height, TEXTURE_TYPE_RGBA32)
242 io.DisplaySize.x = 1920.0f; // set the current display width
480 - 2016/01/23 (1.48) - fixed not honoring exact width passed to PushItemWidth(), previously it would add extra FramePadding.x*2 over that width. if you had manual pixel-perfect alignment in place it might affect you.
531 became: { unsigned char* pixels; int width, height; io.Fonts->GetTexDataAsRGBA32(&pixels, &width, &height); <..Upload texture to GPU>; io.Fonts->TexId = YourTextureIdentifier; }
901 Rectangles provided by ImGui are defined as (x1=left,y1=top,x2=right,y2=bottom) and NOT as (x1,y1,width,height).
1101 GrabMinSize = 10.0f; // Minimum width/height of a grab box for slider/scrollbar
2027 bool ImGuiTextFilter::Draw(const char* label, float width)
2029 if (width != 0.0f)
2030 ImGui::PushItemWidth(width);
2032 if (width != 0.0f)
5078 // We still process initial auto-fit on collapsed windows to get a window width, but otherwise don't honor ImGuiWindowFlags_AlwaysAutoResize when collapsed.
5182 // Default item width. Make it proportional to window size if window manually resizes
5662 // Align to a right-side limit. We include 1 frame padding in the calculation because this is how the width is always used (we add 2 frame padding to it), but we could move that responsibility to the widget as well.
7166 const ImRect& curr = g.NavScoringRectScreen; // Current modified source rect (NB: we've applied Max.x = Min.x in NavUpdate() to inhibit the effect of having varied item width)
8278 const float width = preserve_width ? GetColumnWidthEx(columns, column_index, columns->IsBeingResized) : 0.0f;
8285 SetColumnOffset(column_index + 1, offset + ImMax(g.Style.ColumnsMinSpacing, width));
8288 void ImGui::SetColumnWidth(int column_index, float width)
8296 SetColumnOffset(column_index + 1, GetColumnOffset(column_index) + width);
8412 const float column_hw = GetColumnsRectHalfWidth(); // Half-width for interaction