diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-10 14:13:52 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-10 14:13:52 +0200 |
commit | 199e99d120086af2e782ca994a3df080401e33de (patch) | |
tree | 0b8ce2d9906996e83c9f5c952556c0171189a5bd /src/ui/touch.c | |
parent | 388a9e4e9266b0514503f3fc2aaf9e216ab86da9 (diff) |
Mobile: Styling for regular dialogs
Diffstat (limited to 'src/ui/touch.c')
-rw-r--r-- | src/ui/touch.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/touch.c b/src/ui/touch.c index a55d370d..ea7b6648 100644 --- a/src/ui/touch.c +++ b/src/ui/touch.c | |||
@@ -323,10 +323,10 @@ iBool processEvent_Touch(const SDL_Event *ev) { | |||
323 | } | 323 | } |
324 | /* TODO: We must retain a reference to the affinity widget, or otherwise it might | 324 | /* TODO: We must retain a reference to the affinity widget, or otherwise it might |
325 | be destroyed during the gesture. */ | 325 | be destroyed during the gesture. */ |
326 | printf("aff:[%p] %s:'%s'\n", aff, aff ? class_Widget(aff)->name : "-", | 326 | // printf("aff:[%p] %s:'%s'\n", aff, aff ? class_Widget(aff)->name : "-", |
327 | cstr_String(id_Widget(aff))); | 327 | // cstr_String(id_Widget(aff))); |
328 | printf("drg:[%p] %s:'%s'\n", dragging, dragging ? class_Widget(dragging)->name : "-", | 328 | // printf("drg:[%p] %s:'%s'\n", dragging, dragging ? class_Widget(dragging)->name : "-", |
329 | cstr_String(id_Widget(dragging))); | 329 | // cstr_String(id_Widget(dragging))); |
330 | if (flags_Widget(aff) & touchDrag_WidgetFlag) { | 330 | if (flags_Widget(aff) & touchDrag_WidgetFlag) { |
331 | dispatchEvent_Widget(window->root, (SDL_Event *) &(SDL_MouseButtonEvent){ | 331 | dispatchEvent_Widget(window->root, (SDL_Event *) &(SDL_MouseButtonEvent){ |
332 | .type = SDL_MOUSEBUTTONDOWN, | 332 | .type = SDL_MOUSEBUTTONDOWN, |