aboutsummaryrefslogtreecommitdiff
path: root/lib/gui
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-23 00:48:06 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-23 00:48:06 +0000
commit549ed3c87c4d3fe093472aa199ca6742c1f3654f (patch)
tree6c5668e6119bb59f6bd52c2bbd356a9e7bb6c1b9 /lib/gui
parent1fe64f3ba259fa5d9d12b3a69bf245dec4bee579 (diff)
downloadenigma2-549ed3c87c4d3fe093472aa199ca6742c1f3654f.tar.gz
enigma2-549ed3c87c4d3fe093472aa199ca6742c1f3654f.zip
replace "Arial" by "Regular"
Diffstat (limited to 'lib/gui')
-rw-r--r--lib/gui/elistboxcontent.cpp10
-rw-r--r--lib/gui/ewindowstyle.cpp8
-rw-r--r--lib/gui/ewindowstyleskinned.cpp6
3 files changed, 12 insertions, 12 deletions
diff --git a/lib/gui/elistboxcontent.cpp b/lib/gui/elistboxcontent.cpp
index 95d92e09..6e49dcb5 100644
--- a/lib/gui/elistboxcontent.cpp
+++ b/lib/gui/elistboxcontent.cpp
@@ -110,7 +110,7 @@ void eListboxTestContent::setSize(const eSize &size)
void eListboxTestContent::paint(gPainter &painter, eWindowStyle &style, const ePoint &offset, int selected)
{
- ePtr<gFont> fnt = new gFont("Arial", 20);
+ ePtr<gFont> fnt = new gFont("Regular", 20);
painter.clip(eRect(offset, m_size));
style.setStyle(painter, selected ? eWindowStyle::styleListboxSelected : eWindowStyle::styleListboxNormal);
painter.clear();
@@ -219,7 +219,7 @@ void eListboxStringContent::setSize(const eSize &size)
void eListboxStringContent::paint(gPainter &painter, eWindowStyle &style, const ePoint &offset, int selected)
{
- ePtr<gFont> fnt = new gFont("Arial", 20);
+ ePtr<gFont> fnt = new gFont("Regular", 20);
painter.clip(eRect(offset, m_itemsize));
style.setStyle(painter, selected ? eWindowStyle::styleListboxSelected : eWindowStyle::styleListboxNormal);
painter.clear();
@@ -328,7 +328,7 @@ void eListboxPythonStringContent::setSize(const eSize &size)
void eListboxPythonStringContent::paint(gPainter &painter, eWindowStyle &style, const ePoint &offset, int selected)
{
- ePtr<gFont> fnt = new gFont("Arial", 20);
+ ePtr<gFont> fnt = new gFont("Regular", 20);
painter.clip(eRect(offset, m_itemsize));
style.setStyle(painter, selected ? eWindowStyle::styleListboxSelected : eWindowStyle::styleListboxNormal);
painter.clear();
@@ -398,8 +398,8 @@ void eListboxPythonStringContent::invalidate()
void eListboxPythonConfigContent::paint(gPainter &painter, eWindowStyle &style, const ePoint &offset, int selected)
{
- ePtr<gFont> fnt = new gFont("Arial", 20);
- ePtr<gFont> fnt2 = new gFont("Arial", 16);
+ ePtr<gFont> fnt = new gFont("Regular", 20);
+ ePtr<gFont> fnt2 = new gFont("Regular", 16);
painter.clip(eRect(offset, m_itemsize));
style.setStyle(painter, selected ? eWindowStyle::styleListboxSelected : eWindowStyle::styleListboxNormal);
painter.clear();
diff --git a/lib/gui/ewindowstyle.cpp b/lib/gui/ewindowstyle.cpp
index 79024a35..86ff8a42 100644
--- a/lib/gui/ewindowstyle.cpp
+++ b/lib/gui/ewindowstyle.cpp
@@ -38,7 +38,7 @@ eWindowStyleSimple::eWindowStyleSimple()
m_border_left = m_border_right = m_border_bottom = 2;
m_border_top = 30;
- m_fnt = new gFont("Arial", 25);
+ m_fnt = new gFont("Regular", 25);
m_border_color_tl = gColor(0x1f);
m_border_color_br = gColor(0x14);
@@ -141,13 +141,13 @@ RESULT eWindowStyleSimple::getFont(int what, ePtr<gFont> &fnt)
switch (what)
{
case fontStatic:
- fnt = new gFont("Arial", 12);
+ fnt = new gFont("Regular", 12);
break;
case fontButton:
- fnt = new gFont("Arial", 20);
+ fnt = new gFont("Regular", 20);
break;
case fontTitlebar:
- fnt = new gFont("Arial", 25);
+ fnt = new gFont("Regular", 25);
break;
default:
return -1;
diff --git a/lib/gui/ewindowstyleskinned.cpp b/lib/gui/ewindowstyleskinned.cpp
index 20d508f6..5da4696e 100644
--- a/lib/gui/ewindowstyleskinned.cpp
+++ b/lib/gui/ewindowstyleskinned.cpp
@@ -196,13 +196,13 @@ RESULT eWindowStyleSkinned::getFont(int what, ePtr<gFont> &fnt)
switch (what)
{
case fontStatic:
- fnt = new gFont("Arial", 12);
+ fnt = new gFont("Regular", 12);
break;
case fontButton:
- fnt = new gFont("Arial", 20);
+ fnt = new gFont("Regular", 20);
break;
case fontTitlebar:
- fnt = new gFont("Arial", 25);
+ fnt = new gFont("Regular", 25);
break;
default:
return -1;