Programming guideline of WinDom
- NAME
-
WindCalc - window coordinates computation.
- PROTOTYPAGE
-
int WindCalc( int type, WINDOW *win,
int x_in, int y_in, int w_in, int h_in,
INT16 *xout, INT16 *yout, INT16 *wout, INT16 *hout);
- PARAMETERS
-
- type:
-
- WC_BORDER (0):
- convert work area coodinate in
window real coordinates,
- WC_WORK (1):
- inverse operation of WC_BORDER.
- win:
- window descriptor,
- x_in, y_in, w_in, h_in:
- input coordinates,
- xout, yout, wout, hout:
- output coordinates,
- return:
- a null value if error.
- DESCRIPTION
-
This function is the wind_calc() WinDom equivalent. It takes
in account the optional menu or toolbar of the window.
- SEE ALSO
-
wind_calc().