Commit graph

15 commits

Author SHA1 Message Date
Olivier Teulière
25f3bccdd1 TileWidget: make sure the font is at least one pixel wide 2012-06-10 23:34:23 +02:00
Olivier Teulière
e86d71626c Do not repeat the application name and organization name everywhere 2012-02-16 22:17:23 +01:00
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
ebea504aa7 TileWidget: avoid a lot of useless repaintings 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
5d62711789 TileWidget: do not display anything on a joker tile that has not yet been played 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
6bf27a4509 Layout improvements:
- Handle the minimum size of the layout correctly
 - Draw the lines between tiles, instead of drawing on them
2010-10-22 16:59:43 +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
e5eb6dd654 Draw an outline around the arrow 2010-10-22 16:57:13 +00:00
Olivier Teulière
308e609966 Display the letters correctly 2010-10-22 16:56:32 +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