commit e099f5d920ba60bb6110bf2199bfd1ac5e6fd926
parent 4bddb7f12231f96501210b730b3279b7453dcb8b
Author: Oli Larkin <olilarkin@googlemail.com>
Date: Sat, 10 Jun 2023 22:10:06 +0200
Add a drawn text entry control (#266)
This replaces the platform-native text entry control so that the text entry text matches the UI text better
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/NeuralAmpModeler/NeuralAmpModeler.cpp b/NeuralAmpModeler/NeuralAmpModeler.cpp
@@ -95,6 +95,7 @@ NeuralAmpModeler::NeuralAmpModeler(const InstanceInfo& info)
mLayoutFunc = [&](IGraphics* pGraphics) {
pGraphics->AttachCornerResizer(EUIResizerMode::Scale, false);
+ pGraphics->AttachTextEntryControl();
pGraphics->AttachPanelBackground(COLOR_BLACK);
pGraphics->EnableMouseOver(true);
pGraphics->EnableTooltips(true);