📄 terminal_interface-curses__ads.htm
字号:
<b>pragma</b> Inline (Standard_Window); <FONT COLOR=green><EM>-- #1A NAME="AFU_2"#2|</EM></FONT> <b>procedure</b> Init_Screen; <FONT COLOR=green><EM>-- #1A NAME="AFU_3"#2|</EM></FONT> <b>procedure</b> Init_Windows <b>renames</b> Init_Screen; <FONT COLOR=green><EM>-- AKA: <A HREF="../man/curs_initscr.3x.html">initscr()</A></EM></FONT> <b>pragma</b> Inline (<A HREF="terminal_interface-curses__ads.htm#482_14">Init_Screen</A>); <b>pragma</b> Inline (Init_Windows); <FONT COLOR=green><EM>-- #1A NAME="AFU_4"#2|</EM></FONT> <b>procedure</b> End_Windows; <FONT COLOR=green><EM>-- AKA: <A HREF="../man/curs_initscr.3x.html">endwin()</A></EM></FONT> <b>procedure</b> End_Screen <b>renames</b> End_Windows; <b>pragma</b> Inline (<A HREF="terminal_interface-curses__ads.htm#490_14">End_Windows</A>); <b>pragma</b> Inline (End_Screen); <FONT COLOR=green><EM>-- #1A NAME="AFU_5"#2|</EM></FONT> <b>function</b> Is_End_Window <b>return</b> Boolean; <FONT COLOR=green><EM>-- AKA: <A HREF="../man/curs_initscr.3x.html">isendwin()</A></EM></FONT> <b>pragma</b> Inline (Is_End_Window); <FONT COLOR=green><EM>-- |=====================================================================</EM></FONT> <FONT COLOR=green><EM>-- | Man page <A HREF="../man/curs_move.3x.html">curs_move.3x</A></EM></FONT> <FONT COLOR=green><EM>-- |=====================================================================</EM></FONT> <FONT COLOR=green><EM>-- #1A NAME="AFU_6"#2|</EM></FONT> <b>procedure</b> Move_Cursor (<FONT COLOR=red><A NAME="505_27">Win</A></FONT> : <b>in</b> <A HREF="terminal_interface-curses__ads.htm#59_9">Window</A> := Standard_Window; <FONT COLOR=red><A NAME="506_27">Line</A></FONT> : <b>in</b> <A HREF="terminal_interface-curses__ads.htm#60_9">Line_Position</A>; Column : <b>in</b> Column_Position); <FONT COLOR=green><EM>-- AKA: <A HREF="../man/curs_move.3x.html">wmove()</A></EM></FONT> <FONT COLOR=green><EM>-- AKA: move()</EM></FONT> <b>pragma</b> Inline (Move_Cursor); <FONT COLOR=green><EM>-- |=====================================================================</EM></FONT> <FONT COLOR=green><EM>-- | Man page <A HREF="../man/curs_addch.3x.html">curs_addch.3x</A></EM></FONT> <FONT COLOR=green><EM>-- |=====================================================================</EM></FONT> <FONT COLOR=green><EM>-- #1A NAME="AFU_7"#2|</EM></FONT> <b>procedure</b> Add (<FONT COLOR=red><A NAME="517_19">Win</A></FONT> : <b>in</b> <A HREF="terminal_interface-curses__ads.htm#351_9">Window</A> := Standard_Window; Ch : <b>in</b> Attributed_Character); <FONT COLOR=green><EM>-- AKA: <A HREF="../man/curs_addch.3x.html">waddch()</A></EM></FONT> <FONT COLOR=green><EM>-- AKA: addch()</EM></FONT> <b>procedure</b> Add (<FONT COLOR=red><A NAME="522_19">Win</A></FONT> : <b>in</b> Window := Standard_Window; Ch : <b>in</b> Character); <FONT COLOR=green><EM>-- Add a single character at the current logical cursor position to</EM></FONT> <FONT COLOR=green><EM>-- the window. Use the current windows attributes.</EM></FONT> <FONT COLOR=green><EM>-- #1A NAME="AFU_8"#2|</EM></FONT> <b>procedure</b> Add (<FONT COLOR=red><A NAME="529_7">Win</A></FONT> : <b>in</b> <A HREF="terminal_interface-curses__ads.htm#59_9">Window</A> := Standard_Window; <FONT COLOR=red><A NAME="530_7">Line</A></FONT> : <b>in</b> <A HREF="terminal_interface-curses__ads.htm#60_9">Line_Position</A>; <FONT COLOR=red><A NAME="531_7">Column</A></FONT> : <b>in</b> <A HREF="terminal_interface-curses__ads.htm#351_9">Column_Position</A>; Ch : <b>in</b> Attributed_Character); <FONT COLOR=green><EM>-- AKA: <A HREF="../man/curs_addch.3x.html">mvwaddch()</A></EM></FONT> <FONT COLOR=green><EM>-- AKA: mvaddch()</EM></FONT> <b>procedure</b> Add (<FONT COLOR=red><A NAME="537_7">Win</A></FONT> : <b>in</b> <A HREF="terminal_interface-curses__ads.htm#59_9">Window</A> := Standard_Window; <FONT COLOR=red><A NAME="538_7">Line</A></FONT> : <b>in</b> <A HREF="terminal_interface-curses__ads.htm#60_9">Line_Position</A>; <FONT COLOR=red><A NAME="539_7">Column</A></FONT> : <b>in</b> Column_Position; Ch : <b>in</b> Character); <FONT COLOR=green><EM>-- Move to the position and add a single character into the window</EM></FONT> <FONT COLOR=green><EM>-- There are more Add routines, so the Inline pragma follows later</EM></FONT> <FONT COLOR=green><EM>-- #1A NAME="AFU_9"#2|</EM></FONT> <b>procedure</b> Add_With_Immediate_Echo (<FONT COLOR=red><A NAME="546_7">Win</A></FONT> : <b>in</b> <A HREF="terminal_interface-curses__ads.htm#351_9">Window</A> := Standard_Window; Ch : <b>in</b> Attributed_Character); <FONT COLOR=green><EM>-- AKA: <A HREF="../man/curs_addch.3x.html">wechochar()</A></EM></FONT> <FONT COLOR=green><EM>-- AKA: echochar()</EM></FONT> <b>procedure</b> Add_With_Immediate_Echo (<FONT COLOR=red><A NAME="552_7">Win</A></FONT> : <b>in</b> Window := Standard_Window; Ch : <b>in</b> Character); <FONT COLOR=green><EM>-- Add a character and do an immediate refresh of the screen.</EM></FONT> <b>pragma</b> Inline (Add_With_Immediate_Echo); <FONT COLOR=green><EM>-- |=====================================================================</EM></FONT> <FONT COLOR=green><EM>-- | Man page <A HREF="../man/curs_window.3x.html">curs_window.3x</A></EM></FONT> <FONT COLOR=green><EM>-- |=====================================================================</EM></FONT> <FONT COLOR=green><EM>-- Not Implemented: wcursyncup</EM></FONT> <FONT COLOR=green><EM>-- #1A NAME="AFU_10"#2|</EM></FONT> <b>function</b> Create (<FONT COLOR=red><A NAME="564_7">Number_Of_Lines</A></FONT> : <A HREF="terminal_interface-curses__ads.htm#64_12">Line_Count</A>; <FONT COLOR=red><A NAME="565_7">Number_Of_Columns</A></FONT> : <A HREF="terminal_interface-curses__ads.htm#59_9">Column_Count</A>; <FONT COLOR=red><A NAME="566_7">First_Line_Position</A></FONT> : <A HREF="terminal_interface-curses__ads.htm#60_9">Line_Position</A>; First_Column_Position : Column_Position) <b>return</b> Window; <FONT COLOR=green><EM>-- Not Implemented: Default Number_Of_Lines, Number_Of_Columns</EM></FONT> <FONT COLOR=green><EM>-- the C version lets them be 0, see the man page.</EM></FONT> <FONT COLOR=green><EM>-- AKA: <A HREF="../man/curs_window.3x.html">newwin()</A></EM></FONT> <b>pragma</b> Inline (Create); <b>function</b> New_Window (<FONT COLOR=red><A NAME="574_7">Number_Of_Lines</A></FONT> : <A HREF="terminal_interface-curses__ads.htm#64_12">Line_Count</A>; <FONT COLOR=red><A NAME="575_7">Number_Of_Columns</A></FONT> : <A HREF="terminal_interface-curses__ads.htm#59_9">Column_Count</A>; <FONT COLOR=red><A NAME="576_7">First_Line_Position</A></FONT> : <A HREF="terminal_interface-curses__ads.htm#60_9">Line_Position</A>; First_Column_Position : Column_Position) <b>return</b> Window <b>renames</b> Create; <b>pragma</b> Inline (New_Window); <FONT COLOR=green><EM>-- #1A NAME="AFU_11"#2|</EM></FONT> <b>procedure</b> Delete (Win : <b>in</b> <b>out</b> Window); <FONT COLOR=green><EM>-- AKA: <A HREF="../man/curs_window.3x.html">delwin()</A></EM></FONT> <FONT COLOR=green><EM>-- Reset Win to Null_Window</EM></FONT> <b>pragma</b> Inline (Delete); <FONT COLOR=green><EM>-- #1A NAME="AFU_12"#2|</EM></FONT> <b>function</b> Sub_Window (<FONT COLOR=red><A NAME="589_7">Win</A></FONT> : <A HREF="terminal_interface-curses__ads.htm#62_12">Window</A> := Standard_Window; <FONT COLOR=red><A NAME="590_7">Number_Of_Lines</A></FONT> : <A HREF="terminal_interface-curses__ads.htm#64_12">Line_Count</A>; <FONT COLOR=red><A NAME="591_7">Number_Of_Columns</A></FONT> : <A HREF="terminal_interface-curses__ads.htm#59_9">Column_Count</A>; <FONT COLOR=red><A NAME="592_7">First_Line_Position</A></FONT> : <A HREF="terminal_interface-curses__ads.htm#60_9">Line_Position</A>; First_Column_Position : Column_Position) <b>return</b> Window; <FONT COLOR=green><EM>-- AKA: <A HREF="../man/curs_window.3x.html">subwin()</A></EM></FONT> <b>pragma</b> Inline (Sub_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -