32 lines
621 B
C++
32 lines
621 B
C++
#ifndef VOXEL_ABOUT_WINDOW_H
|
|
#define VOXEL_ABOUT_WINDOW_H
|
|
|
|
#include <scene/gui/dialogs.h>
|
|
|
|
class TextureRect;
|
|
class RichTextLabel;
|
|
|
|
namespace zylann::voxel {
|
|
|
|
class VoxelAboutWindow : public AcceptDialog {
|
|
GDCLASS(VoxelAboutWindow, AcceptDialog)
|
|
public:
|
|
VoxelAboutWindow();
|
|
|
|
protected:
|
|
void _notification(int p_what);
|
|
|
|
private:
|
|
void _on_about_rich_text_label_meta_clicked(Variant meta);
|
|
void _on_third_party_list_item_selected(int index);
|
|
|
|
static void _bind_methods();
|
|
|
|
TextureRect *_icon_texture_rect;
|
|
RichTextLabel *_third_party_rich_text_label;
|
|
};
|
|
|
|
} // namespace zylann::voxel
|
|
|
|
#endif // VOXEL_ABOUT_WINDOW_H
|