Blame view

build1/epsilon-master/apps/sequence/graph/curve_view_range.h 551 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_CURVE_VIEW_RANGE_H
  #define SEQUENCE_CURVE_VIEW_RANGE_H
  
  #include "../../shared/interactive_curve_view_range.h"
  
  namespace Sequence {
  
  class CurveViewRange : public Shared::InteractiveCurveViewRange {
  public:
    CurveViewRange(Shared::CurveViewCursor * cursor, Shared::InteractiveCurveViewRangeDelegate * delegate = nullptr);
    void roundAbscissa() override;
    void normalize() override;
    void setTrigonometric() override;
    void setDefault() override;
  private:
    constexpr static float k_displayLeftMarginRatio = 0.05f;
  };
  
  }
  
  #endif