diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-06 09:27:14 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-06 09:27:14 +0300 |
commit | 6bd9fbffec920c103d27bf780d60de314316bbd5 (patch) | |
tree | d87aa9226a1a1ed7a6a77652266aae4bbd78cb14 /src/ui/window.c | |
parent | 8d249e27e6dda6423af93aa4368a81b13cd3f451 (diff) |
Added a LookupWidget with background thread
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index dabf80de..78567bb5 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -26,6 +26,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | |||
26 | #include "inputwidget.h" | 26 | #include "inputwidget.h" |
27 | #include "documentwidget.h" | 27 | #include "documentwidget.h" |
28 | #include "sidebarwidget.h" | 28 | #include "sidebarwidget.h" |
29 | #include "lookupwidget.h" | ||
29 | #include "embedded.h" | 30 | #include "embedded.h" |
30 | #include "command.h" | 31 | #include "command.h" |
31 | #include "paint.h" | 32 | #include "paint.h" |
@@ -404,6 +405,8 @@ static void setupUserInterface_Window(iWindow *d) { | |||
404 | addChild_Widget(searchBar, iClob(newIcon_LabelWidget(" \u2b9d ", 'g', KMOD_PRIMARY | KMOD_SHIFT, "find.prev"))); | 405 | addChild_Widget(searchBar, iClob(newIcon_LabelWidget(" \u2b9d ", 'g', KMOD_PRIMARY | KMOD_SHIFT, "find.prev"))); |
405 | addChild_Widget(searchBar, iClob(newIcon_LabelWidget("\u2a2f", SDLK_ESCAPE, 0, "find.close"))); | 406 | addChild_Widget(searchBar, iClob(newIcon_LabelWidget("\u2a2f", SDLK_ESCAPE, 0, "find.close"))); |
406 | } | 407 | } |
408 | iLookupWidget *lookup = new_LookupWidget(); | ||
409 | addChildFlags_Widget(d->root, iClob(lookup), hidden_WidgetFlag); | ||
407 | iWidget *tabsMenu = makeMenu_Widget(d->root, | 410 | iWidget *tabsMenu = makeMenu_Widget(d->root, |
408 | (iMenuItem[]){ | 411 | (iMenuItem[]){ |
409 | { "Close Tab", 0, 0, "tabs.close" }, | 412 | { "Close Tab", 0, 0, "tabs.close" }, |