Ticket #9000: MessagePatch.patch

File MessagePatch.patch, 785 bytes (added by SF/nerd_boy, 15 years ago)

MessageDialog Patch

  • message.cpp

     
    8989        }
    9090
    9191        if (defaultButton)
    92                 new ButtonWidget(this, okButtonPos, _h - buttonHeight - 8, buttonWidth, buttonHeight, defaultButton, kOkCmd, Common::ASCII_RETURN);     // Confirm dialog
     92                //PATCH HACK: Default button is now more obvious.
     93                //            Haven't tested this, though.
     94                new ButtonWidget(this, okButtonPos, _h - buttonHeight - 8, buttonWidth+4, buttonHeight+4, defaultButton, kOkCmd, Common::ASCII_RETURN); // Confirm dialog
    9395
    9496        if (altButton)
    9597                new ButtonWidget(this, cancelButtonPos, _h - buttonHeight - 8, buttonWidth, buttonHeight, altButton, kCancelCmd, Common::ASCII_ESCAPE); // Cancel dialog