X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fada%2Fterminal_interface-curses-panels__adb.htm;h=c9a6e7cc6e9e0655821791f80abf68081c8427b3;hp=819ad63bae033ca329422991804860819d3479e5;hb=a90dd7b66fa711acd24d8181ea20e4f57d4b36cd;hpb=761e4f0825b330e970558e82a4bd638383914429
diff --git a/doc/html/ada/terminal_interface-curses-panels__adb.htm b/doc/html/ada/terminal_interface-curses-panels__adb.htm
index 819ad63b..c9a6e7cc 100644
--- a/doc/html/ada/terminal_interface-curses-panels__adb.htm
+++ b/doc/html/ada/terminal_interface-curses-panels__adb.htm
@@ -24,7 +24,8 @@
-
+
+
@@ -52,132 +53,132 @@
-
-
+
+
-with Terminal_Interface.Curses.Aux; use Terminal_Interface.Curses.Aux;
-with Interfaces.C;
+with Terminal_Interface.Curses.Aux; use Terminal_Interface.Curses.Aux;
+with Interfaces.C;
-package body Terminal_Interface.Curses.Panels is
+package body Terminal_Interface.Curses.Panels is
- use type Interfaces.C.int;
+ use type Interfaces.C.int;
- function Create (Win : Window) return Panel
+ function Create (Win : Window) return Panel
is
- function Newpanel (Win : Window) return Panel;
+ function Newpanel (Win : Window) return Panel;
pragma Import (C, Newpanel, "new_panel");
- Pan : Panel;
+ Pan : Panel;
begin
- Pan := Newpanel (Win);
- if Pan = Null_Panel then
+ Pan := Newpanel (Win);
+ if Pan = Null_Panel then
raise Panel_Exception;
end if;
- return Pan;
+ return Pan;
end Create;
- procedure Bottom (Pan : Panel)
+ procedure Bottom (Pan : Panel)
is
- function Bottompanel (Pan : Panel) return C_Int;
+ function Bottompanel (Pan : Panel) return C_Int;
pragma Import (C, Bottompanel, "bottom_panel");
begin
- if Bottompanel (Pan) = Curses_Err then
+ if Bottompanel (Pan) = Curses_Err then
raise Panel_Exception;
end if;
end Bottom;
- procedure Top (Pan : Panel)
+ procedure Top (Pan : Panel)
is
- function Toppanel (Pan : Panel) return C_Int;
+ function Toppanel (Pan : Panel) return C_Int;
pragma Import (C, Toppanel, "top_panel");
begin
- if Toppanel (Pan) = Curses_Err then
+ if Toppanel (Pan) = Curses_Err then
raise Panel_Exception;
end if;
end Top;
- procedure Show (Pan : Panel)
+ procedure Show (Pan : Panel)
is
- function Showpanel (Pan : Panel) return C_Int;
+ function Showpanel (Pan : Panel) return C_Int;
pragma Import (C, Showpanel, "show_panel");
begin
- if Showpanel (Pan) = Curses_Err then
+ if Showpanel (Pan) = Curses_Err then
raise Panel_Exception;
end if;
end Show;
- procedure Hide (Pan : Panel)
+ procedure Hide (Pan : Panel)
is
- function Hidepanel (Pan : Panel) return C_Int;
+ function Hidepanel (Pan : Panel) return C_Int;
pragma Import (C, Hidepanel, "hide_panel");
begin
- if Hidepanel (Pan) = Curses_Err then
+ if Hidepanel (Pan) = Curses_Err then
raise Panel_Exception;
end if;
end Hide;
- function Get_Window (Pan : Panel) return Window
+ function Get_Window (Pan : Panel) return Window
is
- function Panel_Win (Pan : Panel) return Window;
+ function Panel_Win (Pan : Panel) return Window;
pragma Import (C, Panel_Win, "panel_window");
- Win : constant Window := Panel_Win (Pan);
+ Win : constant Window := Panel_Win (Pan);
begin
- if Win = Null_Window then
+ if Win = Null_Window then
raise Panel_Exception;
end if;
- return Win;
+ return Win;
end Get_Window;
- procedure Replace (Pan : Panel;
- Win : Window)
+ procedure Replace (Pan : Panel;
+ Win : Window)
is
- function Replace_Pan (Pan : Panel;
- Win : Window) return C_Int;
+ function Replace_Pan (Pan : Panel;
+ Win : Window) return C_Int;
pragma Import (C, Replace_Pan, "replace_panel");
begin
- if Replace_Pan (Pan, Win) = Curses_Err then
+ if Replace_Pan (Pan, Win) = Curses_Err then
raise Panel_Exception;
end if;
end Replace;
- procedure Move (Pan : Panel;
- Line : Line_Position;
- Column : Column_Position)
+ procedure Move (Pan : Panel;
+ Line : Line_Position;
+ Column : Column_Position)
is
- function Move (Pan : Panel;
- Line : C_Int;
- Column : C_Int) return C_Int;
+ function Move (Pan : Panel;
+ Line : C_Int;
+ Column : C_Int) return C_Int;
pragma Import (C, Move, "move_panel");
begin
- if Move (Pan, C_Int (Line), C_Int (Column)) = Curses_Err then
+ if Move (Pan, C_Int (Line), C_Int (Column)) = Curses_Err then
raise Panel_Exception;
end if;
end Move;
- function Is_Hidden (Pan : Panel) return Boolean
+ function Is_Hidden (Pan : Panel) return Boolean
is
- function Panel_Hidden (Pan : Panel) return C_Int;
+ function Panel_Hidden (Pan : Panel) return C_Int;
pragma Import (C, Panel_Hidden, "panel_hidden");
begin
- if Panel_Hidden (Pan) = Curses_False then
+ if Panel_Hidden (Pan) = Curses_False then
return False;
else
return True;
end if;
end Is_Hidden;
- procedure Delete (Pan : in out Panel)
+ procedure Delete (Pan : in out Panel)
is
- function Del_Panel (Pan : Panel) return C_Int;
+ function Del_Panel (Pan : Panel) return C_Int;
pragma Import (C, Del_Panel, "del_panel");
begin
- if Del_Panel (Pan) = Curses_Err then
+ if Del_Panel (Pan) = Curses_Err then
raise Panel_Exception;
end if;
Pan := Null_Panel;
end Delete;
-end Terminal_Interface.Curses.Panels;
+end Terminal_Interface.Curses.Panels;