Commit graph

25 commits

Author SHA1 Message Date
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