4 * [Generated from pane, 25 September 1996]
7 #if !defined(__CC_NORCROFT) || !defined(__arm)
8 #error You must use the Norcroft ARM Compiler for Sapphire programs
11 #pragma include_only_once
12 #pragma force_top_level
21 /*----- Overview ----------------------------------------------------------*
36 * On entry: R0 == window handle of parent window
37 * R1 == icon handle in parent window
38 * R2 == window handle of pane window
40 * On exit: May return an error
42 * Use: This call registers a pane to be associated with the given
43 * window. The pane is always opened to fit exactly within
44 * the given icon -- border widths are taken into account
45 * if there are scroll bars etc.
47 * You must call pane_closed if the parent window is closed,
48 * since there is no way for pane to trap this occurence.
51 extern routine pane_add;
53 /* --- pane_remove --- *
55 * On entry: R0 == window handle for which pane was registered
56 * R1 == window handle of the pane window itself
60 * Use: Removes the pane from the given window. This call will
61 * close the given pane, but will not actually delete it
62 * (ie. with a Wimp_DeleteWindow).
65 extern routine pane_remove;
67 /* --- pane_closed --- *
69 * On entry: R0 == window handle of parent
73 * Use: Informs pane that a parent window has closed.
74 * All associated panes are then closed.
77 extern routine pane_closed;
79 /* --- pane_deleted --- *
81 * On entry: R0 == window handle of parent
85 * Use: Informs pane that a parent window has been deleted.
86 * All associated panes are then closed, and there
87 * registration with the pane library module is
91 extern routine pane_deleted;
93 /* --- pane_swap --- *
95 * On entry: R0 == window handle of parent window
96 * R1 == icon handle within parent window
97 * R2 == window handle of new pane
101 * Use: This call will replace the pane in associated with icon R1
102 * in window R0, with the pane in R2.
104 * The exisiting pane is closed, and the new pane is
105 * opened in it's place. No error is generated if the existing
106 * pane does not exist; this allows the caller to delete the
107 * window before doing the swap.
110 extern routine pane_swap;
112 /* --- pane_open --- *
114 * On entry: R0 == window handle
118 * Use: Opens all the panes associated with the given window.
121 extern routine pane_open;
123 /* --- pane_init --- *
129 * Use: Initialises the pane unit.
132 extern routine pane_init;
134 /*----- That's all, folks -------------------------------------------------*/