Commit graph

84281 commits

Author SHA1 Message Date
Charles Dang
1d9f57a668 Config: more structured bindings for attribute_range 2024-09-27 03:22:35 -04:00
Charles Dang
95c9f0c720
Config: use structured bindings with all_children_range (#9387) 2024-09-27 02:49:57 -04:00
Subhraman Sarkar
5913cfdf55 remove unnecessary std::ref(window) 2024-09-27 06:04:57 +05:30
Subhraman Sarkar
f5906d6224 remove find_widget.hpp 2024-09-27 06:04:57 +05:30
Subhraman Sarkar
298065e1bd remove window param from pre/post_show 2024-09-27 06:04:57 +05:30
Subhraman Sarkar
c7d9c0f5b0 find widget signature changes 2024-09-27 06:04:57 +05:30
Severin Glöckner
43e1d183e5 fix in German translation
[ci skip]
2024-09-26 02:28:04 +02:00
newfrenchy83
291e4bb0e5 update codeblock projectfiles 2024-09-24 14:39:39 +02:00
Soliton
2f8d471e80
Remove any_tag for a more useful schema validation 2024-09-24 08:58:11 +02:00
Subhraman Sarkar
32c528501f help browser: remove unnecessary lines
cleans up some print statements and comments out code
2024-09-24 12:23:03 +05:30
spixi
0e326894cb
Add missing [then] from 6f15150 2024-09-24 08:35:30 +02:00
Charles Dang
1261d88b15
Removed a bunch of unused GUI1 stuff (#9375)
Don't need these now that the GUI2 help browser is merged.
2024-09-23 23:54:47 -04:00
Celtic Minstrel
53cb294b4e Use unicode_cast instead of wstring_convert 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
ca7fad97c6 rich label: increase padding 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
1436f4f69b help topic generator: complete movement costs table 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
cfe4924b5e canvas: remove unnecessary variables and attr["name"] -> name 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
ee82b0ec10 rich label: refactor and framework for width shrinking 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
22677e57c7 wmlindent change 2024-09-23 19:49:44 -04:00
Celtic Minstrel
58ef02b74a Missed removing a col=2 from a table 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
aa3006c883 miscellaneous fixes 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
6ec5af83df update help pages and generators 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
db5ea45ffb improve inline image support and autocount table columns
tables columns are automatically counted and col key is removed
2024-09-23 19:49:44 -04:00
Subhraman Sarkar
a1dbcdc9f5 inline image text support
some extra y space is still getting added somewhere
2024-09-23 19:49:44 -04:00
Subhraman Sarkar
f611188cd4 help_impl.cpp cleanup 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
069a0c659d rich_label: move attributes to ctor 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
dc68d261ca improve nested formatting tag support 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
449689a37c more refactoring and rudimentary nested formatting tags 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
9e891fbd78 refactor: remove some global variables and simplify add_image 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
9c46869585 remove "jump" and table-specific "br" behavior 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
7fdf4848db updated help pages to use nested table tags 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
f1bc261c62 nested table tag improvements and global var removal 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
6a1de922bd nested table tag (preliminary)
new syntax:
<table><row><col>text</col>...</row><row>...</row>...</table>
2024-09-23 19:49:44 -04:00
Subhraman Sarkar
3c4dd9628b typo fix 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
beaba772cc tree view: stop scrollbar from jumping to top during layout 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
2adab6593a improve link calculation with non-zero padding 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
e1c87a24a8 rich_label: allow width key to be a wfl formula 2024-09-23 19:49:44 -04:00
Celtic Minstrel
570d358110 pango_text: apply scaling to size attribute runs 2024-09-23 19:49:44 -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
ae8d107c65 add default font size to canvas 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
5ec7bee190 enforce max text width and remove wrong <br/> 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
470c3da79c update editor help pages to new markup 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
518e733dd2 minor fixes 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
b46a04bc1f update markup in terrain editor pages 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
bbb728c927 fix whitespace 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
e6c36b914e update help markup in terrains page 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
5f32302c00 text renderer: update documentation of add_attribute methods 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
76780d1fb0 update help markup in faction descriptions 2024-09-23 19:49:44 -04:00
Celtic Minstrel
586fbec882 Update GUI2 schema to match existing implementation of text attributes 2024-09-23 19:49:44 -04:00
Celtic Minstrel
6eed9522e4 Rich label: Add fallback handling for unknown character entities 2024-09-23 19:49:44 -04:00