Google

CHAPTER 5 - STANDARD LAYOUT PARAMETERS

5.1 INTRODUCTION

A few parameters recommended for general use in the layout of view-objects are defined in the xdl_view.h header file. These are as follows:
BORDER_WIDTH

Minimum left/right border width for normal use. This is for the border between the top level window (frame or base frame) of a view object and windows (e.g. paint windows) laid out within it. It is also used as an offset for the left hand side of an active strip.

BORDER_HEIGHT

Minimum top/bottom border height for normal use. This is for the border between the top level window (frame or base frame) of a view object and windows (e.g. paint windows) laid out within it. It is also used as an offset for the top of an active strip.

ACT_STRIP_HEIGHT

This is the total height required from the top of a window containing an active strip to the bottom of the strip. The next window below the active strip should normally start at a y value of BORDER_HEIGHT + ACT_STRIP_HEIGHT.



John W. Campbell
CCLRC Daresbury Laboratory
Last update 4 Feb 1998