author | waspe <waspe> | 2003-06-05 06:48:39 (UTC) |
---|---|---|
committer | waspe <waspe> | 2003-06-05 06:48:39 (UTC) |
commit | 2f3202871135e2efc67c0cdef9b93d4c4953f372 (patch) (side-by-side diff) | |
tree | a988198fdf08bd48d98a961a2194b59177af7013 | |
parent | b72cce3813dfb64fd6d1920961b236c8e27bd27b (diff) | |
download | opie-2f3202871135e2efc67c0cdef9b93d4c4953f372.zip opie-2f3202871135e2efc67c0cdef9b93d4c4953f372.tar.gz opie-2f3202871135e2efc67c0cdef9b93d4c4953f372.tar.bz2 |
backround of canvas now in syscolor
-rw-r--r-- | noncore/games/backgammon/backgammon.cpp | 2 | ||||
-rw-r--r-- | noncore/games/backgammon/backgammon.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/noncore/games/backgammon/backgammon.cpp b/noncore/games/backgammon/backgammon.cpp index 06523f1..db1a058 100644 --- a/noncore/games/backgammon/backgammon.cpp +++ b/noncore/games/backgammon/backgammon.cpp @@ -137,2 +137,4 @@ BackGammon::BackGammon(QWidget* parent, const char* name, WFlags fl) area=new QCanvas(235,235); + QColor bgColor=palette().color(QPalette::Normal,QColorGroup::Background); + area->setBackgroundColor(bgColor); boardview=new BackGammonView(area,mainarea); diff --git a/noncore/games/backgammon/backgammon.h b/noncore/games/backgammon/backgammon.h index e3276f1..d803489 100644 --- a/noncore/games/backgammon/backgammon.h +++ b/noncore/games/backgammon/backgammon.h @@ -20,3 +20,2 @@ class BackGammon : public QMainWindow private: - //GUI //the "status" bar |