mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Bring that Whole New World to the Old Continent too
Applies the clang-format style to the 2.1 branch as done for master in
5dbf1809c6.
This commit is contained in:
parent
1d418afe86
commit
f8db8a3faa
1308 changed files with 147754 additions and 174357 deletions
|
|
@ -34,42 +34,41 @@
|
|||
#include "scene/gui/rich_text_label.h"
|
||||
#include "scene/gui/texture_button.h"
|
||||
//#include "scene/gui/empty_control.h"
|
||||
#include "os/thread.h"
|
||||
#include "pane_drag.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
#include "scene/gui/panel_container.h"
|
||||
#include "scene/gui/texture_frame.h"
|
||||
#include "scene/gui/tool_button.h"
|
||||
#include "pane_drag.h"
|
||||
#include "os/thread.h"
|
||||
class EditorLog : public VBoxContainer {
|
||||
|
||||
OBJ_TYPE( EditorLog, VBoxContainer );
|
||||
OBJ_TYPE(EditorLog, VBoxContainer);
|
||||
|
||||
Button *clearbutton;
|
||||
Label *title;
|
||||
RichTextLabel *log;
|
||||
HBoxContainer *title_hb;
|
||||
// PaneDrag *pd;
|
||||
// PaneDrag *pd;
|
||||
Control *ec;
|
||||
|
||||
static void _error_handler(void *p_self, const char*p_func, const char*p_file,int p_line, const char*p_error,const char*p_errorexp,ErrorHandlerType p_type);
|
||||
static void _error_handler(void *p_self, const char *p_func, const char *p_file, int p_line, const char *p_error, const char *p_errorexp, ErrorHandlerType p_type);
|
||||
|
||||
ErrorHandlerList eh;
|
||||
|
||||
Thread::ID current;
|
||||
|
||||
// void _dragged(const Point2& p_ofs);
|
||||
// void _dragged(const Point2& p_ofs);
|
||||
void _clear_request();
|
||||
static void _undo_redo_cbk(void *p_self,const String& p_name);
|
||||
protected:
|
||||
static void _undo_redo_cbk(void *p_self, const String &p_name);
|
||||
|
||||
protected:
|
||||
static void _bind_methods();
|
||||
void _notification(int p_what);
|
||||
|
||||
public:
|
||||
|
||||
void add_message(const String& p_msg, bool p_error=false);
|
||||
void add_message(const String &p_msg, bool p_error = false);
|
||||
void deinit();
|
||||
|
||||
|
||||
void clear();
|
||||
EditorLog();
|
||||
~EditorLog();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue