diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-25 15:42:25 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-25 15:42:25 +0300 |
commit | 37d93f50a1e4c2c1d95246e2110c7bafb5ff5c89 (patch) | |
tree | 6c81b770211e38648b6f32d0802dc2042682b989 /src/ui | |
parent | 5bbf947aad0db5fb5fe6806751ab27c76e883527 (diff) |
Theme tuning
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/color.c | 4 | ||||
-rw-r--r-- | src/ui/documentwidget.c | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/ui/color.c b/src/ui/color.c index 221a7c2a..dcdc5788 100644 --- a/src/ui/color.c +++ b/src/ui/color.c | |||
@@ -196,7 +196,7 @@ void setThemePalette_Color(enum iColorTheme theme) { | |||
196 | copy_(uiAnnotation_ColorId, gray50_ColorId); | 196 | copy_(uiAnnotation_ColorId, gray50_ColorId); |
197 | copy_(uiIcon_ColorId, brown_ColorId); | 197 | copy_(uiIcon_ColorId, brown_ColorId); |
198 | copy_(uiIconHover_ColorId, brown_ColorId); | 198 | copy_(uiIconHover_ColorId, brown_ColorId); |
199 | copy_(uiSeparator_ColorId, gray25_ColorId); | 199 | copy_(uiSeparator_ColorId, gray50_ColorId); |
200 | copy_(uiMarked_ColorId, cyan_ColorId); | 200 | copy_(uiMarked_ColorId, cyan_ColorId); |
201 | copy_(uiMatching_ColorId, orange_ColorId); | 201 | copy_(uiMatching_ColorId, orange_ColorId); |
202 | break; | 202 | break; |
@@ -238,7 +238,7 @@ void setThemePalette_Color(enum iColorTheme theme) { | |||
238 | copy_(uiAnnotation_ColorId, gray50_ColorId); | 238 | copy_(uiAnnotation_ColorId, gray50_ColorId); |
239 | copy_(uiIcon_ColorId, brown_ColorId); | 239 | copy_(uiIcon_ColorId, brown_ColorId); |
240 | copy_(uiIconHover_ColorId, brown_ColorId); | 240 | copy_(uiIconHover_ColorId, brown_ColorId); |
241 | copy_(uiSeparator_ColorId, gray50_ColorId); | 241 | copy_(uiSeparator_ColorId, gray75_ColorId); |
242 | copy_(uiMarked_ColorId, cyan_ColorId); | 242 | copy_(uiMarked_ColorId, cyan_ColorId); |
243 | copy_(uiMatching_ColorId, orange_ColorId); | 243 | copy_(uiMatching_ColorId, orange_ColorId); |
244 | break; | 244 | break; |
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index ed6c2518..a36fe761 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -1267,14 +1267,15 @@ static iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e | |||
1267 | "scroll.page arg:%d", | 1267 | "scroll.page arg:%d", |
1268 | (key == SDLK_SPACE && mods & KMOD_SHIFT) || key == SDLK_PAGEUP ? -1 : +1); | 1268 | (key == SDLK_SPACE && mods & KMOD_SHIFT) || key == SDLK_PAGEUP ? -1 : +1); |
1269 | return iTrue; | 1269 | return iTrue; |
1270 | #if 0 | 1270 | #if 1 |
1271 | case SDLK_9: { | 1271 | case SDLK_KP_1: { |
1272 | iBlock *seed = new_Block(64); | 1272 | iBlock *seed = new_Block(64); |
1273 | for (size_t i = 0; i < 64; ++i) { | 1273 | for (size_t i = 0; i < 64; ++i) { |
1274 | setByte_Block(seed, i, iRandom(0, 255)); | 1274 | setByte_Block(seed, i, iRandom(0, 255)); |
1275 | } | 1275 | } |
1276 | setThemeSeed_GmDocument(d->doc, seed); | 1276 | setThemeSeed_GmDocument(d->doc, seed); |
1277 | delete_Block(seed); | 1277 | delete_Block(seed); |
1278 | invalidate_DocumentWidget_(d); | ||
1278 | refresh_Widget(w); | 1279 | refresh_Widget(w); |
1279 | break; | 1280 | break; |
1280 | } | 1281 | } |