1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
3 * Copyright (C) Massimo Cora' 2005 <maxcvs@email.it>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Library General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #ifndef _CLASS_INHERIT_H
21 #define _CLASS_INHERIT_H
27 #define NODE_FONT_DEFAULT "-*-clean-medium-r-normal-*-10-*-*-*-*-*-*"
28 #define NODE_HALF_DISPLAY_ELEM_NUM 10
29 #define NODE_SHOW_ALL_MEMBERS_STR N_("Show all members...")
30 #define NODE_SHOW_NORMAL_VIEW_STR N_("Normal view")
32 typedef struct _NodeData
{
33 GnomeCanvasItem
*canvas_item
; /* item itself */
34 gchar
*name
; /* the name of the class */
35 gchar
*sub_item
; /* case of an expanded node */
36 gboolean anchored
; /* should it be anchored [e.g. paint all the
40 AnjutaClassInheritance
*plugin
;
43 typedef struct _NodeExpansionStatus
{
45 gint expansion_status
;
46 } NodeExpansionStatus
;
56 void class_inheritance_base_gui_init (AnjutaClassInheritance
*plugin
);
57 void class_inheritance_update_graph (AnjutaClassInheritance
*plugin
);
58 void class_inheritance_clean_canvas (AnjutaClassInheritance
*plugin
);
59 void class_inheritance_show_dynamic_class_popup_menu (GdkEvent
*event
,
61 void class_inheritance_hash_table_clear (AnjutaClassInheritance
*plugin
);
65 #endif /* _CLASS_INHERIT_H */