[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Eliot-dev] Changes to eliot/wxwin/gfxboard.cc
From: |
eliot-dev |
Subject: |
[Eliot-dev] Changes to eliot/wxwin/gfxboard.cc |
Date: |
Fri, 04 Nov 2005 18:26:07 -0500 |
Index: eliot/wxwin/gfxboard.cc
diff -u eliot/wxwin/gfxboard.cc:1.6 eliot/wxwin/gfxboard.cc:1.7
--- eliot/wxwin/gfxboard.cc:1.6 Fri Nov 4 20:00:06 2005
+++ eliot/wxwin/gfxboard.cc Fri Nov 4 23:26:04 2005
@@ -287,29 +287,29 @@
{
for (column = BOARD_MIN; column <= BOARD_MAX; column++)
{
- if (m_game.getBoardLetterMultiplier(row, column) == 2)
+ if (m_game.getBoard().getLetterMultiplier(row, column) == 2)
{
dc->SetBrush(*Lx2Brush);
dc->SetTextBackground(colLx2);
}
- else if (m_game.getBoardLetterMultiplier(row, column) == 3)
+ else if (m_game.getBoard().getLetterMultiplier(row, column) == 3)
{
dc->SetBrush(*Lx3Brush);
dc->SetTextBackground(colLx3);
}
- else if (m_game.getBoardWordMultiplier(row, column) == 2)
+ else if (m_game.getBoard().getWordMultiplier(row, column) == 2)
{
dc->SetBrush(*Wx2Brush);
dc->SetTextBackground(colWx2);
}
- else if (m_game.getBoardWordMultiplier(row, column) == 3)
+ else if (m_game.getBoard().getWordMultiplier(row, column) == 3)
{
dc->SetBrush(*Wx3Brush);
dc->SetTextBackground(colWx3);
}
- wxs = wxString((wxChar)m_game.getBoardChar(row, column));
- attr = m_game.getBoardCharAttr(row, column);
+ wxs = wxString((wxChar)m_game.getBoard().getChar(row, column));
+ attr = m_game.getBoard().getCharAttr(row, column);
if ((paintedboard_char[row - BOARD_MIN][column - BOARD_MIN] !=
wxs.GetChar(0)) ||
(paintedboard_attr[row - BOARD_MIN][column - BOARD_MIN] !=
attr))
{