"Modern" C++ Lamentations Aras Pranckevičius http://aras-p.info/blog/2018/12/28/Modern-C-Lamentations/
Is C++ fast? Arseny Kapoulkine https://zeux.io/2019/01/17/is-c-fast/
Thoughts on Modern C++ and Game Dev
"Modern" C++ Lamentations Aras Pranckevičius http://aras-p.info/blog/2018/12/28/Modern-C-Lamentations/
Is C++ fast? Arseny Kapoulkine https://zeux.io/2019/01/17/is-c-fast/
Thoughts on Modern C++ and Game Dev
| // Test helper for imgui_freetype | |
| #include "misc/freetype/imgui_freetype.h" | |
| struct FreeTypeTest | |
| { | |
| enum FontBuildMode { FontBuildMode_FreeType, FontBuildMode_Stb }; | |
| FontBuildMode BuildMode = FontBuildMode_FreeType; | |
| bool WantRebuild = true; |
| Wonder Boy: The Dragon's Trap | |
| ----------------------------- | |
| Quick Guide for programmers | |
| Last updated October 2018 | |
| Contact: Omar Cornut <XXXXXX | |
| =============================================== | |
| INDEX | |
| =============================================== |
| // Small hack for a resizable InputTextMultiline() | |
| ImVec2 SetInputTextMultilineResizableY(const char* label, const ImVec2& base_size) | |
| { | |
| ImVec2 pos = ImGui::GetCursorScreenPos(); | |
| ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, { 0.0f, 0.0f }); | |
| ImGui::BeginChild(label, base_size, ImGuiChildFlags_ResizeY | ImGuiChildFlags_FrameStyle | ImGuiChildFlags_Borders); | |
| ImVec2 actual_size = ImGui::GetWindowSize(); | |
| ImGui::EndChild(); | |
| ImGui::PopStyleVar(); | |
| ImGui::SetCursorScreenPos(pos); |