Definition in file data_interpretor.h.
Go to the source code of this file.
Defines | |
#define | H_DI_DISPLAYED FALSE |
#define | H_DI_BIG_ENDIAN 2 |
Stands for big endian representation. | |
#define | H_DI_MIDDLE_ENDIAN 4 |
Stands for middle endian representation (http://en.wikipedia.org/wiki/Endianness#Middle-endian). | |
#define | H_DI_LITTLE_ENDIAN 8 |
Stands for little endian representation (this is the default). | |
Functions | |
void | data_interpretor_init_interface (heraia_window_t *main_window) |
Inits the data interpretor structure and window with default values. | |
void | refresh_data_interpretor_window (GtkWidget *hexwidget, gpointer data) |
Refreshes the data interpretor window with the new values. |
#define H_DI_BIG_ENDIAN 2 |
Stands for big endian representation.
Definition at line 53 of file data_interpretor.h.
Referenced by change_endianness(), and which_endianness().
#define H_DI_DISPLAYED FALSE |
Definition at line 50 of file data_interpretor.h.
Referenced by init_window_property_struct().
#define H_DI_LITTLE_ENDIAN 8 |
Stands for little endian representation (this is the default).
Definition at line 55 of file data_interpretor.h.
Referenced by refresh_hex_datas_entry(), and which_endianness().
#define H_DI_MIDDLE_ENDIAN 4 |
Stands for middle endian representation (http://en.wikipedia.org/wiki/Endianness#Middle-endian).
Definition at line 54 of file data_interpretor.h.
Referenced by change_endianness(), and which_endianness().
void data_interpretor_init_interface | ( | heraia_window_t * | main_window | ) |
Inits the data interpretor structure and window with default values.
Definition at line 268 of file data_interpretor.c.
References connect_data_interpretor_signals(), heraia_window_t::current_DW, data_window_t::diw, heraia_get_widget(), xml_t::main, data_window_t::tab_displayed, and heraia_window_t::xmls.
Referenced by load_heraia_ui().
void refresh_data_interpretor_window | ( | GtkWidget * | widget, | |
gpointer | data | |||
) |
Refreshes the data interpretor window with the new values.
widget | : the widget caller (may be NULL here) | |
data | : a gpointer to the main structure : main_window, this must NOT be NULL ! |
< data interpretor window structure
< Endianness is computed only once here
Definition at line 202 of file data_interpretor.c.
References heraia_window_t::current_DW, decode_16bits_signed(), decode_16bits_unsigned(), decode_32bits_signed(), decode_32bits_unsigned(), decode_64bits_signed(), decode_64bits_unsigned(), decode_8bits_signed(), decode_8bits_unsigned(), decode_C_date(), decode_dos_date(), decode_filetime_date(), decode_HFS_date(), decode_packed_BCD(), decode_to_bits(), window_prop_t::displayed, interpret_as_date(), interpret_as_number(), all_window_prop_t::main_dialog, refresh_all_ud_data_interpretor(), which_endianness(), and heraia_window_t::win_prop.
Referenced by connect_data_interpretor_signals(), on_DIMenu_activate(), and refresh_event_handler().