Gleb Mazovetskiy
1519e995cf
Move store graphics out of stores.cpp
...
These graphics are used in various places outside of `stores.cpp`.
2022-01-30 14:56:04 +01:00
Felipe Wannmacher
6e32bf9794
changed spell circle ui ( #3963 )
2022-01-19 02:34:04 +01:00
Gleb Mazovetskiy
ccf8cc004d
Spell book: Fix "Level 0 - Unusable" overlap
...
Removes the display of mana and damage for unusable spells
and moves the "Unusable" text onto the second line, fixing
the overlap.
2021-12-26 09:35:22 +00:00
obligaron
419fe7b7ec
Change Keymapper to OptionCategory/OptionEntry
2021-12-23 00:26:12 +01:00
Gleb Mazovetskiy
bffd0d9521
Char panel layout improvements
...
1. Increase line height for CJK labels (10->18) to prevent overlap.
2. Increase label width in the right column by 1px (67->68), allowing 3 fullwidth characters to fit on one line.
3. Adjust Base/Now/Gold attribute header positions for CJK.
4. Fix field label/value alignment.
2021-11-27 15:11:52 +01:00
Gleb Mazovetskiy
c57644970f
Move UiFlags and UiPanels into their own files
...
The first breaks circular dependency between `DiabloUI` and `text_render`.
The latter one moves `UiPanels` to a more appropriate place.
2021-11-25 12:22:27 +01:00
Gleb Mazovetskiy
db7c9d08f5
Move DoSpeedBook to the right header
2021-11-25 02:15:41 +00:00
Gleb Mazovetskiy
7e1fea6f76
clang-format all files in {Source,test}/
...
Also includes a few manual tweaks to comments and newlines for better results.
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
2021-11-24 23:44:12 +01:00
Vladimir Olteanu
210ea7d18d
Always draw spell hotkey in town
2021-11-24 09:37:00 +01:00
Vladimir Olteanu
14eae23441
Spell list: always draw hotkeys
...
Co-authored-by: Gleb Mazovetskiy <glex.spb@gmail.com>
2021-11-24 00:21:26 +01:00
Gleb Mazovetskiy
8d1708358f
Extract spell list and book into separate files
...
Moves the spell list/book UI from `control.cpp` code into separate files.
2021-11-23 21:38:06 +00:00
qndel
8f0f83c70c
fix damage spacing
2021-10-21 21:59:55 +02:00
Gleb Mazovetskiy
0c694edaba
WordWrapString: Wrap on punctuation
...
Useful for Chinese and Japanese, which do not have spaces between words,
nor whitespace after punctuation.
2021-09-30 18:16:31 +02:00
Anders Jenbo
704a04ae4d
Add support for Unicode fonts
2021-09-24 03:03:58 +02:00
qndel
0569dba547
fix typos
2021-09-19 10:14:06 +01:00
Anders Jenbo
7771a08d03
Translatable mainpanel
2021-09-19 07:21:52 +02:00
Anders Jenbo
4bf58b3795
Leave default spacing default
2021-09-19 07:21:52 +02:00
Juliano Leal Goncalves
379a27b64a
♻️ Convert 'ItemType' enum to enum class
...
🎨 Rename 'ItemType' elements to enum class standards
2021-09-13 00:25:49 +02:00
Anders Jenbo
2d47c12515
Fix charpanel always showing player 0 stats
2021-09-12 01:37:28 +02:00
Anders Jenbo
7169882b1f
✨ Implement new font rendering
2021-09-12 01:37:28 +02:00
qndel
60e27e2427
Merge pull request #2759 from qndel/fix_panel
...
fix panel at higher resolutions
2021-08-30 21:23:37 +02:00
qndel
a737d72dd9
Dynamic char panel
2021-08-30 20:33:55 +02:00