Skip to content

Commit

Permalink
Client|Cleanup: Use "namespace" in fonts.dei
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed May 13, 2013
1 parent e411f65 commit 9b7ca71
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions doomsday/client/data/defaultstyle.pack/fonts.dei
Expand Up @@ -6,18 +6,18 @@

script { import Version, gui }

group font {
condition: Version.OS == 'macx'

font default {
family: Lucida Grande
size: 16pt
weight: normal
style: normal
}
namespace font {

font "default" condition "Version.OS == 'macx'" {
family: Lucida Grande
size: 16pt
weight: normal
style: normal
}

font "font.title" inherits font.default {
font "title" inherits "default" {
size $: gui.scale(__this__.size, 1.5)
weight: bold
}

} # namespace font
2 changes: 1 addition & 1 deletion doomsday/libgui/src/fontbank.cpp
Expand Up @@ -71,7 +71,7 @@ void FontBank::readInfo(File const &file)
readInfo(String::fromUtf8(Block(file)));
}

Bank::IData *FontBank::loadFromSource(ISource &source)
Bank::IData *FontBank::loadFromSource(ISource &)
{
return 0;
}
Expand Down

0 comments on commit 9b7ca71

Please sign in to comment.