Skip to content
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.

Commit

Permalink
some posible bugs fix.
Browse files Browse the repository at this point in the history
UObject Ready for EngineJson
  • Loading branch information
CorrM committed Jun 11, 2019
1 parent 3263d22 commit 7deddfc
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 48 deletions.
1 change: 1 addition & 0 deletions UnrealFinderTool/ImControl.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

#define ENABLE_DISABLE_WIDGET(uiCode, disabledBool) { static bool disCheck = false; if (disabledBool) { disCheck = true; ui::PushItemFlag(ImGuiItemFlags_Disabled, true); ui::PushStyleVar(ImGuiStyleVar_Alpha, ImGui::GetStyle().Alpha * 0.5f); } uiCode; if (disCheck && disabledBool) { ImGui::PopItemFlag(); ImGui::PopStyleVar(); disCheck = false; } }
#define ENABLE_DISABLE_WIDGET_IF(uiCode, disabledBool, body) { static bool disCheck = false; if (disabledBool) { disCheck = true; ui::PushItemFlag(ImGuiItemFlags_Disabled, true); ui::PushStyleVar(ImGuiStyleVar_Alpha, ImGui::GetStyle().Alpha * 0.5f);} if(uiCode) body if (disCheck && disabledBool) { ImGui::PopItemFlag(); ImGui::PopStyleVar(); disCheck = false; } }
#define TOOL_VERSION "3.0.1"

// => Main Options Section
inline bool process_id_disabled = false;
Expand Down
Loading

1 comment on commit 7deddfc

@CorrM
Copy link
Owner Author

@CorrM CorrM commented on 7deddfc Jun 12, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#18

Please sign in to comment.