Gutawer
44d134298a
- add support for not localizing some text functions, and modify menu text fields to use this
2023-09-14 23:24:42 +02:00
Ricardo Luís Vaz Silva
d0a955fef0
Allow disabling colors for NameAllKeys
2023-09-01 18:25:22 +02:00
makise-homura
357d846b7a
Allow custom MessageBox menu selector
...
GZDoom used to have hardcoded MessageBox menu selector, 0x0d character
of console font, while the other menu is displayed is SmallFont.
It looked too ugly if SmallFont and ConFont heights are different,
and also there was no method of modifying the selector.
Now, the selector is 0x0d from SmallFont, if SmallFont contains this glyph
(its height is greater than zero), otherwise it falls back to previous
behavior (using ConFont as a source of this glyph).
To define custom MessageBox menu selector, just define 0x0d glyph for
SmallFont, and it will be displayed in the menu.
The gap between selector and menu options text is 3 pixels (as before), and
if you wish to enlarge this gap, just add some transparent columns at the
right side of 0x0d glyph.
2023-08-02 00:37:33 -04:00
Ricardo Luís Vaz Silva
0192392256
Individual Joystick Enable/Disable Toggles
2023-08-02 00:37:24 -04:00
Christoph Oelckers
1e5e65546d
Revert "- add support for not localizing some text functions, and modify menu text fields to use this"
...
This reverts commit 91d3c4b606
.
This completely breaks the menus, so it needs to go.
2022-12-04 08:13:04 +01:00
Gutawer
91d3c4b606
- add support for not localizing some text functions, and modify menu text fields to use this
2022-12-03 23:30:38 +01:00
Ricardo Luís Vaz Silva
58a64e4f5d
Remove leftover variable in CustomMessageBox
2022-11-25 00:39:35 +01:00
Boondorl
f322792783
Added animation support for OptionMenus
...
Adds Animated and AnimatedTransition MENUDEF instructions for OptionMenus. Added DontDim and DontBlur MENUDEF instructions for all menus.
2022-11-25 00:39:05 +01:00
Ricardo Luís Vaz Silva
0f7e7744b0
CustomMessageBox Formatting
2022-11-18 07:42:45 +01:00
Ricardo Luís Vaz Silva
724b89bb1d
CustomMessageBox
2022-11-18 07:42:45 +01:00
Christoph Oelckers
3563c99ead
- made adjustments for proper int type promotion to allow internal ZScript to compile with it on.
...
* Emit a warning when relational comparisons are made between signed and unsigned ints.
* Handle shift operators so that they do not fail for constant definitions.
* changed return type of Array::Size() to signed int as most code out there is using it this way and would otherwise drown in warnings.
* fixed a few deprecation warnings.
2022-08-03 10:26:29 +02:00
Alexander Kromm
46d9564507
localize "Unknown" option menu string
2022-07-30 17:54:19 +02:00
Christoph Oelckers
c62e14d2c1
- Backend update from Raze
...
Mostly cleanup and better separation of game/backend concerns.
2022-06-06 12:09:29 +02:00
Alexander Kromm
ea007f56f2
fix scrolling when selecting item by key
2022-06-02 19:49:39 +02:00
Alexander Kromm
5cced2721a
scroll if item selected by menu shortcut is out of screen
2022-05-31 10:00:56 +02:00
Alexander Kromm
38fcfa5ba9
get rid of unnecessary string conversions in option menu shortcuts
2022-05-31 10:00:56 +02:00
Alexander Kromm
7eb12fa9fb
implement jumps in option menus
...
Enables shortcuts for option menus. Press a key to immediately jump to the next
option menu entry which starts with this key. Hold Alt to jump backwards.
Compatible with localized menus (checked on Russian).
2022-05-31 10:00:56 +02:00
Christoph Oelckers
a491085822
- added missing range check for scrolling down an option menu with the mouse wheel.
2022-04-18 00:09:38 +02:00
Christoph Oelckers
fc2818b195
- menu system update from Raze for better control of animated menus.
2021-09-18 12:19:35 +02:00
Christoph Oelckers
78566c0d52
- replaces "BS" and "ED" on the on-screen keyboards with the symbols normally found on the keyboard for these actions.
2021-09-09 14:00:00 +02:00
Alexander Kromm
3102640210
fix options search when menus are defined recursively
2021-09-03 19:40:55 +02:00
Christoph Oelckers
99c66071fb
- use original menu spacing for skill and episode menus if all elements are patches.
2021-08-10 21:08:26 +02:00
Christoph Oelckers
8a4fa8b65f
- backend update from Raze.
2021-05-17 20:44:19 +02:00
Christoph Oelckers
f4143f7624
- added a few missing statusbar constants-
2021-05-17 12:07:10 +02:00
Christoph Oelckers
52554dc32c
- Backend update fron Raze, mainly new script exports and extensions.
2021-05-03 14:13:03 +02:00
nashmuhandes
afd7b2e954
Allow settable render styles for status bar drawing functions DrawTexture, DrawImage and DrawString
2021-04-26 23:04:39 +02:00
nashmuhandes
c12a671b3e
Made OptionMenuSliderBase::IsGrayed virtual
2021-04-26 23:02:35 +02:00
Christoph Oelckers
04329981ec
- added missing argument to the status bar's DrawString function.
2020-12-11 11:10:15 +01:00
Rachael Alexanderson
a2b8ad79ed
- implement slider background color change - https://forum.zdoom.org/viewtopic.php?f=15&t=70616
2020-11-17 11:29:39 -05:00
Christoph Oelckers
e6c96bcb75
- move VM exports to the proper class.
2020-10-31 12:24:14 +01:00
Christoph Oelckers
be5d25a7b1
- moved all shareable script sources to their own folder in gzdoom.pk3.
2020-10-31 12:24:13 +01:00