Blame view

epsilon-master/apps/sequence/graph/graph_view.h 564 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
  #ifndef SEQUENCE_GRAPH_VIEW_H
  #define SEQUENCE_GRAPH_VIEW_H
  
  #include "../../shared/function_graph_view.h"
  #include "../sequence_store.h"
  
  namespace Sequence {
  
  class GraphView : public Shared::FunctionGraphView {
  public:
    GraphView(SequenceStore * sequenceStore, Shared::InteractiveCurveViewRange * graphRange,
      Shared::CurveViewCursor * cursor, Shared::BannerView * bannerView, View * cursorView);
    void drawRect(KDContext * ctx, KDRect rect) const override;
  private:
    float samplingRatio() const override;
    SequenceStore * m_sequenceStore;
  };
  
  }
  
  #endif