Lines Matching defs:new

210     IMGUI_API void          NewFrame();                                 // start a new ImGui frame, you can submit any command from this point until Render()/EndFrame().
226 IMGUI_API void StyleColorsDark(ImGuiStyle* dst = NULL); // new, recommended style (default)
331 IMGUI_API void NewLine(); // undo a SameLine() or force a new line when in an horizontal-layout context.
400 // - The new BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it, by creating e.g. Selectable() items.
746 ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, // In multi-line mode, unfocus with Enter, add new line with Ctrl+Enter (default is opposite: unfocus with Ctrl+Enter, add line with Enter).
753 ImGuiInputTextFlags_CallbackResize = 1 << 18, // Callback on buffer capacity changes request (beyond 'buf_size' parameter value), allowing the string to grow. Notify when the string wants to be resized (for string types which hold a cache of their Size). You will be provided a new BufSize in the callback and NEED to honor it. (see misc/cpp/imgui_stdlib.h for an example of using this)
813 ImGuiTabBarFlags_AutoSelectNewTabs = 1 << 1, // Automatically select new tabs when they appear
1362 IMGUI_API void AddInputCharacter(ImWchar c); // Queue new character input
1363 IMGUI_API void AddInputCharactersUTF8(const char* str); // Queue new characters input from an UTF-8 string
1527 // We call C++ constructor on own allocated memory via the placement "new(ptr) Type()" syntax.
1528 // Defining a custom placement new() with a dummy parameter allows us to bypass including <new> which on some platforms complains when user has disabled exceptions.
1530 inline void* operator new(size_t, ImNewDummy, void* ptr) { return ptr; }
1531 inline void operator delete(void*, ImNewDummy, void*) {} // This is only required so we can use the symetrical new()
1532 #define IM_PLACEMENT_NEW(_PTR) new(ImNewDummy(), _PTR)
1533 #define IM_NEW(_TYPE) new(ImNewDummy(), ImGui::MemAlloc(sizeof(_TYPE))) _TYPE
1621 // - Sorted insertion is costly, paid once. A typical frame shouldn't need to insert any new pair.
1633 // - References are only valid until a new value is added to the storage. Calling a Set***() function or a Get***Ref() function invalidates the pointer.
1869 IMGUI_API void AddDrawCmd(); // This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible
1958 IMGUI_API void BuildRanges(ImVector<ImWchar>* out_ranges); // Output new ranges