OSSP CVS Repository

ossp - Check-in [4074]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 4074
Date: 2003-Feb-22 00:40:20 (local)
2003-Feb-21 23:40:20 (UTC)
User:ms
Branch:
Comment: Add new detailed listing and signature prefs, and correct accidentally reversed light and dark buttons.
Tickets:
Inspections:
Files:
ossp-pkg/as/as-gui/as_slot.cpp      1.131 -> 1.132     6 inserted, 2 deleted

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

--- as_slot.cpp  2003/02/21 15:04:04     1.131
+++ as_slot.cpp  2003/02/21 23:40:20     1.132
@@ -1153,6 +1153,8 @@
 #endif
     pUserpanel->setBackon(m_pPrefs->getBool(TITRAQ_PREFBAKON, TITRAQ_DEFBAKON));
     pUserpanel->setExtendon(m_pPrefs->getBool(TITRAQ_PREFEXTENDON, TITRAQ_DEFEXTENDON));
+    pUserpanel->setDetailon(m_pPrefs->getBool(TITRAQ_PREFDETAILON, TITRAQ_DEFDETAILON));
+    pUserpanel->setSignaton(m_pPrefs->getBool(TITRAQ_PREFSIGNATON, TITRAQ_DEFSIGNATON));
 
     // Set default style which can be more complicated due to mapping...
     switch (m_pPrefs->getNumber(TITRAQ_PREFSTYLE, TITRAQ_STYLECDE)) {
@@ -1186,8 +1188,8 @@
     const QColor Origdark  = QColor(TITRAQ_DEFDARKRED, TITRAQ_DEFDARKGREEN, TITRAQ_DEFDARKBLUE);
 
     // Set colours to revert to if user screws up and wants out
-    Origcolour.setColor(QColorGroup::Background, Origlight);
-    Origcolour.setColor(QColorGroup::Foreground, Origdark);
+    Origcolour.setColor(QColorGroup::Foreground, Origlight);
+    Origcolour.setColor(QColorGroup::Background, Origdark);
     pUserpanel->setOrigcolour(&Origcolour);
 
     // Set colour preferences saved from last session
@@ -1928,6 +1930,8 @@
     m_pPrefs->setBool(TITRAQ_PREFSOAPON, pPrefpanel->getSoapon());
     m_pPrefs->setBool(TITRAQ_PREFBAKON, pPrefpanel->getBackon());
     m_pPrefs->setBool(TITRAQ_PREFEXTENDON, pPrefpanel->getExtendon());
+    m_pPrefs->setBool(TITRAQ_PREFDETAILON, pPrefpanel->getDetailon());
+    m_pPrefs->setBool(TITRAQ_PREFSIGNATON, pPrefpanel->getSignaton());
     m_pPrefs->setNumber(TITRAQ_PREFLIGHTRED, pPrefpanel->getLight()->red());
     m_pPrefs->setNumber(TITRAQ_PREFLIGHTGREEN, pPrefpanel->getLight()->green());
     m_pPrefs->setNumber(TITRAQ_PREFLIGHTBLUE, pPrefpanel->getLight()->blue());

CVSTrac 2.0.1