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/documentwidget.c | |
parent | 5bbf947aad0db5fb5fe6806751ab27c76e883527 (diff) |
Theme tuning
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r-- | src/ui/documentwidget.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 | } |