Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F633230
font-info.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
923 B
Referenced Files
None
Subscribers
None
font-info.cpp
View Options
#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
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Nov 15, 4:22 PM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
124740
Default Alt Text
font-info.cpp (923 B)
Attached To
Mode
R75 R-Tech1
Attached
Detach File
Event Timeline