Commit 68ecdaff authored by gramps's avatar gramps

Added color and normal function members


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@93 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 3e0cf522
......@@ -32,7 +32,8 @@ class QColorGroup {
public:
enum ColorRole { Foreground, Shadow, Light, Mid, Midlight, Dark, Base, ButtonText, Button, Background, Text };
void setColor(ColorRole role, const QColor &color);
const QColor &color(ColorRole) const;
void setColor(ColorRole, const QColor &);
const QColor &foreground() const;
const QColor &shadow() const;
const QColor &light() const;
......@@ -54,6 +55,7 @@ public:
const QColorGroup &active() const;
const QColorGroup &inactive() const;
const QColorGroup &disabled() const;
const QColorGroup &normal() const;
};
#endif
......@@ -32,7 +32,8 @@ class QColorGroup {
public:
enum ColorRole { Foreground, Shadow, Light, Mid, Midlight, Dark, Base, ButtonText, Button, Background, Text };
void setColor(ColorRole role, const QColor &color);
const QColor &color(ColorRole) const;
void setColor(ColorRole, const QColor &);
const QColor &foreground() const;
const QColor &shadow() const;
const QColor &light() const;
......@@ -54,6 +55,7 @@ public:
const QColorGroup &active() const;
const QColorGroup &inactive() const;
const QColorGroup &disabled() const;
const QColorGroup &normal() const;
};
#endif
......@@ -32,7 +32,8 @@ class QColorGroup {
public:
enum ColorRole { Foreground, Shadow, Light, Mid, Midlight, Dark, Base, ButtonText, Button, Background, Text };
void setColor(ColorRole role, const QColor &color);
const QColor &color(ColorRole) const;
void setColor(ColorRole, const QColor &);
const QColor &foreground() const;
const QColor &shadow() const;
const QColor &light() const;
......@@ -54,6 +55,7 @@ public:
const QColorGroup &active() const;
const QColorGroup &inactive() const;
const QColorGroup &disabled() const;
const QColorGroup &normal() const;
};
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment