class PhDim { h; // short w; // short }
This class defines the dimensions of an area by height (h) and width (w). The units of measure are pixels.
The only reliable way to set or change the dim, pos, and area variables of widgets (not other classes) is with SetDim, SetPos and SetArea variables of PtWidget. Attempting to change these variables or their sub-components without using these methods will lead to unpredictable results in your program. |
Also see PhDim in the Photon documentation.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.