Programmer Guide/Macro Library: Difference between revisions

From STX Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 16: Line 16:


:{|class="keinrahmen"
:{|class="keinrahmen"
|[[/StdLib|StdLib.stx]]  
|[[/StdLib|StdLib.stx]] ||'''application management''' || —
| ||'''application management''' ||—
|[[/StdLib#AppLoad|AppLoad]] — [[/StdLib#AppMain|AppMain]] — [[/StdLib#AppCleanup|AppCleanup]] — [[/StdLib#AppHelp|AppHelp]]
|[[#AppLoad|AppLoad]] ||—
|[[#AppMain|AppMain]] ||—
|[[#AppCleanup|AppCleanup]] ||—
|[[#AppHelp|AppHelp]]
|-
|-
|—
| ||—
|-
|-
| ||'''message handling''' ||—
| ||'''message handling''' ||—
|[[#PostMessage|PostMessage]] ||—
|[[/StdLib#PostMessage|PostMessage]] — [[/StdLib#SetMsgHandler|SetMsgHandler]] — [[/StdLib#DispatchMsg|DispatchMsg]] — [[/StdLib#MsgQueue|MsgQueue]] — [[/StdLib#MsgFilter|MsgFilter]] — [[/StdLib#GetMessage|GetMessage]]
|[[#SetMsgHandler|SetMsgHandler]] ||—
|[[#DispatchMsg|DispatchMsg]] ||—
|[[#MsgQueue|MsgQueue]]
|-
|-
| || ||
| ||—
|[[#MsgFilter|MsgFilter]] ||—
|[[#GetMessage|GetMessage]]
|-
|—
|-
|-
| ||'''utilities for standard {{STX}} applications''' ||—
| ||'''utilities for standard {{STX}} applications''' ||—
|[[#ExtSetup|ExtSetup]] ||—
|[[/StdLib#ExtSetup|ExtSetup]] — [[/StdLib#PlayCursor|PlayCursor]] — [[/StdLib#GenerateScaleParams|GenerateScaleParams]] — [[/StdLib#MetaSegment|MetaSegment]]
|[[#PlayCursor|PlayCursor]] ||—
|[[#GenerateScaleParams|GenerateScaleParams]] ||—
|[[#MetaSegment|MetaSegment]]
|-
|-
|—
| ||—
|-
|-
| ||'''file functions''' ||—
| ||'''file functions''' ||—
|[[#stxFileTypeList|stxFileTypeList]] ||—
|[[/StdLib#stxFileTypeList|stxFileTypeList]] — [[/StdLib#stxFileType|stxFileType]] — [[/StdLib#SectionFile|SectionFile]] — [[/StdLib#FileToolBox|FileToolBox]]
|[[#stxFileType|stxFileType]] ||—
|[[#SectionFile|SectionFile]] ||—
|[[#FileToolBox|FileToolBox]]
|-
|-
|—
| ||—
|-
|-
| ||'''display functions''' ||—
| ||'''display functions''' ||—
|[[#LogWindow|LogWindow]] ||—
|[[/StdLib#LogWindow|LogWindow]] — [[/StdLib#ConLog|ConLog]] — [[/StdLib#UM and EM|UM and EM]] — [[/StdLib#ShowItem|ShowItem]]
|[[#ConLog|ConLog]] ||—
|[[#UM and EM|UM and EM]] ||—
|[[#ShowItem|ShowItem]]
|-
|-
|—
| ||—
|-
|-
| ||'''dialog and window functions''' ||—
| ||'''dialog and window functions''' ||—
|[[#CreateMenu|CreateMenu]] ||—
|[[/StdLib#CreateMenu|CreateMenu]] — [/StdLib#DoModalDialog|DoModalDialog]] — [[/StdLib#SetModalWindow|SetModalWindow]] — [[/StdLib#GetWindowPos|GetWindowPos]] — [[/StdLib#SetWindowPos|SetWindowPos]] — [[/StdLib#WindowSizeDlg|WindowSizeDlg]] — [[/StdLib#GetMonitor|GetMonitor]] — [[/StdLib#GetDesktop|GetDesktop]] — [[/StdLib#ProgressBox|ProgressBox]] — [[/StdLib#InitDialogItem|InitDialogItem]] — [[/StdLib#SetControlMode|SetControlMode]]
|[[#DoModalDialog|DoModalDialog]] ||&mdash
|[[#SetModalWindow|SetModalWindow]] ||—
|[[#GetWindowPos|GetWindowPos]]
|-
| || ||
|[[#SetWindowPos|SetWindowPos]] ||—
|[[#WindowSizeDlg|WindowSizeDlg]] ||—
|[[#GetMonitor|GetMonitor]] ||—
|[[#GetDesktop|GetDesktop]]
|-
| || ||
|[[#ProgressBox|ProgressBox]] ||—
|[[#InitDialogItem|InitDialogItem]] ||—
|[[#SetControlMode|SetControlMode]]
|-
|-
|—
| ||—
|-
|-
| ||'''[[Programmer_Guide/Shell_Items/SPU|SPU]] and [[Programmer_Guide/Shell_Items/Graph|graph]] functions''' ||—
| ||'''[[Programmer_Guide/Shell_Items/SPU|SPU]] and [[Programmer_Guide/Shell_Items/Graph|graph]] functions''' ||—
|[[#SetGraphXScale|SetGraphXScale]] ||—
|[[/StdLib#SetGraphXScale|SetGraphXScale]] — [[/StdLib#GetOutputValue|GetOutputValue]]
|[[#GetOutputValue|GetOutputValue]]
|-
|-
|—
| ||—
|-
|-
| ||'''[[Programmer_Guide/Shell_Items/SPU|SPUs]]''' ||—
| ||'''[[Programmer_Guide/Shell_Items/SPU|SPUs]]''' ||—
|[[#XScaleLinear|XScaleLinear]] ||—
|[[/StdLib#XScaleLinear|XScaleLinear]] — [[/StdLib#XScaleBark|XScaleBark]] — [[/StdLib#Table2Output|Table2Output]] — [[/StdLib#Wave2output|Wave2output]]
|[[#XScaleBark|XScaleBark]] ||—
|[[#Table2Output|Table2Output]] ||—
|[[#Wave2output|Wave2output]]
|}
|}



Revision as of 12:10, 12 May 2011


This section describes the STx standard macros and classes. They are all linked into the library file stx.lib, which is part of the standard installation, and loaded on program start.

alphabetical list of macros

sort=asc has no subpages to list.


StdLib.stx application management AppLoadAppMainAppCleanupAppHelp
message handling PostMessageSetMsgHandlerDispatchMsgMsgQueueMsgFilterGetMessage
utilities for standard STx applications ExtSetupPlayCursorGenerateScaleParamsMetaSegment
file functions stxFileTypeListstxFileTypeSectionFileFileToolBox
display functions LogWindowConLogUM and EMShowItem
dialog and window functions CreateMenu — [/StdLib#DoModalDialog|DoModalDialog]] — SetModalWindowGetWindowPosSetWindowPosWindowSizeDlgGetMonitorGetDesktopProgressBoxInitDialogItemSetControlMode
SPU and graph functions SetGraphXScaleGetOutputValue
SPUs XScaleLinearXScaleBarkTable2OutputWave2output



macro BSF - soundfile handling
NewDialog OpenDialog
Open Close CloseAll
Select Truncate


macro BUTIL - misc. utility functions
MsgBox EditBox
FileDialog Copy/Move/DeleteFile DirectoryDialog GetDirectory Directory
GetSwitch GetKeyWord GetKeyIndex
SelectTable

Navigation menu

Personal tools