mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2025-02-13 05:35:23 +01:00
updated to 2024.11 runtime
This commit is contained in:
parent
5aec6b3dde
commit
978748e37e
6 changed files with 49 additions and 49 deletions
|
@ -680,7 +680,7 @@
|
||||||
"isEcma":false,
|
"isEcma":false,
|
||||||
"LibraryEmitters":[],
|
"LibraryEmitters":[],
|
||||||
"MetaData":{
|
"MetaData":{
|
||||||
"IDEVersion":"2024.8.0.169",
|
"IDEVersion":"2024.11.0.179",
|
||||||
},
|
},
|
||||||
"name":"PixelComposer",
|
"name":"PixelComposer",
|
||||||
"resources":[
|
"resources":[
|
||||||
|
|
|
@ -62,7 +62,7 @@ if(content.showHeader) {
|
||||||
var _bs = ui(20);
|
var _bs = ui(20);
|
||||||
|
|
||||||
if(instanceof(content) != "Panel_Menu")
|
if(instanceof(content) != "Panel_Menu")
|
||||||
if(buttonInstant(THEME.button_hide, _bx, _by, _bs, _bs, [ mouse_mx, mouse_my ], sHOVER, sFOCUS, "", THEME.window_exit) == 2) {
|
if(buttonInstant(THEME.button_hide, _bx, _by, _bs, _bs, [ mouse_mx, mouse_my ], sHOVER, sFOCUS, "", THEME.window_exit_icon) == 2) {
|
||||||
DIALOG_POSTDRAW
|
DIALOG_POSTDRAW
|
||||||
onDestroy();
|
onDestroy();
|
||||||
instance_destroy();
|
instance_destroy();
|
||||||
|
|
|
@ -12,7 +12,7 @@ if !ready exit;
|
||||||
var _by = dialog_y + ui(8);
|
var _by = dialog_y + ui(8);
|
||||||
var _bs = ui(20);
|
var _bs = ui(20);
|
||||||
|
|
||||||
if(buttonInstant(THEME.button_hide, _bx, _by, _bs, _bs, [ mouse_mx, mouse_my ], sHOVER, sFOCUS, "", THEME.window_exit) == 2) {
|
if(buttonInstant(THEME.button_hide, _bx, _by, _bs, _bs, [ mouse_mx, mouse_my ], sHOVER, sFOCUS, "", THEME.window_exit_icon) == 2) {
|
||||||
DIALOG_POSTDRAW
|
DIALOG_POSTDRAW
|
||||||
onDestroy();
|
onDestroy();
|
||||||
instance_destroy();
|
instance_destroy();
|
||||||
|
|
|
@ -642,9 +642,9 @@
|
||||||
|
|
||||||
//file
|
//file
|
||||||
[ "file_exists_empty", file_exists_empty ],
|
[ "file_exists_empty", file_exists_empty ],
|
||||||
[ "file_delete", file_delete ],
|
//[ "file_delete", file_delete ],
|
||||||
[ "file_rename", file_rename ],
|
//[ "file_rename", file_rename ],
|
||||||
[ "file_copy", file_copy ],
|
//[ "file_copy", file_copy ],
|
||||||
[ "file_find_first", file_find_first ],
|
[ "file_find_first", file_find_first ],
|
||||||
[ "file_find_next", file_find_next ],
|
[ "file_find_next", file_find_next ],
|
||||||
[ "file_find_close", file_find_close ],
|
[ "file_find_close", file_find_close ],
|
||||||
|
@ -662,44 +662,44 @@
|
||||||
[ "get_save_filename", get_save_filename ],
|
[ "get_save_filename", get_save_filename ],
|
||||||
[ "get_save_filename_ext", get_save_filename_ext ],
|
[ "get_save_filename_ext", get_save_filename_ext ],
|
||||||
|
|
||||||
[ "ini_open", ini_open ],
|
//[ "ini_open", ini_open ],
|
||||||
[ "ini_close", ini_close ],
|
//[ "ini_close", ini_close ],
|
||||||
[ "ini_write_real", ini_write_real ],
|
//[ "ini_write_real", ini_write_real ],
|
||||||
[ "ini_write_string", ini_write_string ],
|
//[ "ini_write_string", ini_write_string ],
|
||||||
[ "ini_read_real", ini_read_real ],
|
//[ "ini_read_real", ini_read_real ],
|
||||||
[ "ini_read_string", ini_read_string ],
|
//[ "ini_read_string", ini_read_string ],
|
||||||
[ "ini_key_exists", ini_key_exists ],
|
//[ "ini_key_exists", ini_key_exists ],
|
||||||
[ "ini_section_exists", ini_section_exists ],
|
//[ "ini_section_exists", ini_section_exists ],
|
||||||
[ "ini_key_delete", ini_key_delete ],
|
//[ "ini_key_delete", ini_key_delete ],
|
||||||
[ "ini_section_delete", ini_section_delete ],
|
//[ "ini_section_delete", ini_section_delete ],
|
||||||
[ "ini_open_from_string", ini_open_from_string ],
|
//[ "ini_open_from_string", ini_open_from_string ],
|
||||||
|
|
||||||
[ "file_text_open_read", file_text_open_read ],
|
//[ "file_text_open_read", file_text_open_read ],
|
||||||
[ "file_text_open_write", file_text_open_write ],
|
//[ "file_text_open_write", file_text_open_write ],
|
||||||
[ "file_text_open_append", file_text_open_append ],
|
//[ "file_text_open_append", file_text_open_append ],
|
||||||
[ "file_text_open_from_string", file_text_open_from_string ],
|
//[ "file_text_open_from_string", file_text_open_from_string ],
|
||||||
[ "file_text_read_real", file_text_read_real ],
|
//[ "file_text_read_real", file_text_read_real ],
|
||||||
[ "file_text_read_string", file_text_read_string ],
|
//[ "file_text_read_string", file_text_read_string ],
|
||||||
[ "file_text_readln", file_text_readln ],
|
//[ "file_text_readln", file_text_readln ],
|
||||||
[ "file_text_write_real", file_text_write_real ],
|
//[ "file_text_write_real", file_text_write_real ],
|
||||||
[ "file_text_write_string", file_text_write_string ],
|
//[ "file_text_write_string", file_text_write_string ],
|
||||||
[ "file_text_writeln", file_text_writeln ],
|
//[ "file_text_writeln", file_text_writeln ],
|
||||||
[ "file_text_eoln", file_text_eoln ],
|
//[ "file_text_eoln", file_text_eoln ],
|
||||||
[ "file_text_eof", file_text_eof ],
|
//[ "file_text_eof", file_text_eof ],
|
||||||
[ "file_text_close", file_text_close ],
|
//[ "file_text_close", file_text_close ],
|
||||||
|
|
||||||
[ "file_bin_open", file_bin_open ],
|
//[ "file_bin_open", file_bin_open ],
|
||||||
[ "file_bin_rewrite", file_bin_rewrite ],
|
//[ "file_bin_rewrite", file_bin_rewrite ],
|
||||||
[ "file_bin_close", file_bin_close ],
|
//[ "file_bin_close", file_bin_close ],
|
||||||
[ "file_bin_size", file_bin_size ],
|
//[ "file_bin_size", file_bin_size ],
|
||||||
[ "file_bin_position", file_bin_position ],
|
//[ "file_bin_position", file_bin_position ],
|
||||||
[ "file_bin_seek", file_bin_seek ],
|
//[ "file_bin_seek", file_bin_seek ],
|
||||||
[ "file_bin_write_byte", file_bin_write_byte ],
|
//[ "file_bin_write_byte", file_bin_write_byte ],
|
||||||
[ "file_bin_read_byte", file_bin_read_byte ],
|
//[ "file_bin_read_byte", file_bin_read_byte ],
|
||||||
|
|
||||||
[ "directory_exists", directory_exists ],
|
//[ "directory_exists", directory_exists ],
|
||||||
[ "directory_create", directory_create ],
|
//[ "directory_create", directory_create ],
|
||||||
[ "directory_destroy", directory_destroy ],
|
//[ "directory_destroy", directory_destroy ],
|
||||||
[ "temp_directory", function() { return temp_directory } ],
|
[ "temp_directory", function() { return temp_directory } ],
|
||||||
[ "working_directory", function() { return working_directory } ],
|
[ "working_directory", function() { return working_directory } ],
|
||||||
[ "program_directory", function() { return program_directory } ],
|
[ "program_directory", function() { return program_directory } ],
|
||||||
|
|
|
@ -546,7 +546,7 @@ function Panel_Menu() : PanelContent() constructor {
|
||||||
|
|
||||||
switch(action) {
|
switch(action) {
|
||||||
case "exit":
|
case "exit":
|
||||||
var b = buttonInstant(THEME.button_hide_fill, x1 - bs, ui(6), bs, bs, [mx, my], pHOVER, true,, THEME.window_exit, 0, COLORS._main_accent);
|
var b = buttonInstant(THEME.button_hide_fill, x1 - bs, ui(6), bs, bs, [mx, my], pHOVER, true,, THEME.window_exit_icon, 0, COLORS._main_accent);
|
||||||
if(b) _draggable = false;
|
if(b) _draggable = false;
|
||||||
if(b == 2) window_close();
|
if(b == 2) window_close();
|
||||||
break;
|
break;
|
||||||
|
@ -556,7 +556,7 @@ function Panel_Menu() : PanelContent() constructor {
|
||||||
if(OS == os_macosx)
|
if(OS == os_macosx)
|
||||||
win_max = __win_is_maximized;
|
win_max = __win_is_maximized;
|
||||||
|
|
||||||
var b = buttonInstant(THEME.button_hide_fill, x1 - bs, ui(6), bs, bs, [mx, my], pHOVER, true,, THEME.window_maximize, win_max, [ COLORS._main_icon, CDEF.lime ]);
|
var b = buttonInstant(THEME.button_hide_fill, x1 - bs, ui(6), bs, bs, [mx, my], pHOVER, true,, THEME.window_maximize_icon, win_max, [ COLORS._main_icon, CDEF.lime ]);
|
||||||
if(b) _draggable = false;
|
if(b) _draggable = false;
|
||||||
if(b == 2) {
|
if(b == 2) {
|
||||||
if(OS == os_windows) {
|
if(OS == os_windows) {
|
||||||
|
@ -581,7 +581,7 @@ function Panel_Menu() : PanelContent() constructor {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "minimize":
|
case "minimize":
|
||||||
var b = buttonInstant(THEME.button_hide_fill, x1 - bs, ui(6), bs, bs, [mx, my], pHOVER, true,, THEME.window_minimize, 0, [ COLORS._main_icon, CDEF.yellow ]);
|
var b = buttonInstant(THEME.button_hide_fill, x1 - bs, ui(6), bs, bs, [mx, my], pHOVER, true,, THEME.window_minimize_icon, 0, [ COLORS._main_icon, CDEF.yellow ]);
|
||||||
if(b) _draggable = false;
|
if(b) _draggable = false;
|
||||||
if(b == -2) {
|
if(b == -2) {
|
||||||
if(OS == os_windows) winMan_Minimize();
|
if(OS == os_windows) winMan_Minimize();
|
||||||
|
@ -591,7 +591,7 @@ function Panel_Menu() : PanelContent() constructor {
|
||||||
|
|
||||||
case "fullscreen":
|
case "fullscreen":
|
||||||
var win_full = window_is_fullscreen;
|
var win_full = window_is_fullscreen;
|
||||||
var b = buttonInstant(THEME.button_hide_fill, x1 - bs, ui(6), bs, bs, [mx, my], pHOVER, true,, THEME.window_fullscreen, win_full, [ COLORS._main_icon, CDEF.cyan ]);
|
var b = buttonInstant(THEME.button_hide_fill, x1 - bs, ui(6), bs, bs, [mx, my], pHOVER, true,, THEME.window_fullscreen_icon, win_full, [ COLORS._main_icon, CDEF.cyan ]);
|
||||||
if(b) _draggable = false;
|
if(b) _draggable = false;
|
||||||
if(b == 2) {
|
if(b == 2) {
|
||||||
if(OS == os_windows)
|
if(OS == os_windows)
|
||||||
|
|
|
@ -193,10 +193,10 @@ function Theme() constructor {
|
||||||
visible_12 = s_visible_12;
|
visible_12 = s_visible_12;
|
||||||
visible = s_visible;
|
visible = s_visible;
|
||||||
wiki = s_wiki;
|
wiki = s_wiki;
|
||||||
window_exit = s_window_exit;
|
window_exit_icon = s_window_exit;
|
||||||
window_fullscreen = s_window_fullscreen;
|
window_fullscreen_icon = s_window_fullscreen;
|
||||||
window_maximize = s_window_maximize;
|
window_maximize_icon = s_window_maximize;
|
||||||
window_minimize = s_window_minimize;
|
window_minimize_icon = s_window_minimize;
|
||||||
workshop_collection = s_group_workshop;
|
workshop_collection = s_group_workshop;
|
||||||
workshop_project = s_project_workshop;
|
workshop_project = s_project_workshop;
|
||||||
workshop_update = s_workshop_update;
|
workshop_update = s_workshop_update;
|
||||||
|
|
Loading…
Reference in a new issue