mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
fix: Issues with drawing interactive tutorial
This commit is contained in:
@@ -251,6 +251,7 @@ namespace hex {
|
||||
{
|
||||
auto highlightColor = ImGuiExt::GetCustomColorVec4(ImGuiCustomCol_Highlight);
|
||||
highlightColor.w *= ImSin(ImGui::GetTime() * 6.0F) / 4.0F + 0.75F;
|
||||
ImHexApi::System::unlockFrameRate();
|
||||
|
||||
drawList->AddRect(rect.Min - ImVec2(5, 5), rect.Max + ImVec2(5, 5), ImColor(highlightColor), 5.0F, ImDrawFlags_None, 2.0F);
|
||||
}
|
||||
|
||||
@@ -5147,7 +5147,8 @@ CIMGUI_API bool igIsDragDropActive(void);
|
||||
CIMGUI_API bool igBeginDragDropTargetCustom(const ImRect bb,ImGuiID id);
|
||||
CIMGUI_API void igClearDragDrop(void);
|
||||
CIMGUI_API bool igIsDragDropPayloadBeingAccepted(void);
|
||||
CIMGUI_API void igRenderDragDropTargetRect(const ImRect bb,const ImRect item_clip_rect);
|
||||
CIMGUI_API void igRenderDragDropTargetRectEx(ImDrawList *draw_list, const ImRect bb);
|
||||
CIMGUI_API void igRenderDragDropTargetRectForItem(const ImRect bb);
|
||||
CIMGUI_API ImGuiTypingSelectRequest* igGetTypingSelectRequest(ImGuiTypingSelectFlags flags);
|
||||
CIMGUI_API int igTypingSelectFindMatch(ImGuiTypingSelectRequest* req,int items_count,const char*(*get_item_name_func)(void*,int),void* user_data,int nav_item_idx);
|
||||
CIMGUI_API int igTypingSelectFindNextSingleCharMatch(ImGuiTypingSelectRequest* req,int items_count,const char*(*get_item_name_func)(void*,int),void* user_data,int nav_item_idx);
|
||||
|
||||
@@ -5141,9 +5141,13 @@ CIMGUI_API bool igIsDragDropPayloadBeingAccepted()
|
||||
{
|
||||
return ImGui::IsDragDropPayloadBeingAccepted();
|
||||
}
|
||||
CIMGUI_API void igRenderDragDropTargetRect(const ImRect bb,const ImRect item_clip_rect)
|
||||
CIMGUI_API void igRenderDragDropTargetRectEx(ImDrawList *draw_list, const ImRect bb)
|
||||
{
|
||||
return ImGui::RenderDragDropTargetRect(bb,item_clip_rect);
|
||||
return ImGui::RenderDragDropTargetRectEx(draw_list, bb);
|
||||
}
|
||||
CIMGUI_API void igRenderDragDropTargetRectForItem(const ImRect bb)
|
||||
{
|
||||
return ImGui::RenderDragDropTargetRectForItem(bb);
|
||||
}
|
||||
CIMGUI_API ImGuiTypingSelectRequest* igGetTypingSelectRequest(ImGuiTypingSelectFlags flags)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user