From a47b9fe490c3e4729c0e3d6f9faafa57a51a393d Mon Sep 17 00:00:00 2001 From: Brendan Coles Date: Mon, 20 Apr 2020 21:54:16 +0000 Subject: [PATCH] TextEditor: Add "Find Next" 16x16 icon --- Applications/TextEditor/TextEditorWidget.cpp | 2 +- Base/res/icons/16x16/find-next.png | Bin 0 -> 443 bytes 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 Base/res/icons/16x16/find-next.png diff --git a/Applications/TextEditor/TextEditorWidget.cpp b/Applications/TextEditor/TextEditorWidget.cpp index 8e3f2201c2..f7b90a7b48 100644 --- a/Applications/TextEditor/TextEditorWidget.cpp +++ b/Applications/TextEditor/TextEditorWidget.cpp @@ -98,7 +98,7 @@ TextEditorWidget::TextEditorWidget() m_find_textbox = m_find_widget->add(); m_replace_textbox = m_replace_widget->add(); - m_find_next_action = GUI::Action::create("Find next", { Mod_Ctrl, Key_G }, [&](auto&) { + m_find_next_action = GUI::Action::create("Find next", { Mod_Ctrl, Key_G }, Gfx::Bitmap::load_from_file("/res/icons/16x16/find-next.png"), [&](auto&) { auto needle = m_find_textbox->text(); if (needle.is_empty()) { dbg() << "find_next(\"\")"; diff --git a/Base/res/icons/16x16/find-next.png b/Base/res/icons/16x16/find-next.png new file mode 100644 index 0000000000000000000000000000000000000000..d940dd728aae5b0cb1ef8c92e243d36721a8ad40 GIT binary patch literal 443 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4mJh`2Kmqb6B!s7*pj^6T^Rm@;DWu&Co?cG za29w(7Bet#3xhBt!>l`z!kMCCO)e*_(7U|{s{ba4!^I6ZaJZm(uX zf!6(dHCHw#DD>V~a^aZz2Ud~GPYiY51asQ;JPG=HvOD6&O%AR}Q6KKlO%@bN+VkgQ z$l){RX3pGv{G;rx4q4uU+r6QthtCK+`t)eg#Ej4jYi0=sAF=FDIpH!l`&G>4{jdIe z30-&WS~7*>p0cB!_$sa4CXX~@Pp0wpo zh;+Ve!|&MB923?Gcqv}5)Lh`A**fR+C!Wp6;sZ=qdl)|4d)Q}&vC3Mai*0$Xbzu4P<6qAC?X0tV zx}yBh<;TqDzi(f6anAm}OEndw%kg&q7>HE>s{Vl6` vW&S&q8-%RB`>^)orfUa2`{$T3*Dz)KuX6u;SMnYM0|SGntDnm{r-UW|s-3|| literal 0 HcmV?d00001