]> git.llucax.com Git - z.facultad/75.52/treemulator.git/blob - viewer/view_properties.h
Test del orto :S
[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                 std::string ToRaw (BTreeData *);
16
17                 Gtk::Table table;
18                 Gtk::HBox hbox;
19                 Gtk::TextView raw_view;
20
21                 /* Node Info */
22                 Gtk::Label node_num;
23                 Gtk::Label node_level;
24                 Gtk::Label node_items;
25                 Gtk::Label node_freespace;
26                 Gtk::Label lnode_num;
27                 Gtk::Label lnode_level;
28                 Gtk::Label lnode_items;
29                 Gtk::Label lnode_freespace;
30                 
31                 /* BTreeData Into */
32                 Gtk::Label data_type;
33                 Gtk::Label data_key;
34                 Gtk::Label data_child;
35                 Gtk::Label ldata_type;
36                 Gtk::Label ldata_key;
37                 Gtk::Label ldata_child;
38 };
39
40 #endif
41