Removed files.

master
David Capello 2007-09-29 00:10:27 +00:00
parent ec0d508f77
commit 7d8edff778
2 changed files with 0 additions and 49 deletions

View File

@ -1,10 +0,0 @@
-- ase -- allegro-sprite-editor: the ultimate sprites factory
-- Copyright (C) 2001-2005, 2007 by David A. Capello
function switch_recording_screen()
if is_rec_screen() then
rec_screen_off()
else
rec_screen_on()
end
end

View File

@ -1,39 +0,0 @@
-- ase -- allegro-sprite-editor: the ultimate sprites factory
-- Copyright (C) 2001-2005 by David A. Capello
function GUI_LoadSession()
local filename = ji_file_select(_("Load .ses File"), "", "ses")
if filename then
if load_session(filename) then
jalert(_("Session Manager<<Session loaded succefully<<Go to the \"List\" menu to see the loaded sprites||&OK"))
else
jalert(_("Session Manager<<Error loading session||&OK"))
end
end
end
function GUI_SaveSession()
local filename = ji_file_select(_("Save .ses File"), "", "ses")
if filename then
if save_session(filename) then
jalert(_("Session Manager<<Session saved succefully||&OK"))
else
jalert(_("Session Manager<<Error saving session||&OK"))
end
end
end
if is_interactive() and
is_backup_session() and
get_config_bool("Options", "AskBkpSes", true) then
local ret = jalert(_("Session Manager<<There is a backed up session(maybe a previous crash).<<Do you want to load it?||Never &ask||&No||&Yes"))
-- never ask again
if ret == 1 then
set_config_bool("Options", "AskBkpSes", false)
-- try to load it
elseif ret == 3 then
set_config_string("FileSelect", "CurrentDirectory", "data/session")
GUI_LoadSession()
end
end