Xaw3_1Label.c revision 749
474N/A/*********************************************************** 474N/ACopyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts, 919N/Aand the Massachusetts Institute of Technology, Cambridge, Massachusetts. 919N/APermission to use, copy, modify, and distribute this software and its 919N/Adocumentation for any purpose and without fee is hereby granted, 919N/Aprovided that the above copyright notice appear in all copies and that 919N/Aboth that copyright notice and this permission notice appear in 919N/Asupporting documentation, and that the names of Digital or MIT not be 919N/Aused in advertising or publicity pertaining to distribution of the 919N/Asoftware without specific, written prior permission. 919N/ADIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 919N/AALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL 919N/ADIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR 919N/AANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 919N/AWHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 474N/AARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 474N/A******************************************************************/ 474N/A/**************************************************************** * Full class record constant ****************************************************************/ /* class_name */ "Label",
/* class_part_initialize */ NULL,
/* class_inited */ FALSE,
/* initialize_hook */ NULL,
/* compress_motion */ TRUE,
/* compress_exposure */ TRUE,
/* compress_enterleave */ TRUE,
/* visible_interest */ FALSE,
/* set_values_hook */ NULL,
/* get_values_hook */ NULL,
/* callback_private */ NULL,
/* Simple class fields initialization */ /**************************************************************** ****************************************************************/ * Calculate width and height of displayed text in pixels * Repaint the widget window * Set specified arguments into widget /* recalculate the window size if something has changed. */ /* Resize() will be called if geometry changes succeed */