OSSP CVS Repository

ossp - Difference in ossp-pkg/as/as-gui/as_slot.cpp versions 1.132 and 1.133
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/as/as-gui/as_slot.cpp 1.132 -> 1.133

--- as_slot.cpp  2003/02/21 23:40:20     1.132
+++ as_slot.cpp  2003/02/25 09:29:58     1.133
@@ -1183,14 +1183,19 @@
 
     // Colour preferences
     int nRed, nGreen, nBlue;
-    QColorGroup Origcolour;
+    QColorGroup Origcolour, Altcolour;
     const QColor Origlight = QColor(TITRAQ_DEFLIGHTRED, TITRAQ_DEFLIGHTGREEN, TITRAQ_DEFLIGHTBLUE);
     const QColor Origdark  = QColor(TITRAQ_DEFDARKRED, TITRAQ_DEFDARKGREEN, TITRAQ_DEFDARKBLUE);
+    const QColor Altlight = QColor(TITRAQ_DEFLTALTRED, TITRAQ_DEFLTALTGREEN, TITRAQ_DEFLTALTBLUE);
+    const QColor Altdark  = QColor(TITRAQ_DEFDKALTRED, TITRAQ_DEFDKALTGREEN, TITRAQ_DEFDKALTBLUE);
 
     // Set colours to revert to if user screws up and wants out
     Origcolour.setColor(QColorGroup::Foreground, Origlight);
     Origcolour.setColor(QColorGroup::Background, Origdark);
     pUserpanel->setOrigcolour(&Origcolour);
+    Altcolour.setColor(QColorGroup::Foreground, Altlight);
+    Altcolour.setColor(QColorGroup::Background, Altdark);
+    pUserpanel->setAltcolour(&Altcolour);
 
     // Set colour preferences saved from last session
     nRed   = m_pPrefs->getNumber(TITRAQ_PREFLIGHTRED, TITRAQ_DEFLIGHTRED);

CVSTrac 2.0.1