summaryrefslogtreecommitdiffstats
path: root/mandriva/2010.2/other/ksplash-engine-moodin/moodin-use-label-offset.patch
blob: ebeadd4785a10c7c93da04469d63d7628cfb9e65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- moodin/src/thememoodin.cpp--	2007-02-12 15:56:48.000000000 +0100
+++ moodin/src/thememoodin.cpp	2007-02-12 15:59:37.000000000 +0100
@@ -69,6 +69,7 @@
   mStatusColor = cfg->readColorEntry("StatusColor", &defaultColor);
   mStatusFont = cfg->readFontEntry("StatusFont", &defaultStatusFont);
   mStatusCoords = cfg->readPointEntry("StatusCoords", &defaultPoint);
+  mStatusOffsets = cfg->readPointEntry("StatusOffsets", &defaultOffset);
   mLabelShadow = cfg->readBoolEntry("LabelShadow", true);
   mLabelShadowColor = cfg->readColorEntry("LabelShadowColor", &defaultShadowColor);
   mShowStatusText = cfg->readBoolEntry("ShowStatusText", true);
@@ -378,6 +379,8 @@
   
   mScaler->autoCoords(&pt, fmSize);
 
+  pt+=mStatusOffsets;
+
   p.setFont(mStatusFont);
   
   if (mLabelShadow)
--- moodin/src/thememoodin.h--	2007-02-12 15:58:54.000000000 +0100
+++ moodin/src/thememoodin.h	2007-02-12 15:59:27.000000000 +0100
@@ -95,6 +95,7 @@
   QFont mStatusFont;
   QPoint mStatusCoords;
   QPoint mLabelShadowOffset;
+  QPoint mStatusOffsets;
   QWidget* mContainer;
   QSize mBaseResolution;
   QRect mSplashRect;