/* * Copyright (c) 1991 David A. Curry * Copyright (c) 1996 Michael J. Hammel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * plaid.h - private definitions for the plaid widget. * */ #ifndef _plaid_h #define _plaid_h #include #include "template.h" /* * The plaid part of the class record is not used. */ typedef struct { int empty; } PlaidClassPart; /* * Declare the class record for the widget. */ typedef struct _PlaidClassRec { CoreClassPart core_class; PlaidClassPart plaid_class; } PlaidClassRec; /* * Declare the plaid class record type. */ extern PlaidClassRec plaidClassRec; /* * Resources specific to the plaid widget. */ typedef struct { Pixel foreground; XtCallbackList lower_callback; XtCallbackList raise_callback; } PlaidPart; /* * Declare the widget type. */ typedef struct _PlaidRec { CorePart core; PlaidPart plaid; } PlaidRec; #endif /* _plaid_h */