2023-02-14 02:48:33 +01:00
|
|
|
/// @description init
|
|
|
|
event_inherited();
|
|
|
|
|
|
|
|
#region data
|
|
|
|
dialog_w = ui(360);
|
2024-09-12 12:42:35 +02:00
|
|
|
dialog_h = ui(48);
|
2023-02-14 02:48:33 +01:00
|
|
|
|
|
|
|
dialog_w_expand = ui(480);
|
|
|
|
dialog_h_expand = ui(570);
|
|
|
|
|
2024-09-12 12:42:35 +02:00
|
|
|
draggable = true;
|
2023-02-14 02:48:33 +01:00
|
|
|
|
2023-08-10 11:51:16 +02:00
|
|
|
destroy_on_click_out = false;
|
2023-02-14 02:48:33 +01:00
|
|
|
|
2023-11-27 14:50:20 +01:00
|
|
|
meta = PROJECT.meta.clone();
|
2023-02-14 02:48:33 +01:00
|
|
|
meta_expand = false;
|
2023-10-18 14:58:55 +02:00
|
|
|
updating = noone;
|
|
|
|
update_note = "Updated";
|
2023-11-26 13:16:38 +01:00
|
|
|
onModify = -1;
|
2023-02-14 02:48:33 +01:00
|
|
|
|
2023-11-26 13:16:38 +01:00
|
|
|
node = noone;
|
2023-04-21 19:08:10 +02:00
|
|
|
data_path = "";
|
|
|
|
|
2023-02-14 02:48:33 +01:00
|
|
|
ugc = 0;
|
|
|
|
ugc_loading = false;
|
2023-11-26 13:16:38 +01:00
|
|
|
|
|
|
|
KEYBOARD_STRING = "";
|
2024-09-12 12:42:35 +02:00
|
|
|
tb_name = new textBox( TEXTBOX_INPUT.text, function(str) /*=>*/ { meta.name = filename_name_validate(str); });
|
|
|
|
t_desc = new textArea(TEXTBOX_INPUT.text, function(str) /*=>*/ { meta.description = str; });
|
|
|
|
t_auth = new textArea(TEXTBOX_INPUT.text, function(str) /*=>*/ { meta.author = str; });
|
|
|
|
t_cont = new textArea(TEXTBOX_INPUT.text, function(str) /*=>*/ { meta.contact = str; });
|
|
|
|
t_alias = new textArea(TEXTBOX_INPUT.text, function(str) /*=>*/ { meta.alias = str; });
|
|
|
|
t_update = new textArea(TEXTBOX_INPUT.text, function(str) /*=>*/ { update_note = str; });
|
|
|
|
t_tags = new textArrayBox(function() /*=>*/ {return meta.tags}, META_TAGS);
|
2023-10-18 14:58:55 +02:00
|
|
|
|
|
|
|
t_desc.auto_update = true;
|
|
|
|
t_auth.auto_update = true;
|
|
|
|
t_cont.auto_update = true;
|
|
|
|
t_alias.auto_update = true;
|
|
|
|
t_update.auto_update = true;
|
2023-02-14 02:48:33 +01:00
|
|
|
|
2023-02-28 09:43:01 +01:00
|
|
|
function doExpand() {
|
2023-02-14 02:48:33 +01:00
|
|
|
meta_expand = true;
|
|
|
|
|
|
|
|
dialog_w = dialog_w_expand;
|
|
|
|
dialog_h = dialog_h_expand;
|
|
|
|
}
|
|
|
|
#endregion
|