diff options
-rw-r--r-- | src/defs.h | 2 | ||||
-rw-r--r-- | src/ui/color.c | 5 | ||||
-rw-r--r-- | src/ui/documentwidget.c | 2 | ||||
-rw-r--r-- | src/ui/sidebarwidget.c | 4 |
4 files changed, 7 insertions, 6 deletions
@@ -158,7 +158,7 @@ iLocalDef int acceptKeyMod_ReturnKeyBehavior(int behavior) { | |||
158 | #define undo_Icon "\u23ea" | 158 | #define undo_Icon "\u23ea" |
159 | #define select_Icon "\u2b1a" | 159 | #define select_Icon "\u2b1a" |
160 | #define downAngle_Icon "\ufe40" | 160 | #define downAngle_Icon "\ufe40" |
161 | #define photo_Icon "\U0001f5bb" | 161 | #define photo_Icon "\U0001f5bc" |
162 | 162 | ||
163 | #if defined (iPlatformApple) | 163 | #if defined (iPlatformApple) |
164 | # define shift_Icon "\u21e7" | 164 | # define shift_Icon "\u21e7" |
diff --git a/src/ui/color.c b/src/ui/color.c index 072c4b3f..9da49531 100644 --- a/src/ui/color.c +++ b/src/ui/color.c | |||
@@ -122,7 +122,8 @@ void setThemePalette_Color(enum iColorTheme theme) { | |||
122 | copy_(uiInputBackground_ColorId, black_ColorId); | 122 | copy_(uiInputBackground_ColorId, black_ColorId); |
123 | copy_(uiInputBackgroundFocused_ColorId, black_ColorId); | 123 | copy_(uiInputBackgroundFocused_ColorId, black_ColorId); |
124 | copy_(uiInputText_ColorId, gray75_ColorId); | 124 | copy_(uiInputText_ColorId, gray75_ColorId); |
125 | copy_(uiInputTextFocused_ColorId, white_ColorId); | 125 | set_Color(uiInputTextFocused_ColorId, mix_Color(get_Color(white_ColorId), |
126 | get_Color(accentHi), 0.15f)); | ||
126 | copy_(uiInputFrame_ColorId, gray25_ColorId); | 127 | copy_(uiInputFrame_ColorId, gray25_ColorId); |
127 | copy_(uiInputFrameHover_ColorId, accentHi); | 128 | copy_(uiInputFrameHover_ColorId, accentHi); |
128 | copy_(uiInputFrameFocused_ColorId, accentLo); | 129 | copy_(uiInputFrameFocused_ColorId, accentLo); |
@@ -175,7 +176,7 @@ void setThemePalette_Color(enum iColorTheme theme) { | |||
175 | copy_(uiInputText_ColorId, gray75_ColorId); | 176 | copy_(uiInputText_ColorId, gray75_ColorId); |
176 | //copy_(uiInputTextFocused_ColorId, white_ColorId); | 177 | //copy_(uiInputTextFocused_ColorId, white_ColorId); |
177 | set_Color(uiInputTextFocused_ColorId, mix_Color(get_Color(white_ColorId), | 178 | set_Color(uiInputTextFocused_ColorId, mix_Color(get_Color(white_ColorId), |
178 | get_Color(altAccentHi), 0.15f)); | 179 | get_Color(accentHi), 0.15f)); |
179 | copy_(uiInputFrame_ColorId, uiInputBackground_ColorId); | 180 | copy_(uiInputFrame_ColorId, uiInputBackground_ColorId); |
180 | copy_(uiInputFrameHover_ColorId, accentHi); | 181 | copy_(uiInputFrameHover_ColorId, accentHi); |
181 | copy_(uiInputFrameFocused_ColorId, accentLo); | 182 | copy_(uiInputFrameFocused_ColorId, accentLo); |
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 5c1e473f..5f7fcd8e 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -4413,7 +4413,7 @@ static void drawRun_DrawContext_(void *context, const iGmRun *run) { | |||
4413 | ? escape_Color(fg) | 4413 | ? escape_Color(fg) |
4414 | : escape_Color(linkColor_GmDocument(doc, run->linkId, domain_GmLinkPart)), | 4414 | : escape_Color(linkColor_GmDocument(doc, run->linkId, domain_GmLinkPart)), |
4415 | showImage || showAudio | 4415 | showImage || showAudio |
4416 | ? format_CStr(showImage ? " %s \U0001f5bb" : " %s \U0001f3b5", | 4416 | ? format_CStr(showImage ? " %s " photo_Icon : " %s \U0001f3b5", |
4417 | cstr_Lang(showImage ? "link.hint.image" : "link.hint.audio")) | 4417 | cstr_Lang(showImage ? "link.hint.image" : "link.hint.audio")) |
4418 | : ""); | 4418 | : ""); |
4419 | } | 4419 | } |
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c index 3018f16d..72205912 100644 --- a/src/ui/sidebarwidget.c +++ b/src/ui/sidebarwidget.c | |||
@@ -447,9 +447,9 @@ static void updateItems_SidebarWidget_(iSidebarWidget *d) { | |||
447 | { delete_Icon " " uiTextCaution_ColorEscape "${bookmark.delete}", 0, 0, "bookmark.delete" }, | 447 | { delete_Icon " " uiTextCaution_ColorEscape "${bookmark.delete}", 0, 0, "bookmark.delete" }, |
448 | { "---", 0, 0, NULL }, | 448 | { "---", 0, 0, NULL }, |
449 | { add_Icon " ${menu.newfolder}", 0, 0, "bookmark.addfolder" }, | 449 | { add_Icon " ${menu.newfolder}", 0, 0, "bookmark.addfolder" }, |
450 | { reload_Icon " ${bookmarks.reload}", 0, 0, "bookmarks.reload.remote" }, | 450 | { upDownArrow_Icon " ${menu.sort.alpha}", 0, 0, "bookmark.sortfolder" }, |
451 | { "---", 0, 0, NULL }, | 451 | { "---", 0, 0, NULL }, |
452 | { upDownArrow_Icon " ${menu.sort.alpha}", 0, 0, "bookmark.sortfolder" } }, | 452 | { reload_Icon " ${bookmarks.reload}", 0, 0, "bookmarks.reload.remote" } }, |
453 | 17); | 453 | 17); |
454 | break; | 454 | break; |
455 | } | 455 | } |