Renamed misc/stl/imgui_stl.h,.cpp to misc/cpp/imgui_stdlib.h in prevision for other files.(#2035, #2096)

Added misc/README file.
This commit is contained in:
omar
2018-10-12 11:14:21 +02:00
parent 74c0309126
commit 0fe48cbb61
9 changed files with 36 additions and 11 deletions

18
misc/README.txt Normal file
View File

@ -0,0 +1,18 @@
misc/cpp/
InputText() wrappers for C++ standard library (STL) types (std::string, etc.).
This is also an example of how you may wrap your own similar types.
misc/fonts/
Fonts loading/merging instructions (e.g. How to handle glyph ranges, how to merge icons fonts).
Command line tool "binary_to_compressed_c" to create compressed arrays to embed data in source code.
Suggested fonts and links.
misc/freetype/
Font atlas builder/rasterizer using FreeType instead of stb_truetype.
Benefit from better FreeType rasterization, in particular for small fonts.
misc/natnis/
Natvis file to describe dear imgui types in the Visual Studio debugger.
With this, types like ImVector<> will be displayed nicely in the debugger.
You can include this file a Visual Studio project file, or install it in Visual Studio folder.

View File

@ -1,4 +1,4 @@
// imgui_stl.cpp
// imgui_stdlib.cpp
// Wrappers for C++ standard library (STL) types (std::string, etc.)
// This is also an example of how you may wrap your own similar types.
@ -6,8 +6,11 @@
// - std::string support is only guaranteed to work from C++11.
// If you try to use it pre-C++11, please share your findings (w/ info about compiler/architecture)
// Changelog:
// - v0.10: Initial version. Added InputText() / InputTextMultiline() calls with std::string
#include "imgui.h"
#include "imgui_stl.h"
#include "imgui_stdlib.h"
struct InputTextCallback_UserData
{

View File

@ -1,4 +1,4 @@
// imgui_stl.h
// imgui_stdlib.h
// Wrappers for C++ standard library (STL) types (std::string, etc.)
// This is also an example of how you may wrap your own similar types.

View File

@ -1,3 +1,4 @@
Natvis file to describe types in Visual Studio debugger.
You can include this in a project file, or install in Visual Studio folder.
Natvis file to describe dear imgui types in the Visual Studio debugger.
With this, types like ImVector<> will be displayed nicely in the debugger.
You can include this file a Visual Studio project file, or install it in Visual Studio folder.