mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-29 07:07:14 +01:00
CurveEdit needs to inherit from Button.
This commit is contained in:
parent
0ee27d830b
commit
59baf2088f
@ -1,13 +1,13 @@
|
|||||||
#ifndef CURVE_EDIT_H
|
#ifndef CURVE_EDIT_H
|
||||||
#define CURVE_EDIT_H
|
#define CURVE_EDIT_H
|
||||||
|
|
||||||
#include "scene/gui/control.h"
|
#include "scene/gui/button.h"
|
||||||
|
|
||||||
class CurveView;
|
class CurveView;
|
||||||
class CurveBase;
|
class CurveBase;
|
||||||
|
|
||||||
class CurveEdit : public Control {
|
class CurveEdit : public Button {
|
||||||
GDCLASS(CurveEdit, Control);
|
GDCLASS(CurveEdit, Button);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Ref<CurveBase> get_value();
|
Ref<CurveBase> get_value();
|
||||||
|
Loading…
Reference in New Issue
Block a user