]> git.llucax.com Git - z.facultad/75.52/treemulator.git/blob - viewer/view_properties.h
Muevo el canvas a 0,0 luego.
[z.facultad/75.52/treemulator.git] / viewer / view_properties.h
1
2 #ifndef _VIEW_PROPERTIES_H_
3 #define _VIEW_PROPERTIES_H_
4
5 #include <gtkmm.h>
6 #include "btree.h"
7 #include "btree_data.h"
8
9 class ViewProperties:public Gtk::Frame {
10         public:
11                 ViewProperties ();
12
13                 void ShowItem (BTreeData *, BTreeNodeHeader &header);
14         private:
15                 Gtk::Table table;
16
17                 /* Node Info */
18                 Gtk::Label node_num;
19                 Gtk::Label node_level;
20                 Gtk::Label node_items;
21                 Gtk::Label node_freespace;
22                 Gtk::Label lnode_num;
23                 Gtk::Label lnode_level;
24                 Gtk::Label lnode_items;
25                 Gtk::Label lnode_freespace;
26                 
27                 /* BTreeData Into */
28                 Gtk::Label data_type;
29                 Gtk::Label data_key;
30                 Gtk::Label data_child;
31                 Gtk::Label ldata_type;
32                 Gtk::Label ldata_key;
33                 Gtk::Label ldata_child;
34 };
35
36 #endif
37