2022-01-13 05:24:03 +01:00
|
|
|
/// @description init
|
|
|
|
if !ready exit;
|
|
|
|
|
|
|
|
#region base UI
|
2022-11-18 03:20:31 +01:00
|
|
|
draw_sprite_stretched(THEME.dialog_bg, 0, dialog_x, dialog_y, dialog_w, dialog_h);
|
2022-11-03 11:44:49 +01:00
|
|
|
if(sFOCUS)
|
2022-11-18 03:20:31 +01:00
|
|
|
draw_sprite_stretched_ext(THEME.dialog_active, 0, dialog_x, dialog_y, dialog_w, dialog_h, COLORS._main_accent, 1);
|
2022-01-13 05:24:03 +01:00
|
|
|
#endregion
|
|
|
|
|
|
|
|
#region about
|
|
|
|
var cx = dialog_x + dialog_w / 2;
|
2022-11-03 11:44:49 +01:00
|
|
|
var ly = dialog_y + ui(96);
|
2022-01-13 05:24:03 +01:00
|
|
|
|
2022-11-18 03:20:31 +01:00
|
|
|
draw_sprite_ui_uniform(THEME.icon_64, 0, cx, dialog_y + ui(56));
|
|
|
|
draw_set_text(f_h3, fa_center, fa_top, COLORS._main_text_accent);
|
2022-11-03 11:44:49 +01:00
|
|
|
draw_text(cx, ly, "Pixel Composer");
|
2022-01-13 05:24:03 +01:00
|
|
|
|
2023-05-28 20:00:51 +02:00
|
|
|
ly += line_get_height();
|
2022-11-18 03:20:31 +01:00
|
|
|
draw_set_text(f_p0, fa_center, fa_top, COLORS._main_text_sub);
|
2022-11-03 11:44:49 +01:00
|
|
|
draw_text(cx, ly, "2021, MakhamDev");
|
2022-01-13 05:24:03 +01:00
|
|
|
|
2022-11-03 11:44:49 +01:00
|
|
|
var thank_y = dialog_y + ui(188);
|
2022-11-18 03:20:31 +01:00
|
|
|
draw_sprite_stretched(THEME.ui_panel_bg, 0, dialog_x + ui(24), thank_y - ui(8), dialog_w - ui(48), thank_h + ui(16));
|
2023-06-21 20:36:53 +02:00
|
|
|
sc_thank.setFocusHover(sFOCUS, sHOVER);
|
2022-11-03 11:44:49 +01:00
|
|
|
sc_thank.draw(dialog_x + ui(32), thank_y);
|
2022-01-13 05:24:03 +01:00
|
|
|
#endregion
|