Project

General

Profile

« Previous | Next » 

Revision 4bd09fe2

Added by Leszek Koltunski 2 months ago

progress with configurable stickers

View differences:

src/main/java/org/distorted/config/ConfigActivity.java
169 169
      {
170 170
      if( mPane!=null )
171 171
        {
172
        int color = mPane.getCurrentColor();
172
        int color  = mPane.getCurrentColor();
173
        int borders= mPane.getCurrentBorders();
174
        int corners= mPane.getCurrentCorners();
175
        float border_step = ConfigScreenPane.BORDER_STEPS[borders];
176
        float corner_step = ConfigScreenPane.CORNER_STEPS[corners];
177

  
173 178
        ConfigSurfaceView view = findViewById(R.id.configSurfaceView);
174 179
        ObjectControl control = view.getObjectControl();
175
        control.repaintPuzzleFace(cubit,face,color);
180
        control.repaintPuzzleFace(cubit,face,color,border_step,corner_step);
176 181
        }
177 182
      }
178 183

  
......
234 239

  
235 240
    public void resetUI()
236 241
      {
237
      mPane.resetUI();
242
      mPane.resetUI(this);
238 243
      }
239 244

  
240 245
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff