Updated imgui.

This commit is contained in:
Branimir Karadžić 2015-06-25 22:35:52 -07:00
parent 4cf393bed6
commit a0fed6eeb1
2 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
// ImGui library v1.41 WIP
// ImGui library v1.41
// See ImGui::ShowTestWindow() for sample code.
// Read 'Programmer guide' below for notes on how to setup ImGui in your codebase.
// Get latest version at https://github.com/ocornut/imgui
@ -10985,7 +10985,7 @@ void ImGui::ShowTestWindow(bool* opened)
if (ImGui::TreeNode("Multi-line Text Input"))
{
static char text[1024*4] = "// F00F bug\nlabel:\n\tlock cmpxchg8b eax\n";
static char text[1024*16] = "// F00F bug\nlabel:\n\tlock cmpxchg8b eax\n";
ImGui::PushItemWidth(-1.0f);
ImGui::InputTextMultiline("##source", text, IM_ARRAYSIZE(text), ImVec2(0.f, ImGui::GetTextLineHeight() * 16), ImGuiInputTextFlags_AllowTabInput);
ImGui::PopItemWidth();

View file

@ -1,4 +1,4 @@
// ImGui library v1.41 WIP
// ImGui library v1.41
// See .cpp file for documentation.
// See ImGui::ShowTestWindow() for sample code.
// Read 'Programmer guide' in .cpp for notes on how to setup ImGui in your codebase.
@ -13,7 +13,7 @@
#include <stdlib.h> // NULL, malloc, free, qsort, atoi
#include <string.h> // memset, memmove, memcpy, strlen, strchr, strcpy, strcmp
#define IMGUI_VERSION "1.41 WIP"
#define IMGUI_VERSION "1.41"
// Define assertion handler.
#ifndef IM_ASSERT