Nelarius / imnodes

A small, dependency-free node editor for dear imgui
MIT License
1.94k stars 237 forks source link

SWPBL-188190 -- Draw block palette #157

Closed KevinKimSonos closed 1 year ago

KevinKimSonos commented 1 year ago

Overview

The block palette is the portion of the GUI that contains all types of Control/DSP blocks that can be used when creating a DSP system. The block palette should be anchored on the left side of the application window beneath the menu bar.

Notes

There are several things that we need to confirm.

  1. In order for the palette to be under the menu bar, I set the palette's initial y-position to be ImGui::GetFrameHeight() * 2. This looks fine on my screen, but need to check if it renders what I intended in other screens.
  2. Notice that Search is weirdly placed next to the search bar. This can be fixed by changing a line in imgui.cpp. However, I am having trouble understanding how I can edit imgui.cpp.

See JIRA here.