From: Holger Schemel Date: Sun, 3 Jun 2018 20:40:05 +0000 (+0200) Subject: removed support for off-screen positions for request dialog buttons X-Git-Tag: 4.1.1.0~175 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=c710867ec795302b379a5cdf99cb4ad3ed2a9cdd removed support for off-screen positions for request dialog buttons --- diff --git a/src/tools.c b/src/tools.c index 87478255..fd588277 100644 --- a/src/tools.c +++ b/src/tools.c @@ -5326,8 +5326,8 @@ void CreateToolButtons() gi = CreateGadget(GDI_CUSTOM_ID, id, GDI_INFO_TEXT, toolbutton_info[i].infotext, - GDI_X, dx + GDI_ACTIVE_POS(pos->x), - GDI_Y, dy + GDI_ACTIVE_POS(pos->y), + GDI_X, dx + pos->x, + GDI_Y, dy + pos->y, GDI_WIDTH, gfx->width, GDI_HEIGHT, gfx->height, GDI_TYPE, GD_TYPE_NORMAL_BUTTON,