Blame view

epsilon-master/apps/shared/store_title_cell.h 519 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
23
  #ifndef SHARED_STORE_TITLE_CELL_H
  #define SHARED_STORE_TITLE_CELL_H
  
  #include "buffer_function_title_cell.h"
  
  namespace Shared {
  
  class StoreTitleCell : public BufferFunctionTitleCell {
  public:
    StoreTitleCell() :
      BufferFunctionTitleCell(Orientation::HorizontalIndicator, KDText::FontSize::Small),
      m_separatorLeft(false)
    {}
    void setSeparatorLeft(bool separator);
    void drawRect(KDContext * ctx, KDRect rect) const override;
    void layoutSubviews() override;
  private:
    bool m_separatorLeft;
  };
  
  }
  
  #endif