Blame view

emulateur/epsilon-nofrendo/apps/shared/hideable.h 372 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
20
21
22
  #ifndef APPS_SHARED_HIDEABLE_H
  #define APPS_SHARED_HIDEABLE_H
  
  #include <escher/palette.h>
  
  namespace Shared {
  
  class Hideable {
  public:
    Hideable() :
      m_hide(false)
    {}
    static KDColor hideColor() { return Palette::WallScreenDark; }
    bool hidden() const { return m_hide; }
    virtual void setHide(bool hide) { m_hide = hide; }
  private:
    bool m_hide;
  };
  
  }
  
  #endif