NestWimp 2.18 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
/* Copyright 1997 Acorn Computers Ltd
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
15 16 17 18 19 20 21 22 23 24
/***************************************************/
/* File   : NestWimp.h                             */
/*                                                 */
/* Purpose: Definitions to use the new features of */
/*          the nested Wimp.                       */
/*                                                 */
/* Author : A.D.Hodgkinson                         */
/*                                                 */
/* History: 21-Feb-97: Created.                    */
/***************************************************/
25 26 27 28 29 30 31

/* Extensions to Wimp_OpenWindow */

#define OpenWindow_FlushPendingOpens       (NULL)

/* Alignment flags for Wimp_OpenWindow */

32
#define Alignment_NewFlagsGiven            (1u<<0)
33 34

#define Alignment_LeftEdge_WorkArea        (0)
35 36
#define Alignment_LeftEdge_LeftVisible     (1u<<16)
#define Alignment_LeftEdge_RightVisible    (2u<<16)
37 38

#define Alignment_BottomEdge_WorkArea      (0)
39 40
#define Alignment_BottomEdge_BottomVisible (1u<<18)
#define Alignment_BottomEdge_TopVisible    (2u<<18)
41 42

#define Alignment_RightEdge_WorkArea       (0)
43 44
#define Alignment_RightEdge_LeftVisible    (1u<<20)
#define Alignment_RightEdge_RightVisible   (2u<<20)
45 46

#define Alignment_TopEdge_WorkArea         (0)
47 48
#define Alignment_TopEdge_BottomVisible    (1u<<22)
#define Alignment_TopEdge_TopVisible       (2u<<22)
49 50

#define Alignment_XScroll_WorkArea         (0)
51 52
#define Alignment_XScroll_LeftVisible      (1u<<24)
#define Alignment_XScroll_RightVisible     (2u<<24)
53 54

#define Alignment_YScroll_WorkArea         (0)
55 56
#define Alignment_YScroll_BottomVisible    (1u<<26)
#define Alignment_YScroll_TopVisible       (2u<<26)