godot_voxel/editor/about_window.h

32 lines
621 B
C
Raw Normal View History

2020-12-17 21:45:44 +00:00
#ifndef VOXEL_ABOUT_WINDOW_H
#define VOXEL_ABOUT_WINDOW_H
#include <scene/gui/dialogs.h>
class TextureRect;
class RichTextLabel;
2020-12-17 21:45:44 +00:00
2022-01-09 22:13:10 +00:00
namespace zylann::voxel {
class VoxelAboutWindow : public AcceptDialog {
GDCLASS(VoxelAboutWindow, AcceptDialog)
2020-12-17 21:45:44 +00:00
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);
2020-12-17 21:45:44 +00:00
static void _bind_methods();
TextureRect *_icon_texture_rect;
RichTextLabel *_third_party_rich_text_label;
2020-12-17 21:45:44 +00:00
};
2022-01-09 22:13:10 +00:00
} // namespace zylann::voxel
2020-12-17 21:45:44 +00:00
#endif // VOXEL_ABOUT_WINDOW_H