1 /* -*- Mode: C++-C -*- 2 * 3 * Copyright 1994 Christopher B. Liebman 4 * 5 * Permission to use, copy, modify, distribute, and sell this software 6 * and its documentation for any purpose is hereby granted without fee, 7 * provided that the above copyright notice appear in all copies and that 8 * both that copyright notice and this permission notice appear in 9 * supporting documentation, and that the name Christopher B. Liebman not 10 * be used in advertising or publicity pertaining to distribution of this 11 * software without specific, written prior permission. 12 * 13 * THIS SOFTWARE IS PROVIDED `AS-IS'. CHRISTOPHER B. LIEBMAN, DISCLAIMS 14 * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING WITHOUT 15 * LIMITATION ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 16 * PARTICULAR PURPOSE, OR NONINFRINGEMENT. IN NO EVENT SHALL CHRISTOPHER 17 * B. LIEBMAN, BE LIABLE FOR ANY DAMAGES WHATSOEVER, INCLUDING SPECIAL, 18 * INCIDENTAL OR CONSEQUENTIAL DAMAGES, INCLUDING LOSS OF USE, DATA, OR 19 * PROFITS, EVEN IF ADVISED OF THE POSSIBILITY THEREOF, AND REGARDLESS OF 20 * WHETHER IN AN ACTION IN CONTRACT, TORT OR NEGLIGENCE, ARISING OUT OF 21 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 22 * 23 * Author : Chris Liebman 24 * Created On : 25 * Last Modified By: Chris Liebman 26 * Last Modified On: 27 * Update Count : 0 28 * Status : Released 29 * 30 * HISTORY 31 * 32 * PURPOSE 33 * Simple tiled layout widget 34 * 35 * $Id: Tiled.h,v 1.2 1994/02/08 18:59:37 liebman Exp $ 36 */ 37 38 #ifndef Tiled_h_ 39 #define Tiled_h_ 40 41 /* 42 * Tiled Widget 43 */ 44 45 #include <X11/Intrinsic.h> 46 #include <X11/Composite.h> 47 48 #define XtNhorizSpacing "horizSpacing" 49 #define XtNvertSpacing "vertSpacing" 50 #define XtNtileWidth "tileWidth" 51 #define XtNtileHeight "tileHeight" 52 #define XtNsetWidth "setWidth" 53 #define XtNsetHeight "setHeight" 54 #define XtNminWidth "minWidth" 55 #define XtNminHeight "minHeight" 56 #define XtNmaxWidth "maxWidth" 57 #define XtNmaxHeight "maxHeight" 58 #define XtNlayout "layout" 59 60 #define XtCLayout "Layout" 61 62 /* Class record constants */ 63 64 extern WidgetClass tiledWidgetClass; 65 66 typedef struct _TiledClassRec *TiledWidgetClass; 67 typedef struct _TiledRec *TiledWidget; 68 69 #endif /* Tiled_h_ */ 70