I hereby claim:
- I am thennequin on github.
- I am thennequin (https://keybase.io/thennequin) on keybase.
- I have a public key ASCFW6n8BxTAmHR_GJh7Cbnm22clQwsORXYPCrcSvc1Skwo
To claim this, I am signing this object:
| Ini::IniConfig& m_oIniConfig; | |
| Ini::CategoryValueMap& mCategories = m_oIniConfig.GetCategories(); | |
| if (ImGui::Button("Reload")) | |
| { | |
| m_oIniConfig.Load("Config.ini", true, false); | |
| } | |
| ImGui::SameLine(); | |
| if (ImGui::Button("Save")) |
| bool ColorSelector(const char* pLabel, ImVec4& oRGBA) | |
| { | |
| const ImU32 c_oColorGrey = ImGui::ColorConvertFloat4ToU32(ImVec4(0.75f,0.75f,0.75f,1.f)); | |
| const ImU32 c_oColorBlack = ImGui::ColorConvertFloat4ToU32(ImVec4(0.f,0.f,0.f,1.f)); | |
| const ImU32 c_oColorBlackTransparent = ImGui::ColorConvertFloat4ToU32(ImVec4(0.f,0.f,0.f,0.f)); | |
| const ImU32 c_oColorWhite = ImGui::ColorConvertFloat4ToU32(ImVec4(1.f,1.f,1.f,1.f)); | |
| ImGui::PushID(pLabel); | |
| bool bRet = false; | |
| ImGuiID iID = ImGui::GetID(pLabel); |
| <?php | |
| class SimpleErrorHandler | |
| { | |
| static function Exception($msg, $level = 0) | |
| { | |
| //trigger_error("Member not exist"/*, E_USER_ERROR*/); | |
| $traces = debug_backtrace(); | |
| self::PrintError($msg,$traces[$level]["file"], $traces[$level]["line"]); |
| #include <windows.h> | |
| #include <tchar.h> | |
| #include <stdio.h> | |
| #include <dbghelp.h> | |
| #include <stdlib.h> | |
| #pragma comment(lib, "dbghelp.lib") // for "VerQueryValue" | |
| #pragma comment(lib, "version.lib") // for "VerQueryValue" | |
| #pragma warning(disable:4826) | |
| #pragma warning(disable:4127) |
| /* | |
| Exemple: | |
| float fValue = 1.f; | |
| DragNumeric("Float", &fValue, 1.0, 0.f, 0.f, "%f"); | |
| double fDoubleValue = 1.f; | |
| DragNumeric("Double", &fDoubleValue, 1.0, 0.0, 0.0, "%lf"); | |
| */ |
| #include "JsonStthm.h" | |
| namespace JsonStthm | |
| { | |
| JsonValue::JsonMember::JsonMember(const ImwChar* pName, JsonValue* pValue) | |
| { | |
| m_pName = NULL; | |
| SetName(pName); | |
| m_pValue = pValue; | |
| } |
| int BeginCombo(const char* pLabel, const char* pValue) | |
| { | |
| ImGuiWindow* pWindow = ImGui::GetCurrentWindow(); | |
| ImGuiState& oState = *GImGui; | |
| const ImGuiStyle& oStyle = oState.Style; | |
| const ImGuiID oId = pWindow->GetID(pLabel); | |
| const float fWidth = ImGui::CalcItemWidth(); | |
| const ImVec2 oLabelSize = ImGui::CalcTextSize(pLabel, NULL, true); |
I hereby claim:
To claim this, I am signing this object:
| /* | |
| Need implementation, use: | |
| #define VULKAN_UTILS_IMPLEMENT | |
| */ | |
| #include <vulkan/vulkan.h> | |
| VkResult vkFindBestPhysicalDevice(VkInstance vkInstance, VkSurfaceKHR vkSurface, VkPhysicalDevice* pOutVkPhysicalDevice, int* pOutVkPhysicalDeviceScore); | |
| ////////////////////////////////// |