/[eliot]/eliot/wxwin/auxframes.cc
ViewVC logotype

Diff of /eliot/wxwin/auxframes.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12.2.1 by afrab, Sun Oct 23 17:10:46 2005 UTC revision 1.12.2.2 by ipkiss, Sun Oct 23 20:58:20 2005 UTC
# Line 17  Line 17 
17  /* along with this program; if not, write to the Free Software               */  /* along with this program; if not, write to the Free Software               */
18  /* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */  /* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
19    
 /* $Id$ */  
   
20  /**  /**
21   *  \file   auxframes.cc   *  \file   auxframes.cc
22   *  \brief  Window Frames used in Eliot   *  \brief  Window Frames used in Eliot
# Line 41  Line 39 
39  #include "dic.h"  #include "dic.h"
40  #include "dic_search.h"  #include "dic_search.h"
41  #include "training.h"  #include "training.h"
42    #include "player.h"
43  #include "game.h"  #include "game.h"
44    
45  #include "configdb.h"  #include "configdb.h"
# Line 348  AuxFrameList::Waiting() Line 347  AuxFrameList::Waiting()
347      listbox->Show(TRUE);      listbox->Show(TRUE);
348  }  }
349    
350  void  void
351  AuxFrameList::Refresh(refresh_t force)  AuxFrameList::Refresh(refresh_t force)
352  {  {
353      //debug("    %s : Refresh start\n",(const char*)name.mb_str());      //debug("    %s : Refresh start\n",(const char*)name.mb_str());
# Line 401  Plus1Frame::refresh() Line 400  Plus1Frame::refresh()
400              return;              return;
401          }          }
402      savedword = rack;      savedword = rack;
403        
404      char buff[DIC_LETTERS][RES_7PL1_MAX][DIC_WORD_MAX];      char buff[DIC_LETTERS][RES_7PL1_MAX][DIC_WORD_MAX];
405      Dic_search_7pl1(game->getDic(), rack.c_str(), buff, config.getJokerPlus1());      Dic_search_7pl1(game->getDic(), rack.c_str(), buff, config.getJokerPlus1());
406    
# Line 444  BenjFrame::refresh() Line 443  BenjFrame::refresh()
443      //debug("   BenjFrame::refresh : %s\n",word.c_str());      //debug("   BenjFrame::refresh : %s\n",word.c_str());
444      char wordlist[RES_BENJ_MAX][DIC_WORD_MAX];      char wordlist[RES_BENJ_MAX][DIC_WORD_MAX];
445      Dic_search_Benj(game->getDic(), word.c_str(), wordlist);      Dic_search_Benj(game->getDic(), word.c_str(), wordlist);
446        
447      wxString res[RES_BENJ_MAX];      wxString res[RES_BENJ_MAX];
448      int resnum = 0;      int resnum = 0;
449      for (int i = 0; (i < RES_BENJ_MAX) && (wordlist[i][0]); i++)      for (int i = 0; (i < RES_BENJ_MAX) && (wordlist[i][0]); i++)
# Line 571  void Line 570  void
570  ResultFrame::Refresh(refresh_t WXUNUSED(force))  ResultFrame::Refresh(refresh_t WXUNUSED(force))
571  {  {
572      if (reslist != NULL)      if (reslist != NULL)
573          {                    {
574              reslist->Show(false);              reslist->Show(false);
575              //debug("ResultFrame refresh\n");              //debug("ResultFrame refresh\n");
576              reslist->Refresh();              reslist->Refresh();

Legend:
Removed from v.1.12.2.1  
changed lines
  Added in v.1.12.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26