@@ -109,7 +109,7 @@ $(libcurl): $(openssl) | |||||
cd curl-7.63.0 && PKG_CONFIG_PATH= $(CONFIGURE) \ | cd curl-7.63.0 && PKG_CONFIG_PATH= $(CONFIGURE) \ | ||||
--disable-ftp --disable-file --disable-ldap --disable-ldaps --disable-rtsp --disable-proxy --disable-dict --disable-telnet --disable-tftp --disable-pop3 --disable-imap --disable-smb --disable-smtp --disable-gopher --disable-manual --disable-shared --disable-symbol-hiding \ | --disable-ftp --disable-file --disable-ldap --disable-ldaps --disable-rtsp --disable-proxy --disable-dict --disable-telnet --disable-tftp --disable-pop3 --disable-imap --disable-smb --disable-smtp --disable-gopher --disable-manual --disable-shared --disable-symbol-hiding \ | ||||
--without-zlib --without-libpsl --without-libmetalink --without-libssh2 --without-librtmp --without-winidn --without-libidn2 --without-nghttp2 --without-brotli \ | --without-zlib --without-libpsl --without-libmetalink --without-libssh2 --without-librtmp --without-winidn --without-libidn2 --without-nghttp2 --without-brotli \ | ||||
--without-ca-bundle --with-ca-fallback --with-ssl=$(realpath $(DEP_LOCAL)) | |||||
--without-ca-bundle --with-ca-fallback --with-ssl="$(realpath $(DEP_LOCAL))" | |||||
$(MAKE) -C curl-7.63.0 | $(MAKE) -C curl-7.63.0 | ||||
$(MAKE) -C curl-7.63.0 install | $(MAKE) -C curl-7.63.0 install | ||||
@@ -237,6 +237,7 @@ struct BrowserSearchField : ui::TextField { | |||||
APP->event->setSelected(this); | APP->event->setSelected(this); | ||||
TextField::step(); | TextField::step(); | ||||
} | } | ||||
void onSelectKey(const event::SelectKey &e) override { | void onSelectKey(const event::SelectKey &e) override { | ||||
if (e.action == GLFW_PRESS) { | if (e.action == GLFW_PRESS) { | ||||
if (e.key == GLFW_KEY_ESCAPE) { | if (e.key == GLFW_KEY_ESCAPE) { | ||||
@@ -249,12 +250,18 @@ struct BrowserSearchField : ui::TextField { | |||||
if (!e.getConsumed()) | if (!e.getConsumed()) | ||||
ui::TextField::onSelectKey(e); | ui::TextField::onSelectKey(e); | ||||
} | } | ||||
void onChange(const event::Change &e) override; | void onChange(const event::Change &e) override; | ||||
void onHide(const event::Hide &e) override { | void onHide(const event::Hide &e) override { | ||||
setText(""); | |||||
APP->event->setSelected(NULL); | APP->event->setSelected(NULL); | ||||
ui::TextField::onHide(e); | ui::TextField::onHide(e); | ||||
} | } | ||||
void onShow(const event::Show &e) override { | |||||
selectAll(); | |||||
TextField::onShow(e); | |||||
} | |||||
}; | }; | ||||
@@ -176,7 +176,7 @@ void RackWidget::onButton(const event::Button &e) { | |||||
widget::OpaqueWidget::onButton(e); | widget::OpaqueWidget::onButton(e); | ||||
if (e.getConsumed() == this) { | if (e.getConsumed() == this) { | ||||
if (e.action == GLFW_PRESS && e.button == GLFW_MOUSE_BUTTON_RIGHT) { | if (e.action == GLFW_PRESS && e.button == GLFW_MOUSE_BUTTON_RIGHT) { | ||||
APP->scene->moduleBrowser->visible = true; | |||||
APP->scene->moduleBrowser->show(); | |||||
} | } | ||||
} | } | ||||
} | } | ||||
@@ -138,7 +138,7 @@ void Scene::onHoverKey(const event::HoverKey &e) { | |||||
} break; | } break; | ||||
case GLFW_KEY_ENTER: | case GLFW_KEY_ENTER: | ||||
case GLFW_KEY_KP_ENTER: { | case GLFW_KEY_KP_ENTER: { | ||||
moduleBrowser->visible = true; | |||||
moduleBrowser->show(); | |||||
e.consume(this); | e.consume(this); | ||||
} break; | } break; | ||||
case GLFW_KEY_F11: { | case GLFW_KEY_F11: { | ||||