Page MenuHomePhabricator (Chris)

font-info.cpp
No OneTemporary

Authored By
Unknown
Size
923 B
Referenced Files
None
Subscribers
None

font-info.cpp

#include "font-info.h"
#include "util/file-system.h"
#include "util/font.h"
#include "util/configuration.h"
#include "util/exceptions/exception.h"
namespace Menu{
FontInfo::FontInfo(){
}
FontInfo::~FontInfo(){
}
static bool menuFontAvailable(){
return Configuration::getMenuFont() != NULL;
}
bool RelativeFontInfo::operator==(const FontInfo & who) const {
return who == *this;
}
bool RelativeFontInfo::operator==(const AbsoluteFontInfo & who) const {
return getName() == who.getName();
}
bool RelativeFontInfo::operator==(const RelativeFontInfo & who) const {
return path == who.path;
}
bool AbsoluteFontInfo::operator==(const FontInfo & who) const {
return who == *this;
}
bool AbsoluteFontInfo::operator==(const AbsoluteFontInfo & who) const {
return path == who.path;
}
bool AbsoluteFontInfo::operator==(const RelativeFontInfo & who) const {
return getName() == who.getName();
}
}

File Metadata

Mime Type
text/x-c++
Expires
Sun, Nov 15, 4:22 PM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
124740
Default Alt Text
font-info.cpp (923 B)

Event Timeline