tpecholt / imrad

ImRAD is a GUI builder for the ImGui library
GNU General Public License v3.0
872 stars 26 forks source link

Add Button.shortcut property #12

Closed tpecholt closed 1 year ago

tpecholt commented 1 year ago

f.e. entering ctrl+A will export code

if (ImGui::Button(...) ||
   (ImGui::GetIO().KeyCtrl && ImGui::IsKeyPressed(ImGuiKey_A, false)))
...