Commit graph

8 commits

Author SHA1 Message Date
Olivier Teulière
85e79e0294 TileWidget: change the prototype of tileChanged() and improve the possible states 2012-01-29 22:47:51 +01:00
Olivier Teulière
00a98a7c31 TileWidget: rename some constants to be more explicit 2012-01-29 22:47:51 +01:00
Olivier Teulière
f6d7661367 TileWidget: get rid of BasicTileWidget and TileWidgetDecorator.
TileWidget now supports all these functionalities, with a much simpler code.
2012-01-29 22:47:51 +01:00
Olivier Teulière
51d6a3bc8b Added logging macros 2012-01-29 20:34:48 +01:00
Olivier Teulière
af37443fc0 New bag widget, showing the remaining tiles. Not used for real yet. 2010-11-01 17:49:55 +00:00
Olivier Teulière
3352337142 Let the TileWidget class handle mouse clicks, instead of doing it in the BoardWidget class 2010-10-22 16:58:37 +00:00
Olivier Teulière
90027c3210 Display the coordinates of the board, and draw a square around it.
It now looks exactly like the old board (with 1 pixel difference for the coordinates, making it better).
2010-10-17 21:45:10 +00:00
Olivier Teulière
858b3997ae New TileWidget class, to handle a single square 2010-10-17 21:28:01 +00:00