Pixel-Composer/objects/o_dialog_scrollbox/Draw_64.gml

14 lines
496 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;
2023-06-21 20:36:53 +02:00
tb_search.setFocusHover(true, true);
2023-03-23 13:38:50 +01:00
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-06-21 20:36:53 +02:00
sc_content.setFocusHover(sFOCUS, sHOVER);
2023-11-27 11:40:28 +01:00
sc_content.draw(dialog_x, dialog_y + ui(40));
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