ossp-pkg/as/as-gui/as_panel.h 1.11 -> 1.12
--- as_panel.h 2003/02/21 10:11:36 1.11
+++ as_panel.h 2003/02/21 15:04:04 1.12
@@ -64,6 +64,7 @@
private:
Preferences *m_pPanprefs;
QColor *m_pLight, *m_pDark;
+ QColorGroup *m_pOrigcolours;
public:
QGroupBox *m_pGenbox, *m_pRembox, *m_pShadebox, *m_pThemebox;
@@ -112,6 +113,8 @@
bool getExtendon(void) {return (m_pExtendcheck->isChecked());};
QColor *getLight(void) {return m_pLight;};
QColor *getDark(void) {return m_pDark;};
+ QColor *getRevlight(void) {return (QColor *)&m_pOrigcolours->foreground();};
+ QColor *getRevdark(void) {return (QColor *)&m_pOrigcolours->background();};
// Accessor set methods
void setAccounts(const QString &kInstr) {m_pAcctline->setText(kInstr);};
@@ -126,6 +129,7 @@
void lockSoap(const bool &kbLock = true) {m_pSoapcheck->setEnabled(!kbLock);};
void setLight(const QColor *pLight) {m_pLight = (QColor *)pLight;};
void setDark(const QColor *pDark) {m_pDark = (QColor *)pDark;};
+ void setOrigcolour(QColorGroup *pGroup) {m_pOrigcolours = pGroup;};
void setCorbaon(const bool &kbEnable = true) {
m_pCorbaline->setEnabled(kbEnable);
m_pCorbacheck->setChecked(kbEnable);
|
|