Pixel-Composer/scripts/display_refresh/display_refresh.gml

21 lines
345 B
Plaintext
Raw Normal View History

2023-11-28 06:50:54 +01:00
function window_refresh() {
2023-03-11 01:40:17 +01:00
o_main.win_wp = WIN_W;
o_main.win_hp = WIN_H;
room_width = WIN_W;
room_height = WIN_H;
2022-11-01 03:06:03 +01:00
display_set_gui_size(WIN_SW, WIN_SH);
2023-11-28 06:50:54 +01:00
}
function display_refresh() {
window_refresh();
2022-11-01 03:06:03 +01:00
clearPanel();
2023-03-11 06:40:34 +01:00
resetPanel();
2022-11-01 03:06:03 +01:00
PANEL_GRAPH.fullView();
PANEL_PREVIEW.fullView();
2024-02-11 13:22:20 +01:00
run_in(10, Render);
2022-11-01 03:06:03 +01:00
PREF_SAVE();
}