-- -*- ada -*-
-define(`HTMLNAME',`terminal_interface-curses-panels_s.html')dnl
+define(`HTMLNAME',`terminal_interface-curses-panels__ads.htm')dnl
include(M4MACRO)dnl
------------------------------------------------------------------------------
-- --
-- S P E C --
-- --
------------------------------------------------------------------------------
--- Copyright (c) 1998 Free Software Foundation, Inc. --
+-- Copyright (c) 1998-2009,2014 Free Software Foundation, Inc. --
-- --
-- Permission is hereby granted, free of charge, to any person obtaining a --
-- copy of this software and associated documentation files (the --
-- sale, use or other dealings in this Software without prior written --
-- authorization. --
------------------------------------------------------------------------------
--- Author: Juergen Pfeifer <Juergen.Pfeifer@T-Online.de> 1996
+-- Author: Juergen Pfeifer, 1996
-- Version Control:
--- $Revision: 1.7 $
--- Binding Version 00.93
+-- $Revision: 1.22 $
+-- $Date: 2014/05/24 21:31:57 $
+-- Binding Version 01.00
------------------------------------------------------------------------------
with System;
package Terminal_Interface.Curses.Panels is
- pragma Preelaborate (Panels);
-include(`Panel_Linker_Options')
+ pragma Preelaborate (Terminal_Interface.Curses.Panels);
+ pragma Linker_Options ("-lpanel" & Curses_Constants.DFT_ARG_SUFFIX);
type Panel is private;
-- ANCHOR(`new_panel()',`New_Panel')
function New_Panel (Win : Window) return Panel renames Create;
-- AKA
- pragma Inline (New_Panel);
+ -- pragma Inline (New_Panel);
-- ANCHOR(`bottom_panel()',`Bottom')
- procedure Bottom (Pan : in Panel);
+ procedure Bottom (Pan : Panel);
-- AKA
pragma Inline (Bottom);
-- ANCHOR(`top_panel()',`Top')
- procedure Top (Pan : in Panel);
+ procedure Top (Pan : Panel);
-- AKA
pragma Inline (Top);
-- ANCHOR(`show_panel()',`Show')
- procedure Show (Pan : in Panel);
+ procedure Show (Pan : Panel);
-- AKA
pragma Inline (Show);
pragma Import (C, Update_Panels, "update_panels");
-- ANCHOR(`hide_panel()',`Hide')
- procedure Hide (Pan : in Panel);
+ procedure Hide (Pan : Panel);
-- AKA
pragma Inline (Hide);
-- ANCHOR(`panel_window()',`Panel_Window')
function Panel_Window (Pan : Panel) return Window renames Get_Window;
- pragma Inline (Panel_Window);
+ -- pragma Inline (Panel_Window);
-- ANCHOR(`replace_panel()',`Replace')
- procedure Replace (Pan : in Panel;
- Win : in Window);
+ procedure Replace (Pan : Panel;
+ Win : Window);
-- AKA
pragma Inline (Replace);
-- ANCHOR(`move_panel()',`Move')
- procedure Move (Pan : in Panel;
- Line : in Line_Position;
- Column : in Column_Position);
+ procedure Move (Pan : Panel;
+ Line : Line_Position;
+ Column : Column_Position);
-- AKA
pragma Inline (Move);
-- AKA
pragma Inline (Delete);
- private
- type Panel is new System.Address;
- Null_Panel : constant Panel := Panel (System.Null_Address);
+private
+ type Panel is new System.Storage_Elements.Integer_Address;
+ Null_Panel : constant Panel := 0;
end Terminal_Interface.Curses.Panels;