Commit Graph
25 Commits
Author SHA1 Message Date
Gleb Mazovetskiy 6b9a9faebc Fix hero dialog image
Regression introduced in https://github.com/diasurgical/devilutionX/commit/b536d0efa2df2d5c450e9ce2c65e530df56a6281

Fixes #318
2019-10-04 02:33:07 +02:00
Gleb Mazovetskiy b536d0efa2 DiabloUI: Handle logo like all the other elements
Adds the `animated` flag to `UiImage`, allowing us to
remove special handling for the logo.
2019-10-03 21:17:08 +02:00
Pyr0Byt3 e7e1ba96dc fix hero order 2019-10-03 08:24:22 +02:00
Gleb Mazovetskiy 458fbcef88 DiabloUI: Implement some dialogs
Partially addresses #303
2019-10-02 22:44:44 +02:00
Gleb Mazovetskiy 0710d1c425 DiabloUI: Rename UiButton to UiArtTextButton 2019-10-02 22:44:44 +02:00
Gleb Mazovetskiy e4ef58f73d DiabloUI: Add a scroll bar to hero selection
Has the same weird behaviour as the actual Diablo scrollbar but without
the subtle mouse interaction bugs.
2019-10-01 17:28:41 +02:00
Gleb Mazovetskiy 7573446763 Make hero selection list scrollable
No scrollbar yet, keyboard scrolling only
2019-09-30 09:53:28 +02:00
Gleb Mazovetskiy 37936c6d15 DiabloUI: Refactor UI_Item to tagged unions
Makes the code easier to understand.
Also makes building lists easier.

Also fixes focus indicator in SELLOAD_DIALOG (this type of bug is
impossible with the new structs).
2019-09-29 18:55:16 +02:00
Anders Jenbo 18532e7c9b Format SourceX and SourceS
Fixes #262
2019-09-26 01:28:27 +02:00
Gleb Mazovetskiy cf0f867ca0 DrawArt via SDL 2019-09-25 01:01:25 +02:00
Anders Jenbo 6207832d6e Update to latest upstream headers 2019-08-18 08:21:56 +02:00
Anders Jenbo 7b745e34a9 Enable delete key in hero menu 2019-07-21 22:50:56 +02:00
danellos 4c96cc8479 Only play sound if delete is enabled. 2019-07-21 22:50:56 +02:00
danellos d032094bed Made function names more consistent with Yes/No 2019-07-21 22:50:56 +02:00
danellos 89cef3f9c9 Note about NO selected by default; fixed a bug with Delete. 2019-07-21 22:50:56 +02:00
danellos 0f9fc228ce Full "Delete Hero" implementation 2019-07-21 22:50:56 +02:00
Xadhoom f00e427ed2 Remove pch.h 2019-03-17 18:28:37 +00:00
Xadhoom c1ba436e69 miniwin_misc.h macro-clean 2019-03-13 13:23:05 +00:00
Xadhoom 30fbfa36a1 Progress with miniwin macros 2019-03-11 23:48:35 +00:00
Xadhoom 5283a9ffd1 Put everything into namespace dvl 2019-03-11 20:10:23 +00:00
Anders Jenbo ddfa0a1337 Cast button functions to void explicitly 2019-03-08 03:48:03 +01:00
Anders Jenbo 76290b8e23 Implement password prompt 2019-02-27 03:29:42 +01:00
Anders Jenbo 40a2e16548 Fix crash when creating multiple games in one frame 2019-02-27 00:35:49 +01:00
Xadhoom 4d557709e0 Clean headers for network code 2019-02-24 10:46:16 +00:00
Xadhoom af47577446 Begin restructuring headers 2019-02-23 07:49:22 +00:00