Skip to content

Commit

Permalink
updated imgui to 1.75 WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
d3cod3 committed Apr 3, 2020
1 parent bf9d9e9 commit df1f422
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/MosaicTheme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ void MosaicTheme::setup(){
style->Colors[ImGuiCol_Header] = ImVec4(col_main_head, 0.76f);
style->Colors[ImGuiCol_HeaderHovered] = ImVec4(col_main_head, 0.86f);
style->Colors[ImGuiCol_HeaderActive] = ImVec4(col_main_head, 1.00f);
style->Colors[ImGuiCol_Column] = ImVec4(col_win_popup, 0.32f);
style->Colors[ImGuiCol_ColumnHovered] = ImVec4(col_main_head, 0.78f);
style->Colors[ImGuiCol_ColumnActive] = ImVec4(col_main_head, 1.00f);
style->Colors[ImGuiCol_ResizeGrip] = ImVec4(col_win_popup, 0.04f);
style->Colors[ImGuiCol_ResizeGripHovered] = ImVec4(col_main_head, 0.78f);
style->Colors[ImGuiCol_ResizeGripActive] = ImVec4(col_main_head, 1.00f);
Expand Down
2 changes: 1 addition & 1 deletion src/ofApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ void ofApp::drawImGuiInterface(){
// right click menu
if(showRightClickMenu){
ImGui::SetNextWindowSize(ImVec2(200*visualProgramming->scaleFactor,280*visualProgramming->scaleFactor), ImGuiCond_Always);
ImGui::SetNextWindowPos(ImVec2(ofGetMouseX(),ofGetMouseY()), ImGuiSetCond_Appearing);
ImGui::SetNextWindowPos(ImVec2(ofGetMouseX(),ofGetMouseY()), ImGuiCond_Appearing);

if(ImGui::Begin("Objects", &showRightClickMenu,ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_NoCollapse) ){

Expand Down

0 comments on commit df1f422

Please sign in to comment.