TempleOSCD_140715.ISO

This commit is contained in:
Terry A. Davis authored and minexew committed 2018-09-08 21:46:09 +02:00
1 parent 7ef616a20e
commit 64f679eeb9
1095 files changed
+24814 -221011

No files matched your search

+5 -9
View File
@@ -1,9 +1,9 @@
#help_index "Task/Settings"
public CTaskSettings *SettingsPush(CTask *task=NULL,I64 flags=0)
{ //This is typically used at the start of an application.
//It saves many settings so they can be restored
//at the end of the application with $LK,"SettingsPop",A="MN:SettingsPop"$().
{//Typically, called at start of an application.
//It saves many settings so they can be restored
//at the end of the application with $LK,"SettingsPop",A="MN:SettingsPop"$().
CTaskSettings *tempse;
CDoc *doc;
@@ -41,7 +41,6 @@ public CTaskSettings *SettingsPush(CTask *task=NULL,I64 flags=0)
tempse->scroll_z=task->scroll_z;
tempse->win_inhibit=task->win_inhibit;
tempse->win_max_refresh=task->win_max_refresh;
tempse->text_attr=task->text_attr;
StrCpy(tempse->task_title,task->task_title);
tempse->title_src =task->title_src;
@@ -49,7 +48,7 @@ public CTaskSettings *SettingsPush(CTask *task=NULL,I64 flags=0)
tempse->border_src =task->border_src;
tempse->border=!Bt(&task->display_flags,DISPLAYf_NO_BORDER);
tempse->preempt=Bt(&task->task_flags,TASKf_PREEMPT);
if (TaskValidate(ws_task))
if (TaskValidate(ws.task))
tempse->wordstat=TRUE;
else
tempse->wordstat=FALSE;
@@ -75,7 +74,6 @@ U0 SettingsPop2(CTask *task,CTaskSettings *tempse)
task->scroll_y=tempse->scroll_y;
task->scroll_z=tempse->scroll_z;
task->win_inhibit=tempse->win_inhibit;
task->win_max_refresh=tempse->win_max_refresh;
task->text_attr=tempse->text_attr;
task->border_attr=tempse->border_attr;
task->border_src =tempse->border_src;
@@ -87,7 +85,7 @@ U0 SettingsPop2(CTask *task,CTaskSettings *tempse)
}
public U0 SettingsPop(CTask *task=NULL,I64 flags=0)
{
{//Typically, called at end of an application.
CTaskSettings *tempse;
Bool old_preempt=Preempt(OFF);
if (!task) task=Fs;
@@ -122,5 +120,3 @@ public U0 SettingsPop(CTask *task=NULL,I64 flags=0)
} else
Preempt(old_preempt);
}
#help_index ""