Blame view

Modif/epsilon-master/apps/shared/hideable_even_odd_cell.cpp 331 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  #include "hideable_even_odd_cell.h"
  
  namespace Shared {
  
  KDColor HideableEvenOddCell::backgroundColor() const {
    if (hidden()) {
      return hideColor();
    }
    return EvenOddCell::backgroundColor();
  }
  
  void HideableEvenOddCell::setHide(bool hide) {
    if (hidden() != hide) {
      Hideable::setHide(hide);
      reloadCell();
    }
  }
  
  }