Bug 12377 - [TASK] Don't hardcode chessboard colors in backend
: [TASK] Don't hardcode chessboard colors in backend
Status: VERIFIED FIXED
Product: Miniature
Engine
: unspecified
: N950 MeeGo
: Unspecified enhancement (vote)
: ---
Assigned To: unassigned
: general
:
: easyfix
:
:
  Show dependency tree
 
Reported: 2011-09-07 03:24 UTC by Michael Hasselmann
Modified: 2011-10-13 09:01 UTC (History)
1 user (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Michael Hasselmann (reporter) 2011-09-07 03:24:16 UTC
See
https://gitorious.org/miniature/miniature/commit/c9f3e2b8ced3ecc6b6a7248179f05c1f5bdd5bb7
and its comments:
Better to have square state, like “PieceSelected” and “SquareSelected”. Then
backend can get rid of linking against Qt GUI again, too.

Currently, the usage QColor in the backend is the *only* reason
libminiature-game0 (our backend) has to link against QtGui module. I would like
to see that fixed.
Comment 1 Michael Hasselmann (reporter) 2011-10-13 03:13:57 UTC
Fixed with commit 992577a5095a371ba50d9936bf46c3d41f4075c1.