mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
8b1dcbfe4d
-Made asset sharing support https -Many fixes to HTTPRequest -Added an asset installer dialog -Visual cleanups to asset sharing tab -Fixed some issues in ScrollContainer, hope it does not break things -Asset sharing tab is not visible (hidden on purpose) for now.
29 lines
630 B
C++
29 lines
630 B
C++
#ifndef EDITORASSETINSTALLER_H
|
|
#define EDITORASSETINSTALLER_H
|
|
|
|
|
|
#include "scene/gui/dialogs.h"
|
|
#include "scene/gui/tree.h"
|
|
class EditorAssetInstaller : public ConfirmationDialog {
|
|
|
|
OBJ_TYPE( EditorAssetInstaller, ConfirmationDialog );
|
|
|
|
Tree *tree;
|
|
String package_path;
|
|
AcceptDialog *error;
|
|
Map<String,TreeItem*> status_map;
|
|
bool updating;
|
|
void _update_subitems(TreeItem* p_item,bool p_check,bool p_first=false);
|
|
void _item_edited();
|
|
virtual void ok_pressed();
|
|
protected:
|
|
|
|
static void _bind_methods();
|
|
public:
|
|
|
|
void open(const String& p_path,int p_depth=0);
|
|
EditorAssetInstaller();
|
|
};
|
|
|
|
#endif // EDITORASSETINSTALLER_H
|