Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Client: Added the default UI style package
Ultimately "defaultstyle.pack" will contain all the elements of the UI style, including images.
- Loading branch information
Showing
4 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Default UI style for Doomsday. | ||
|
||
name: Doomsday Default UI Style | ||
labels: style |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Fonts for the default UI style | ||
# | ||
# - size can be "pt" or "px", defaults to "pt" | ||
# - weight: normal bold light | ||
# - style: normal italic | ||
|
||
script { import Version, gui } | ||
|
||
group font { | ||
condition: Version.OS == 'macx' | ||
|
||
font default { | ||
family: Lucida Grande | ||
size: 16pt | ||
weight: normal | ||
style: normal | ||
} | ||
} | ||
|
||
font "font.title" inherits font.default { | ||
size $: gui.scale(__this__.size, 1.5) | ||
weight: bold | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters