1 /* the rhs of a tallyrow ... group together everything to the right of the 2 * button 3 */ 4 5 /* 6 7 Copyright (C) 1991-2003 The National Gallery 8 9 This program is free software; you can redistribute it and/or modify 10 it under the terms of the GNU General Public License as published by 11 the Free Software Foundation; either version 2 of the License, or 12 (at your option) any later version. 13 14 This program is distributed in the hope that it will be useful, 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 GNU General Public License for more details. 18 19 You should have received a copy of the GNU General Public License along 20 with this program; if not, write to the Free Software Foundation, Inc., 21 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 22 23 */ 24 25 /* 26 27 These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk 28 29 */ 30 31 #define TYPE_RHSVIEW (rhsview_get_type()) 32 #define RHSVIEW( obj ) (GTK_CHECK_CAST( (obj), TYPE_RHSVIEW, Rhsview )) 33 #define RHSVIEW_CLASS( klass ) \ 34 (GTK_CHECK_CLASS_CAST( (klass), TYPE_RHSVIEW, RhsviewClass )) 35 #define IS_RHSVIEW( obj ) (GTK_CHECK_TYPE( (obj), TYPE_RHSVIEW )) 36 #define IS_RHSVIEW_CLASS( klass ) \ 37 (GTK_CHECK_CLASS_TYPE( (klass), TYPE_RHSVIEW )) 38 39 struct _Rhsview { 40 View item; 41 42 Rowview *rview; 43 44 View *graphic; /* Our three elements */ 45 View *scol; 46 View *itext; 47 48 GtkWidget *table; /* Lay out elements in this */ 49 RhsFlags flags; /* Last vis set we set */ 50 }; 51 52 typedef struct _RhsviewClass { 53 ViewClass parent_class; 54 55 /* My methods. 56 */ 57 } RhsviewClass; 58 59 GtkType rhsview_get_type( void ); 60 View *rhsview_new( void ); 61