Project

General

Profile

« Previous | Next » 

Revision c2d85688

Added by Leszek Koltunski almost 2 years ago

Lots of progress

View differences:

distorted-sokoban/src/main/java/org/distorted/sokoban/SokobanMenu.java
13 13
import android.content.Context;
14 14
import android.content.res.Resources;
15 15

  
16
import org.distorted.keyboard.StringBlock;
17
import org.distorted.keyboard.TouchKeyboard;
18

  
16 19
//import android.util.Log;
17 20

  
18 21
///////////////////////////////////////////////////////////////////////////////////////////////////
......
57 60
  private int dialogX,dialogY0,dialogY1,dialogY2,dialogY3,dialogM;
58 61
  private TouchKeyboard tkb = null;
59 62
  private static int nameChangeAction =ACTION_NONE;
60
  private SokobanStringBlock blockHelptext;
63
  private StringBlock blockHelptext;
61 64

  
62 65
  private int softkeyState = SOFT_NOT;
63 66
  private int comeBackState=SokobanCanvas.STATE_MAIN;
......
780 783
    if( blockHelptext==null )
781 784
      {
782 785
      int helpHeight  = dialogY0-3*gap-mFontH-sFontH;
783
      blockHelptext   = new SokobanStringBlock( strHelptxt, helpHeight, len-2*gap);
786
      blockHelptext   = new StringBlock( strHelptxt, helpHeight, len-2*gap);
784 787
      }
785 788
    blockHelptext.draw(c,(scrWidth-len)/2+gap,(scrHeight-dialogY0)/2+mFontH+sFontH+2*gap, SokobanCanvas.COLOR_BLACK);
786 789
    }

Also available in: Unified diff