anchor.diff:      (tkSnowOnGrass, tkSnowOnDirt,   tkSnow,         tkDeepSnow,     tkIce),
       (tkStone,       tkGoldMount,    tkIronMount,    tkCobbleStone,  tkGravel),
       (tkCoal,        tkGold,         tkIron,         tkLava,         tkAbyss));
  +
  +type
  +  TMBrushButtonType = (bbtBrush = -1, bbtMask = -2);
  +
  +
  +{ TKMMapEdTerrainBrushes }
  +constructor TKMMapEdTerrainBrushes.Create(aParent: TKMPanel);
  +const
  +  SURFACES_TAB = 18;
  +
     MASKS_HINTS_TX: array [TKMTileMaskKind] of Integer =
                               (TX_MAPED_TERRAIN_NO_MASK_HINT, TX_MAPED_TERRAIN_MASK_1_HINT,
                                TX_MAPED_TERRAIN_MASK_2_HINT, TX_MAPED_TERRAIN_MASK_3_HINT,
  
positive.code:   BTN_TKIND_S = 34;
    BTN_TKIND_S_SP_X = 36;
    BTN_TKIND_S_SP_Y = 40;
  
  type
    TMBrushButtonType = (bbtBrush = -1, bbtMask = -2);
  
  
  { TKMMapEdTerrainBrushes }
  constructor TKMMapEdTerrainBrushes.Create(aParent: TKMPanel);
  const
    SURF_ROW_LEN = 5;
    SURFACES_TAB = 18;
  
    SURFACES: array [0..5, 0..SURF_ROW_LEN-1] of TKMTerrainKind = (
      (tkGrass,       tkMoss,         tkPaleGrass,    tkGrassDirt,    tkDirt),
  
negative.code: begin
    inherited Create;
  
    ResetLastBrushes;
  
    Panel_Brushes := TKMScrollPanel.Create(aParent, 0, 28, aParent.Width, aParent.Height - 28, [saVertical], bsMenu, ssCommon);
    Panel_Brushes.Padding.SetBottom(10);
  