Pixel-Composer/objects/o_dialog_file_name/Draw_64.gml

13 lines
519 B
Text
Raw Normal View History

2022-01-13 05:24:03 +01:00
/// @description init
#region base UI
2023-01-04 02:30:04 +01:00
draw_sprite_stretched(THEME.textbox, 3, dialog_x, dialog_y, dialog_w, dialog_h);
2022-11-18 03:20:31 +01:00
draw_sprite_stretched(THEME.textbox, 1, dialog_x, dialog_y, dialog_w, dialog_h);
2022-01-13 05:24:03 +01:00
#endregion
#region draw TB
2024-09-12 12:42:35 +02:00
draw_set_text(f_p1, fa_left, fa_center, COLORS._main_icon);
2023-06-05 18:27:53 +02:00
draw_text(dialog_x + ui(8), dialog_y + dialog_h / 2, __txt("Name"));
2022-01-13 05:24:03 +01:00
2023-06-21 20:36:53 +02:00
tb_name.setFocusHover(sFOCUS, sHOVER);
2024-05-29 04:41:08 +02:00
tb_name.draw(dialog_x + ui(64), dialog_y + ui(8), dialog_w - ui(72), dialog_h - ui(16), name, mouse_ui);
2022-01-13 05:24:03 +01:00
#endregion