summaryrefslogtreecommitdiff
path: root/tools/editor/editor_log.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/editor/editor_log.h')
-rw-r--r--tools/editor/editor_log.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/editor/editor_log.h b/tools/editor/editor_log.h
index 1141d03911..93044f9a2d 100644
--- a/tools/editor/editor_log.h
+++ b/tools/editor/editor_log.h
@@ -44,7 +44,8 @@ class EditorLog : public PanelContainer {
OBJ_TYPE( EditorLog, PanelContainer );
- ToolButton *button;
+ Button *button;
+ Button *clearbutton;
Label *title;
RichTextLabel *log;
TextureButton *tb;
@@ -58,10 +59,10 @@ class EditorLog : public PanelContainer {
Thread::ID current;
-
// void _dragged(const Point2& p_ofs);
void _close_request();
void _flip_request();
+ void _clear_request();
static void _undo_redo_cbk(void *p_self,const String& p_name);
protected:
@@ -72,7 +73,8 @@ public:
void add_message(const String& p_msg, bool p_error=false);
void deinit();
- ToolButton *get_button();
+ Button *get_button();
+ void clear();
EditorLog();
~EditorLog();
};