ImGui:: add ImPlot (ImGui Plotter tools)

Will be used for upgrading ImGui in the Recast NavMesh editor, and future tooling in-game.
This commit is contained in:
Kawe Mazidjatari 2024-07-09 00:57:31 +02:00
parent 4c43f08248
commit c2df5e19bf
7 changed files with 14171 additions and 0 deletions

View File

@ -185,6 +185,33 @@ ImGuiColorTextEdit
// SOFTWARE. // SOFTWARE.
//////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////
************************************************************************************
ImPlot
************************************************************************************
// MIT License
//
// Copyright (c) 2020 Evan Pezent
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
////////////////////////////////////////////////////////////////////////////
************************************************************************************ ************************************************************************************
Simple DirectMedia Layer 2 Simple DirectMedia Layer 2
************************************************************************************ ************************************************************************************

View File

@ -32,6 +32,10 @@ add_sources( SOURCE_GROUP "Misc"
"misc/imgui_editor.h" "misc/imgui_editor.h"
"misc/imgui_logger.cpp" "misc/imgui_logger.cpp"
"misc/imgui_logger.h" "misc/imgui_logger.h"
"misc/imgui_plotter.cpp"
"misc/imgui_plotter.h"
"misc/imgui_plotter_items.cpp"
"misc/imgui_plotter_internal.h"
"misc/imgui_snapshot.cpp" "misc/imgui_snapshot.cpp"
"misc/imgui_snapshot.h" "misc/imgui_snapshot.h"
"misc/imgui_utility.cpp" "misc/imgui_utility.cpp"
@ -42,6 +46,7 @@ add_sources( SOURCE_GROUP "Misc"
add_sources( SOURCE_GROUP "Demos" add_sources( SOURCE_GROUP "Demos"
"demos/imgui_demo.cpp" "demos/imgui_demo.cpp"
"demos/imgui_plotter_demo.cpp"
) )
end_sources() end_sources()
@ -50,4 +55,5 @@ thirdparty_suppress_warnings()
target_compile_definitions( ${PROJECT_NAME} PRIVATE BUILDING_LIBIMGUI ) target_compile_definitions( ${PROJECT_NAME} PRIVATE BUILDING_LIBIMGUI )
target_include_directories( ${PROJECT_NAME} PRIVATE "${THIRDPARTY_SOURCE_DIR}/imgui/" ) target_include_directories( ${PROJECT_NAME} PRIVATE "${THIRDPARTY_SOURCE_DIR}/imgui/" )
target_include_directories( ${PROJECT_NAME} PRIVATE "${THIRDPARTY_SOURCE_DIR}/imgui/misc/" )
target_include_directories( ${PROJECT_NAME} PRIVATE "${THIRDPARTY_SOURCE_DIR}/sdl/include/" ) target_include_directories( ${PROJECT_NAME} PRIVATE "${THIRDPARTY_SOURCE_DIR}/sdl/include/" )

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

1297
src/thirdparty/imgui/misc/imgui_plotter.h vendored Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff