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>
This commit is contained in:
parent
99d66cc893
commit
2660c0e086
199 changed files with 1128 additions and 11 deletions
|
@ -16993,6 +16993,15 @@ Date,File,License,Author - Real Name(other name);Real Name(other name);etc,Notes
|
|||
2013/05/17,images/buttons/button_normal/button_small_H22-pressed@2x.png,GNU GPL v2+,Emilien Rotival(LordBob),,,47689181fd4f3f7e733e4f7a4d6c95fb
|
||||
2013/05/17,images/buttons/button_normal/button_small_H22.png,GNU GPL v2+,Emilien Rotival(LordBob),,,c794bef4e09c7f01d181dff135c55fe4
|
||||
2013/05/17,images/buttons/button_normal/button_small_H22@2x.png,GNU GPL v2+,Emilien Rotival(LordBob),,,7bb3ca8f7e4a5a863ce6ad1bff2605c3
|
||||
2024/07/13,images/buttons/button_normal/modern/background-active.png,GNU GPL v2+,Subhraman Sarkar(babaissarkar);(dalas),,,591b2551741331c3696c17123999100a
|
||||
2024/07/13,images/buttons/button_normal/modern/background-pressed.png,GNU GPL v2+,Subhraman Sarkar(babaissarkar);(dalas),,,892f90d26ed4541686a03fafe2fdf714
|
||||
2024/07/13,images/buttons/button_normal/modern/background.png,GNU GPL v2+,Subhraman Sarkar(babaissarkar);(dalas),,,a9937126cce7b0cfd2481cb7ed5bc105
|
||||
2024/07/13,images/buttons/button_normal/modern/background_title_big-active.png,GNU GPL v2+,Subhraman Sarkar(babaissarkar);(dalas),,,021a20629fc2578cb9798034fa714731
|
||||
2024/07/13,images/buttons/button_normal/modern/background_title_big-pressed.png,GNU GPL v2+,Subhraman Sarkar(babaissarkar);(dalas),,,5d077afb56a43a63db4981b6aba65e56
|
||||
2024/07/13,images/buttons/button_normal/modern/background_title_big.png,GNU GPL v2+,Subhraman Sarkar(babaissarkar);(dalas),,,5d077afb56a43a63db4981b6aba65e56
|
||||
2024/07/13,images/buttons/button_normal/modern/background_title_small-active.png,GNU GPL v2+,Subhraman Sarkar(babaissarkar);(dalas),,,3ad7944eceb065e5fadf7241e6c03786
|
||||
2024/07/13,images/buttons/button_normal/modern/background_title_small-pressed.png,GNU GPL v2+,Subhraman Sarkar(babaissarkar);(dalas),,,42f689dd0e4699bf8cd324846479af6a
|
||||
2024/07/13,images/buttons/button_normal/modern/background_title_small.png,GNU GPL v2+,Subhraman Sarkar(babaissarkar);(dalas),,,b9a34c1a345abaf42a007439fbf33172
|
||||
2013/05/14,images/buttons/button_selectable/button_selectable_38_base-active.png,GNU GPL v2+,Emilien Rotival(LordBob),,,082cc491028b64df1b9e8aeb7f5d13ae
|
||||
2013/05/14,images/buttons/button_selectable/button_selectable_38_base-touched.png,GNU GPL v2+,Emilien Rotival(LordBob),,,1006287bd5521e72a4c643255b7318a8
|
||||
2013/05/14,images/buttons/button_selectable/button_selectable_38_base.png,GNU GPL v2+,Emilien Rotival(LordBob),,,6f4bd21acf32362fc3a074dc8a2c8075
|
||||
|
@ -17660,6 +17669,10 @@ Date,File,License,Author - Real Name(other name);Real Name(other name);etc,Notes
|
|||
2019/01/01,images/icons/action/minimap-unit-coding_25-active.png,GNU GPL v2+,Emilien Rotival(LordBob),,,173270e6c54aecc1b86e7514143cb0de
|
||||
2019/01/01,images/icons/action/minimap-unit-coding_25-pressed.png,GNU GPL v2+,Emilien Rotival(LordBob),,,701feabbf38bad11dc858f429f9bbfb9
|
||||
2019/01/01,images/icons/action/minimap-unit-coding_25.png,GNU GPL v2+,Emilien Rotival(LordBob),,,91cf99d6118760f78ee3a1f6034659a1
|
||||
2024/07/13,images/icons/action/modern/about_25-active.png,GNU GPL v2+,Subhraman Sarkar(babaissarkar),,,f0090d10dd17579da3966a12f463d356
|
||||
2024/07/13,images/icons/action/modern/about_25.png,GNU GPL v2+,Subhraman Sarkar(babaissarkar),,,d5f7698c9b6c990b262cd92cfa1cdf36
|
||||
2024/07/13,images/icons/action/modern/language_25-active.png,GNU GPL v2+,Subhraman Sarkar(babaissarkar),,,d39f51bd445102f97de08abaf4f50b32
|
||||
2024/07/13,images/icons/action/modern/language_25.png,GNU GPL v2+,Subhraman Sarkar(babaissarkar),,,124d308ddf124515d8b8242fa4d53d86
|
||||
2013/05/26,images/icons/action/ornate_add_25-active.png,GNU GPL v2+,Emilien Rotival(LordBob),,,516966bf8bfdcb266c21f08830532010
|
||||
2013/05/26,images/icons/action/ornate_add_25-pressed.png,GNU GPL v2+,Emilien Rotival(LordBob),,,781288334bf7da443bef01412dcf2bdc
|
||||
2013/05/26,images/icons/action/ornate_add_25.png,GNU GPL v2+,Emilien Rotival(LordBob),,,b883966301627ddc2a68d413eb4a5714
|
||||
|
@ -18420,6 +18433,7 @@ Date,File,License,Author - Real Name(other name);Real Name(other name);etc,Notes
|
|||
2013/12/15,images/misc/visibility.png,GNU GPL v2+,David Mikos(Coffee),,,fc78d962e963a51d1f93497f6e57efbe
|
||||
2011/03/27,images/misc/waypoint.png,GNU GPL v2+,Ali El Gariani(alink),,,34b175fd129ef43745863b35c9fe2459
|
||||
2011/03/11,images/misc/zoc.png,GNU GPL v2+,Ali El Gariani(alink),,,2472e188b7d06ede0c786b879219d88a
|
||||
2024/06/22,images/panels/background-title.png,GNU GPL v2+,Subhraman Sarkar(babaissarkar);(dalas),,,6a54941653de5561d3265a17fc964075
|
||||
2011/03/11,images/tools/magenta_team_color_palette.png,GNU GPL v2+,Lari Nieminen(zookeeper),,,b75f8b7142eb32da4ae1e42176b0d4e1
|
||||
2011/03/11,images/whiteboard/attack-indicator-dst-n.png,GNU GPL v2+,Ali El Gariani(alink);J.W. Bjerk(Eleazar),,,2772b0ad54467c0fb5fcac99025b4e12
|
||||
2011/03/11,images/whiteboard/attack-indicator-dst-ne.png,GNU GPL v2+,Ali El Gariani(alink);J.W. Bjerk(Eleazar),,,8fbc593ffa1fca5113d46a83c6e79ffe
|
||||
|
|
Can't render this file because it is too large.
|
|
@ -61,8 +61,7 @@
|
|||
[/colors]
|
||||
|
||||
[images]
|
||||
game_title="maps/titlescreen.webp"
|
||||
game_title_background="maps/background.webp"
|
||||
game_title_background="data/campaigns/The_Rise_Of_Wesnoth/images/story/trow_story_15-A_New_Land.webp,data/campaigns/The_Rise_Of_Wesnoth/images/story/trow_intro_01.webp,data/campaigns/The_Rise_Of_Wesnoth/images/story/trow_story_03-A_Harrowing_Escape.webp,data/campaigns/The_Rise_Of_Wesnoth/images/story/trow_intro_03.webp"
|
||||
game_logo="misc/logo.png"
|
||||
game_logo_background="misc/logo-bg.png"
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
# This is the main config file for the GUI definitions
|
||||
# Currently it just includes the default GUI.
|
||||
# However, perhaps in the future it may include additional GUI theme definitions.
|
||||
# Include the files containing [gui] tags here.
|
||||
|
||||
{./default.cfg}
|
||||
# Default Theme, Wesnoth Classic
|
||||
{./themes/default/default.cfg}
|
||||
|
||||
# Wesnoth Modern
|
||||
{./themes/modern/modern.cfg}
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
{tips.cfg}
|
||||
|
||||
{gui/macros/}
|
||||
{gui/widget/}
|
||||
{gui/window/}
|
||||
{gui/themes/default/widget/}
|
||||
{gui/themes/default/window/}
|
||||
|
||||
# For tab sheets we need two kinds
|
||||
# - 1 where we're a filter eg every irc chan looks the same
|
|
@ -21,6 +21,22 @@
|
|||
[/text]
|
||||
#enddef
|
||||
|
||||
#define _GUI_BUTTON_TEXT_TITLE FONT_SIZE FONT_STYLE FONT_COLOR
|
||||
[text]
|
||||
x = {GUI__TEXT_HORIZONTALLY_CENTRED}
|
||||
y = "(max((height - text_height) / 2, 0))"
|
||||
w = "(text_width)"
|
||||
h = "(text_height)"
|
||||
font_family = script
|
||||
font_size = {FONT_SIZE}
|
||||
font_style = {FONT_STYLE}
|
||||
color = {FONT_COLOR}
|
||||
text = "(text)"
|
||||
text_markup = "(text_markup)"
|
||||
outline = yes
|
||||
[/text]
|
||||
#enddef
|
||||
|
||||
#define _GUI_STATE BACKGROUND_IMAGE BORDER_COLOR BORDER_COLOR_DARK HIGHLIGHT_LINE_COLOR IPF
|
||||
{GUI__BUTTON_NORMAL_FRAME buttons/button_normal/{BACKGROUND_IMAGE}
|
||||
({BORDER_COLOR})
|
|
@ -7,6 +7,10 @@
|
|||
### - title, for titles in dialogs.
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION FONT_FAMILY FONT_SIZE FONT_STYLE FONT_COLOR_ENABLED FONT_COLOR_DISABLED
|
||||
#arg OUTLINE
|
||||
false
|
||||
#endarg
|
||||
|
||||
[resolution]
|
||||
|
||||
{RESOLUTION}
|
||||
|
@ -45,6 +49,7 @@
|
|||
text_alignment = "(text_alignment)"
|
||||
text_link_aware = "(text_link_aware)"
|
||||
text_link_color = "(text_link_color)"
|
||||
outline = {OUTLINE}
|
||||
[/text]
|
||||
|
||||
[/draw]
|
||||
|
@ -70,6 +75,7 @@
|
|||
text_alignment = "(text_alignment)"
|
||||
text_link_aware = "(text_link_aware)"
|
||||
text_link_color = "(text_link_color)"
|
||||
outline = {OUTLINE}
|
||||
[/text]
|
||||
|
||||
[/draw]
|
||||
|
@ -80,6 +86,10 @@
|
|||
#enddef
|
||||
|
||||
#define _GUI_DEFINITION ID DESCRIPTION FONT_FAMILY FONT_SIZE FONT_STYLE FONT_COLOR
|
||||
#arg OUTLINE
|
||||
false
|
||||
#endarg
|
||||
|
||||
[label_definition]
|
||||
id = {ID}
|
||||
description = {DESCRIPTION}
|
||||
|
@ -91,6 +101,7 @@
|
|||
({FONT_STYLE})
|
||||
({GUI__FONT_COLOR_ENABLED__{FONT_COLOR} ALPHA=""})
|
||||
({GUI__FONT_COLOR_DISABLED__{FONT_COLOR} ALPHA=""})
|
||||
OUTLINE={OUTLINE}
|
||||
}
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
|
@ -100,6 +111,7 @@
|
|||
({FONT_STYLE})
|
||||
({GUI__FONT_COLOR_ENABLED__{FONT_COLOR} ALPHA=""})
|
||||
({GUI__FONT_COLOR_DISABLED__{FONT_COLOR} ALPHA=""})
|
||||
OUTLINE={OUTLINE}
|
||||
}
|
||||
|
||||
[/label_definition]
|
||||
|
@ -119,6 +131,8 @@
|
|||
{_GUI_DEFINITION "bad" "regular red label" () DEFAULT () BAD }
|
||||
{_GUI_DEFINITION "bad_small" "small red label" () SMALL () BAD }
|
||||
|
||||
{_GUI_DEFINITION "default_outline" "default label with outline" () SMALL () DEFAULT OUTLINE=true}
|
||||
|
||||
{_GUI_DEFINITION "title_script" "label used for titles, script font" "script" HUGE () TITLE }
|
||||
|
||||
{_GUI_DEFINITION "monospace" "fixed width scroll label" monospace DEFAULT () DEFAULT }
|
|
@ -77,7 +77,7 @@
|
|||
()
|
||||
({GUI_FONT_SIZE_DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
("255,255,255,255")
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue