mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-26 23:17:25 +01:00
25 lines
No EOL
510 B
Text
25 lines
No EOL
510 B
Text
/// @description init
|
|
event_inherited();
|
|
|
|
#region data
|
|
anchor = ANCHOR.right | ANCHOR.bottom;
|
|
|
|
dialog_w = ui(368);
|
|
dialog_h = ui(188);
|
|
|
|
destroy_on_click_out = true;
|
|
#endregion
|
|
|
|
#region data
|
|
tb_length = new textBox(TEXTBOX_INPUT.number, function(str) {
|
|
ANIMATOR.frames_total = real(str);
|
|
})
|
|
|
|
tb_framerate = new textBox(TEXTBOX_INPUT.number, function(str) {
|
|
ANIMATOR.framerate = real(str);
|
|
})
|
|
|
|
eb_playback = buttonGroup(["Loop", "Stop"], function(b) {
|
|
ANIMATOR.playback = b;
|
|
});
|
|
#endregion |