mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-11-13 05:53:53 +01:00
25 lines
552 B
Plaintext
25 lines
552 B
Plaintext
/// @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) {
|
|
PROJECT.animator.frames_total = real(str);
|
|
})
|
|
|
|
tb_framerate = new textBox(TEXTBOX_INPUT.number, function(str) {
|
|
PROJECT.animator.framerate = real(str);
|
|
})
|
|
|
|
eb_playback = new buttonGroup([__txt("Loop"), __txt("Stop")], function(b) {
|
|
PROJECT.animator.playback = b;
|
|
});
|
|
#endregion |