Lines Matching defs:first

32   - Read first.
99 opening a tree node for the first time, etc. but a typical frame should not allocate anything).
296 // - If your engine doesn't support scissoring yet, you may ignore this at first. You will get some small glitches
367 - 2019/02/14 (1.68) - made it illegal/assert when io.DisplayTime == 0.0f (with an exception for the first frame). If for some reason your time step calculation gives you a zero value, replace it with a dummy small value!
655 Q: I have multiple widgets with the same label, and only the first one works. Why is that?
683 Button("OK"); // ID collision! Interacting with either button will trigger the first one.
804 // the first loaded font gets used by default
1096 TouchExtraPadding = ImVec2(0,0); // Expand reactive bounding box for touch-based system where touch position is not accurate enough. Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget. So don't grow this too much!
1339 // Find end-of-line. Return pointer will point to either first \n, either str_end.
1867 ImGuiStorage::Pair* first = data.Data;
1869 size_t count = (size_t)(last - first);
1873 ImGuiStorage::Pair* mid = first + count2;
1876 first = ++mid;
1884 return first;
2132 // Add zero-terminator the first time
2160 int len = ImFormatStringV(NULL, 0, fmt, args); // FIXME-OPT: could do a first pass write attempt, likely successful on first pass.
2167 // Add zero-terminator the first time
2236 if (StepNo == 0) // Step 0: the clipper let you process the first element, regardless of it being visible or not, so we can measure the element height.
2244 if (StepNo == 1) // Step 1: the clipper infer height from first element, calculate the actual range of elements to display, and position the cursor before the first element.
3333 // If mouse was first clicked outside of ImGui bounds we also cancel out hovering.
3334 // FIXME: For patterns of drag and drop across OS windows, we may need to rework/remove this test (first committed 311c0ca9 on 2015/02)
3387 // Load settings on first frame (if not explicitly loaded manually before)
3521 // Closing the focused window restore focus to the first active root window in descending z-order
4361 // Process navigation-in immediately so NavInit can run on first frame
4482 // Create window the first time
4503 window->DC.CursorMaxPos = window->Pos; // So first call to CalcSizeContents() doesn't return crazy values
4899 // Parent window is latched only on the first call to Begin() of the frame, so further append-calls can be done from a different window stack
4941 // May be processed on the next frame if this is our first frame and we are measuring size
5077 // Auto-fit may only grow window during the first few frames
6588 window->DC.CurrentLineTextBaseOffset = ImMax(window->DC.PrevLineTextBaseOffset, group_data.BackupCurrentLineTextBaseOffset); // FIXME: Incorrect, we should grab the base offset from the *first line* of the group but it is hard to obtain now.
6676 // Not exposed publicly as BeginTooltip() because bool parameters are evil. Let's see if other needs arise first.
6791 // When reopening a popup we first refocus its parent, otherwise if its parent is itself a popup it would get closed by ClosePopupsOverWindow().
7303 // Even if 'ImGuiItemFlags_NoNavDefaultFocus' is on (typically collapse/close button) we record the first ResultId so they can be used as a fallback
7605 // Process navigation init request (select first/default focus)
7608 // Apply result from previous navigation init request (will typically select the first item, unless SetItemDefaultFocus() has been called)
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
7856 // PageUp/PageDown behavior first jumps to the bottom/top mostly visible item, _otherwise_ use the result from the previous/next page.
8037 // Visuals only appears after a brief time after pressing TAB the first time, so that a fast CTRL+TAB doesn't add visual noise
8343 // Set state for first column
9051 *type_end = 0; // Overwrite first ']'