Pixel-Composer/objects/o_dialog_scrollbox/Draw_64.gml

14 lines
503 B
Plaintext
Raw Normal View History

2022-01-13 05:24:03 +01:00
/// @description init
#region draw
2023-01-04 02:30:04 +01:00
draw_sprite_stretched(THEME.textbox, 3, dialog_x, dialog_y, dialog_w, dialog_h);
2023-03-23 13:38:50 +01:00
WIDGET_CURRENT = tb_search;
tb_search.setActiveFocus(true, true);
tb_search.draw(dialog_x + ui(8), dialog_y + ui(8), dialog_w - ui(16), ui(24), search_string);
tb_search.sprite_index = 0;
2023-03-25 12:27:04 +01:00
sc_content.setActiveFocus(sHOVER, sFOCUS);
2023-03-23 13:38:50 +01:00
sc_content.draw(dialog_x, dialog_y + ui(16 + 24));
2023-01-04 02:30:04 +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