25 #ifndef __NMV_HEX_EDITOR_H__
26 #define __NMV_HEX_EDITOR_H__
43 NEMIVER_BEGIN_NAMESPACE (
nemiver)
44 NEMIVER_BEGIN_NAMESPACE (Hex)
59 void set_cursor (
int);
60 void set_cursor_xy (
int,
int);
61 void set_nibble (
int);
64 guchar get_byte (guint);
66 void set_group_type (guint);
68 void set_starting_offset (
int a_starting_offset);
69 void show_offsets (
bool show=
true);
70 void set_font (
const Pango::FontDescription& a_desc);
72 void set_insert_mode (
bool);
74 void set_geometry (
int cpl,
int vis_lines);
75 void get_geometry (
int& cpl,
int& vis_lines)
const;
77 void copy_to_clipboard ();
78 void cut_to_clipboard ();
79 void paste_from_clipboard ();
81 void set_selection (
int start,
int end);
82 bool get_selection (
int& start,
int& end);
83 void clear_selection ();
84 void delete_selection ();
86 virtual Gtk::Container& get_widget ()
const;
89 NEMIVER_END_NAMESPACE (Hex)
91 #endif //__NMV_HEX_EDITOR_H__