pentarctagon
893b31e769
return pbl author attribute to its original usage
...
and use the new primary_authors attribute instead
Fixes #9547
2024-12-14 18:49:32 -06:00
Charles Dang
10b640c0f2
GUI2/Listbox: refactor initialization process
...
Used work by @babaissarkar in #9630 as a base. We're finally using [instance] for something!
2024-12-08 23:04:43 -05:00
Yoruma
dcbe883699
Fix exception when opening MP a second time at low resolution ( #9622 )
2024-12-06 14:41:14 -06:00
Subhraman Sarkar
2477618306
rich label: support specifying text color, font and style in resolution
...
This allows the rich_label definitions in rich_label_default to work.
2024-11-28 23:04:05 +05:30
Subhraman Sarkar
b2af5d8488
campaign selection: also open add-ons manager when double clicked
...
previously, double-clicking on the More Campaigns entry opened the tutorial, instead of the Add-ons manager as expected.
2024-11-11 19:43:00 +05:30
Charles Dang
b859060627
Add new refresh_rate pref to better handle --max-fps
...
The pre-processing for --max-fps was basically identical to what draw_manager::get_frame_length does.
This replaces the draw_delay preference with a new refresh_rate preference that more accurately describes
what is being set. video::current_refresh_rate will now take this preference into account, meaning the
build info report will correctly report player-set FPS limits.
The Limit FPS option in the prefs UI was also removed. When it was first introduced (cca79afe4b
)
it specifically affected the map rendering code, not the rendering pipeline as a whole. With the 1.17
rendering refactor, this is no longer the case, and so its current usage as the lower bound for frametime
calculations did nothing (all it did was change the lower bound from 0 to -1 when enabled).
It might be worth adding a slider to the UI to dynamically set max fps, but that's a separate change.
2024-11-07 11:10:13 -05:00
Subhraman Sarkar
e0e8b37880
help browser: add toggle for showing/hiding contents in 800x600
2024-10-30 13:28:58 -04:00
Subhraman Sarkar
c284a080e3
campaign selection: opening add-ons manager entry
2024-10-22 19:59:55 -04:00
Subhraman Sarkar
af155b0cea
about dialog: add entry for game manual
2024-10-18 00:41:49 -04:00
Wedge009
ca8a0aede8
Typography update. Closes #8000 .
...
[ci skip]
2024-10-06 09:13:10 +11:00
Charles Dang
eccce783a9
GUI2/Help Browser: layout improvements
2024-10-04 20:26:23 -04:00
Subhraman Sarkar
0b4611abb4
Fix scrollbar bug when not initialized with text, add link click sound
2024-09-23 19:49:44 -04:00
Subhraman Sarkar
8ab6d2458a
help browser: fix weird spacing and alignment issue in treeview
...
thanks to Vultraz for helping with the fix
2024-09-23 19:49:44 -04:00
Subhraman Sarkar
72f1f0007c
new definitions for label and new font size macros
2024-09-23 19:49:44 -04:00
Subhraman Sarkar
78ca6f50a9
help browser changes
...
1. back/forward button functionality
2. some ui adjustments
3. use rich_label
2024-09-23 19:49:44 -04:00
Subhraman Sarkar
f318ac0d11
various rich_label bugfixes
2024-09-23 19:49:44 -04:00
Charles Dang
1b20d04d07
Help Browser: removed help topic padding
2024-09-23 19:49:44 -04:00
Charles Dang
b3babea922
Help Browser: fixup topic title layout
2024-09-23 19:49:44 -04:00
Celtic Minstrel
ada7b50403
Help Browser: Show topic title
2024-09-23 19:49:44 -04:00
Charles Dang
6144b5e778
Help Browser: properly implement toggling by clicking the book icons
2024-09-23 19:49:44 -04:00
Charles Dang
28dd0f8a68
Help Browser: implemented viewing of sub-sections/topics
2024-09-23 19:49:44 -04:00
Charles Dang
b6079891a8
Help Browser: improved layout stability and added next/back buttons (non-functional, of course)
2024-09-23 19:49:44 -04:00
Celtic Minstrel
38bfb1838a
Help Browser: Actually show the correct topics with the correct icons
...
This also fixes the lag when opening help and makes the topic text appear.
(The topic text is not parsed at the moment, though.)
2024-09-23 19:49:44 -04:00
Subhraman Sarkar
355ed849ee
scroll_text: make components look more integrated
2024-09-18 23:01:46 -04:00
Subhraman Sarkar
54535fca3b
scroll_text: markup and link awareness support
...
support for copying and partial editing only.
this does not make multiline_text a rich text editor.
2024-09-18 23:01:46 -04:00
Subhraman Sarkar
6023eb338c
chatbox: use scroll_text so text can be copied
2024-09-18 23:01:46 -04:00
Charles Dang
1011c0f58a
GUI2/Tab Container: clean up unnecessary grid
2024-09-18 20:13:32 -04:00
Charles Dang
3b07a7c76e
MP/Method Selection: new design
2024-09-18 19:42:45 -04:00
Charles Dang
fc1409e2d1
MP/Staging, Join Game: improve sidebar layout
2024-09-18 16:09:07 -04:00
Subhraman Sarkar
14732806c9
Preferences: move the Apply button and disable it unless needed
...
this also makes it obvious that the Apply button is used only for UI theme selection, and is not a global Apply button
2024-09-11 15:07:49 -04:00
Charles Dang
e814a48f40
GUI2/File Dialog: clean up definition
2024-09-09 09:09:22 -04:00
Subhraman Sarkar
adef779ed9
unit type editor: various ui improvements and bugfixes
...
1. race/alignment/attack damage type/attack range show corresponding icons
2. attack damage type/range now use comboboxes for custom dmg types/ranges
3. quit confirmation added to cancel button so that user doesn't accidentally lose their data
2024-09-06 09:02:05 +05:30
Subhraman Sarkar
6980ad04d6
gamestate inspector: use uneditable scroll_text instead of scroll_label
...
allows text to be selected and copied
2024-08-14 12:03:39 +05:30
Charles Dang
44db56d767
MP/Staging, Join Game: fixed some alignment and formatting issues
2024-08-11 17:00:21 -04:00
Subhraman Sarkar
64caa4acda
Allow quick reload of gui2 themes ( #9117 )
...
* New "Apply" button in preferences dialog that is used to quickly apply the GUI2 theme, no restart needed.
* gui initialization reorganized a bit. gui2::init() now responsible for reading themes from file only. Actual theme switching and activation done by gui2::switch_theme(). preferences dependency removed from gui and moved to caller of gui2::init(). gui2 tests updated accordingly.
2024-07-30 07:59:54 +05:30
Subhraman Sarkar
2660c0e086
new ui theme: modern (titlescreen only atm)
...
Design idea and concept art: Dalas
Implementation: babaissarkar
Co-authored-by: Dalas121 <33790750+Dalas121@users.noreply.github.com>
2024-07-16 13:07:57 +05:30