mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-26 01:00:50 +01:00
[apps] In curve view, avoid to reload the whole view when reloading
cursor Change-Id: Ie8c0e100159201cc6b11122eeb567c68092a7b06
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
|
||||
namespace Graph {
|
||||
|
||||
GraphView::GraphView(FunctionStore * functionStore, InteractiveCurveViewRange * graphRange, CurveViewCursor * cursor, View * bannerView, View * cursorView) :
|
||||
CurveView(graphRange, cursor, bannerView, cursorView, 0.0f, 0.0f, 0.2f, 0.0f),
|
||||
GraphView::GraphView(FunctionStore * functionStore, InteractiveCurveViewRange * graphRange, CurveViewCursor * cursor, ::BannerView * bannerView, View * cursorView) :
|
||||
CurveView(graphRange, cursor, bannerView, cursorView, 0.0f, 0.0f, 0.1f, 0.0f),
|
||||
m_functionStore(functionStore),
|
||||
m_context(nullptr)
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Graph {
|
||||
|
||||
class GraphView : public CurveView {
|
||||
public:
|
||||
GraphView(FunctionStore * functionStore, InteractiveCurveViewRange * graphRange, CurveViewCursor * cursor, View * bannerView, View * cursorView);
|
||||
GraphView(FunctionStore * functionStore, InteractiveCurveViewRange * graphRange, CurveViewCursor * cursor, ::BannerView * bannerView, View * cursorView);
|
||||
void drawRect(KDContext * ctx, KDRect rect) const override;
|
||||
void setContext(Context * context);
|
||||
Context * context() const;
|
||||
|
||||
Reference in New Issue
Block a user